/* --------------------------------------------------
   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;
}

/* --------------------------------------------------
   Labels
-------------------------------------------------- */
.label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    color: #cfcfcf;
}

/* --------------------------------------------------
   File Input
-------------------------------------------------- */
.file-input {
    width: 100%;
    padding: 14px;
    background: #121214;
    color: #ccc;
    border: 1px solid #2a2a2f;
    border-radius: 10px;
    margin-bottom: 16px;   /* reduced for balance */
    cursor: pointer;
}

/* --------------------------------------------------
   Buttons (FIXED SPACING)
-------------------------------------------------- */
.btn {
    width: 100%;
    padding: 14px;
    margin: 14px 0;   /* perfect equal space top & bottom */
    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);
}

/* --------------------------------------------------
   Text Output Area
-------------------------------------------------- */
.big-input {
    width: 100%;
    height: 280px;
    background: #121214;
    color: #fff;
    border: 1px solid #2a2a2f;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    resize: vertical;
    margin-top: 14px;   /* matched to button spacing */
    white-space: pre-wrap;
}

/* --------------------------------------------------
   Signature Badge (Professional + Italic)
-------------------------------------------------- */
.signature {
    position: fixed;
    bottom: 18px;
    right: 22px;

    font-size: 15px;
    font-weight: 500;
    font-style: italic;          /* << added */
    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);
}

/* -------------------------
   Toast Notification
------------------------- */
.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: rgba(34, 197, 94, 0.25);
    color: #22c55e;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.35);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
    pointer-events: none;
    z-index: 99999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}
