﻿/* =========================
   GLOBAL / TŁO STRONY
   ========================= */
body {
    font-family: "Inter", "Poppins", system-ui, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: url("/obrazek/karty parkingowe/tlo-karta-parkingowa-gabinet-stomatologiczny-optimized-final.webp") center / cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   KARTA GENERATORA
   ========================= */
#generate-card {
    background: rgba(15, 20, 45, 0.78);
    border-radius: 28px;
    padding: 38px 34px;
    width: 360px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.18), inset 0 0 20px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.32);
    text-align: center;
}

    /* =========================
   NAGŁÓWEK
   ========================= */
    #generate-card h2 {
        font-family: "Playfair Display", serif;
        font-size: 1.8rem;
        margin-bottom: 28px;
        color: #f5e6c8;
        font-weight: normal;
        letter-spacing: 0.04em;
    }

    /* =========================
   FORMULARZ
   ========================= */
    #generate-card form {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    /* =========================
   ETYKIETY
   ========================= */
    #generate-card label {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        color: rgba(245, 230, 200, 0.9);
        text-align: left;
    }

    /* =========================
   POLA INPUT
   ========================= */
    #generate-card input[type="text"],
    #generate-card input[type="date"] {
        background: rgba(255, 255, 255, 0.94);
        border: none;
        border-radius: 16px;
        padding: 14px 16px;
        font-size: 1rem;
        font-family: inherit;
        width: 100%;
        box-sizing: border-box;
        box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.25), 0 6px 14px rgba(0, 0, 0, 0.15);
        transition: all 0.25s ease;
    }

    #generate-card input::placeholder {
        color: rgba(130, 130, 130, 0.75);
    }

    /* focus tylko klawiatura / accessibility */
    #generate-card input:focus-visible {
        outline: none;
        box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.6), 0 0 18px rgba(212, 175, 55, 0.45);
    }

    /* =========================
   PRZYCISK
   ========================= */
    #generate-card button {
        margin-top: 6px;
        padding: 16px;
        font-size: 1.05rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        color: #2a2a2a;
        background: linear-gradient(135deg, #d4af37, #f5e6c8);
        border: none;
        border-radius: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
        transition: all 0.25s ease;
    }

        #generate-card button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.65);
        }

        #generate-card button:active {
            transform: translateY(0);
            box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
        }

    /* =========================
   IKONY
   ========================= */
    #generate-card i {
        font-size: 1.15rem;
    }

/* =========================
   BŁĄD DATY
   ========================= */
#dateError {
    font-size: 0.8rem;
    color: #f4b3b3;
    display: none;
    text-align: left;
}

/* =========================
   STOPKA
   ========================= */
footer {
    position: fixed;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

/* =========================
   NAZWA PRAKTYKI
   ========================= */
.clinic-title {
    position: absolute;
    top: 40px;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.clinic-line-1 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a6fdc;
    opacity: 0.95;
    text-shadow: 1px 1px 0 #2E4FA3, 2px 2px 3px rgba(14, 31, 77, 0.35);
}

.clinic-line-2 {
    margin-top: 6px;
    font-size: 2rem;
    font-weight: normal;
    font-family: "Playfair Display", serif;
    color: #4a6fdc;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #2E4FA3, 2px 2px 3px rgba(31, 60, 136, 0.4);
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 420px) {
    #generate-card {
        width: calc(100% - 32px);
        padding: 30px 26px;
    }

    .clinic-line-2 {
        font-size: 1.7rem;
    }
}
