* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: "Segoe UI", Arial, sans-serif;
    background: #0c1d31;
    color: #1f2937;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}



.page {
    width: 100%;
    max-width: 450px;
}

.auth-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: #0e253d;
    border-radius: 4px;
    padding: 32px;
    box-shadow:
        0 8px 30px rgba(0,0,0,0.08);
}

.login-card {
    position: relative;
    text-align: center;
    width: 450px;  
    height: 420px;
}

.login-card h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Saira Extra Bold", sans-serif;
    font-size: 3rem;
    font-weight: 800;
}

@font-face {
    font-family: "Saira-Extra-Bold";
    src: url("https://www.wscaduniverse.com/assets/fonts/saira-v22-latin_latin-ext-800.woff2")
         format("woff2");
    font-weight: 800;
    font-style: normal;
}

.login-card p {
    margin-top: 10px;
    color: #ffffff;
}
.logo-box__link {
    display: block;
    text-align: right;
    margin-bottom: 30px;
}
.logo-img {
    height: 24px;
    width: auto;    
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.card-header h2  {
    margin: 0;
    color: #ffffff;
    font-family: "Saira Extra Bold", sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.user-info {
    color: #6b7280;
    font-size: 14px;
}

.form-group {
    margin-bottom: 24px;
    font-family: "Saira Extra Bold", sans-serif;
    color: #ffffff;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="file"],
input[type="text"] {
    width: 100%;
    padding: 12px 14px;

    border: 1px solid #d1d5db;
    border-radius: 10px;

    font-size: 14px;
    transition: 0.2s;
}

input[type="text"]:focus,
input[type="file"]:focus {
    outline: none;
    border-color: #005ea8;
    box-shadow: 0 0 0 4px rgba(0,94,168,0.15);
}


.file-input-hidden {
    display: none;
}

.file-button {
    display: inline-block;
    text-align: center;
}

#selectedFileName {
    margin-left: 12px;
    color: #bfc8d6;
}


.mail-input {
    display: flex;
    align-items: center;
}

.mail-input input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mail-input span {
    padding: 12px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-left: none;

    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

    color: #6b7280;
    white-space: nowrap;
}

.primary-button,
.secondary-button {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.primary-button {
    background: #f1c100;
    color: #1d3247;
    padding: 13px 20px;
}

.primary-button:hover {
    background: #004f8d;
}

.primary-button:disabled {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    cursor: not-allowed;
    opacity: 0.65;
}

.secondary-button {
    background: #344760;
    color: #ffffff;
    padding: 10px 16px;
    white-space: nowrap;
}

.secondary-button:hover {
    background: #e5e7eb;
}

progress {
    width: 100%;
    height: 12px;
    margin-top: 25px;
}

progress::-webkit-progress-bar {
    background: #e5e7eb;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background: #005ea8;
    border-radius: 10px;
}

#status {
    margin-top: 16px;
    color: #ffffff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .card {
        padding: 24px;
    }

    .card-header {
        flex-direction: column;
    }

    .login-card h1 {
        font-size: 26px;
    }
}

.footer-links {
    margin-top: 20px;

    display: flex;
    justify-content: flex-end;
    gap: 30px;

    width: 100%;
}

.footer-links a {
    color: #d4d9e2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
}




/* Container für die Checkbox */
.terms-group {
    margin: 20px 0;
}

/* Flexbox-Layout für Label & Checkbox */
.terms-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #ffffff; /* Bei dunkler Karte auf Weiß setzen (sonst #333333 bei weißer Karte) */
}

/* Anpassung der Checkbox selbst */
.terms-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc; /* Farbe des Hakens in modernen Browsern */
}

/* Styling des Links zu den Nutzungsbedingungen */
.terms-group a {
    color: #ffffff; /* Gut lesbares Hellblau für dunkle Hintergründe */
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.terms-group a:hover {
    color: #ffffff;
}