/* ===============================
   LOGIN SEITE
================================ */

/* Container */
.login-form {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding: 50px 20px;
}

/* Boxen */
.job-box {
    position: relative;
    text-align: center;
    padding: 36px;
    border-radius: 16px;
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        0 0 0 1px rgba(255,227,56,0.22),
        0 0 34px rgba(255,227,56,0.24),
        0 0 90px rgba(255,227,56,0.12);
}

/* User / Admin getrennt */
.job-box-user {
    margin-right: 18px;
}

.job-box-admin {
    margin-left: 18px;
}

/* Mobile */
@media (max-width: 900px) {
    .login-form {
        flex-direction: column;
    }

    .job-box-user,
    .job-box-admin {
        margin: 0;
    }
}

/* ===============================
   REGISTER POPUP – ANGEPASST AN LOGIN BOXEN
================================ */

/* Overlay */
.register-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(3px);
    z-index: 9999;

    align-items: center;
    justify-content: center;
}

.register-modal.active {
    display: flex;
}

/* Box – exakt wie .job-box */
.register-box {
    position: relative;
    text-align: center;

    background: #0f0f0f;
    padding: 36px;
    width: 380px;
    max-width: calc(100% - 40px);

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        0 0 0 1px rgba(255,227,56,0.22),
        0 0 34px rgba(255,227,56,0.24),
        0 0 90px rgba(255,227,56,0.12);
}

/* Titel – identisch zur Login-Box */
.register-box h2 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #ffffff;
}

/* Labels */
.register-box label {
    display: block;
    text-align: left;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 6px;
}

/* Inputs – gleich wie Login */
.register-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;

    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: #333;
    color: #fff;

    font-size: 16px;
}

/* Fokus */
.register-box input:focus {
    outline: none;
    border-color: rgba(255,227,56,0.6);
    box-shadow: 0 0 10px rgba(255,227,56,0.35);
}

/* Hauptbutton – exakt wie Login */
.register-box button[type="submit"] {
    width: 100%;
    padding: 12px;

    background-color: #ffe338;
    color: #000;

    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;

    transition: background-color 0.3s ease;
}

.register-box button[type="submit"]:hover {
    background-color: #ffbb33;
}

/* Abbrechen – ruhig & passend */
.register-box button[type="button"] {
    width: 100%;
    margin-top: 10px;
    padding: 12px;

    background: transparent;
    color: #aaa;

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    font-size: 15px;

    cursor: pointer;
}

.register-box button[type="button"]:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
