/* --------------------------------------------------
   Global Dark Theme
-------------------------------------------------- */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
    background-color: #0f0f10;
    color: #eee;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* --------------------------------------------------
   Main Card
-------------------------------------------------- */
.container {
    margin-top: 50px;
    width: 90%;
    max-width: 850px;
    background: #18181b;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.55);
    border: 1px solid #202024;
}

/* --------------------------------------------------
   Page Title
-------------------------------------------------- */
.title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

/* --------------------------------------------------
   Label
-------------------------------------------------- */
.label {
    font-size: 15px;
    margin-bottom: 10px;
    display: block;
    color: #cfcfcf;
}

/* --------------------------------------------------
   Main Input Area
-------------------------------------------------- */
.big-input {
    width: 100%;
    height: 240px;
    background: #121214;
    color: #fff;
    border: 1px solid #2a2a2f;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: 0.2s;
}

.big-input:focus {
    border-color: #4a8bfd;
    box-shadow: 0px 0px 10px rgba(74, 139, 253, 0.55);
}

/* --------------------------------------------------
   Main Button
-------------------------------------------------- */
.btn {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.25s;
    font-weight: 500;
}

.success-btn {
    background: #22c55e;
    color: white;
    box-shadow: 0px 5px 15px rgba(34, 197, 94, 0.25);
}

.success-btn:hover {
    background: #16a34a;
    box-shadow: 0px 6px 18px rgba(34, 197, 94, 0.35);
}

/* Disable Button During Processing */
.btn.disabled {
    opacity: 0.55;
    pointer-events: none;
}

/* --------------------------------------------------
   Hidden Line Fields
-------------------------------------------------- */
.lines-container {
    display: none;
}

.line-label,
.small-input {
    display: none;
}

/* --------------------------------------------------
   Loading Spinner
-------------------------------------------------- */
.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 55px;
    height: 55px;
    margin-left: -27.5px;
    margin-top: -27.5px;
    border: 6px solid rgba(255,255,255,0.15);
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    z-index: 9999;
}

.hidden {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------
   PRO Signature Badge (bottom-right, italic & premium)
-------------------------------------------------- */
.signature {
    position: fixed;
    bottom: 18px;
    right: 22px;

    font-size: 15px;
    font-weight: 500;          /* smoother than bold */
    font-style: italic;        /* << professional italic */
    letter-spacing: 0.4px;

    padding: 8px 20px;
    border-radius: 12px;

    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);

    box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);

    opacity: 0.88;
    user-select: none;
    transition: 0.25s ease;
}

.signature:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.55);
}

