/* Pagina */
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
    box-sizing: border-box;
}

/* Container */
.auth-page .login-container {
    width: 100%;
    max-width: 460px;
    background: rgba(242, 242, 242, 0.9);
    border-radius: 12px;
    padding: 30px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
}

/* Titels en tekst */
.auth-page .login-container h2 {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #222;
    text-align: center;
}
.auth-page .login-container .login-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    text-align: center;
    margin: 0 0 24px 0;
}
.auth-page .login-container .info-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    margin: 0 0 12px 0;
}
.auth-page .login-container .helper-text {
    margin-top: 16px;
    font-size: 13px;
    color: #777;
    text-align: center;
    line-height: 1.5;
}

/* Formulier */
.auth-page .login-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.auth-page .login-container .form-group {
    width: 100%;
    margin-bottom: 16px;
}
.auth-page .login-container label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.auth-page .login-container input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #d4d4d4;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-page .login-container input:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Button */
.auth-page .login-container button {
    width: 100%;
    height: 42px;
    background: white;
    border-radius: 6px;
    border: none;
    margin-top: 8px;
    padding: 0 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
}
.auth-page .login-container button:hover {
    background: rgb(245, 245, 245);
}
.auth-page .login-container button:active {
    transform: translateY(1px);
}

/* Links */
.auth-page .login-container a {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 400;
    color: rgb(119, 119, 119);
    text-decoration: underline;
}
.auth-page .login-container a:hover {
    color: rgb(0, 0, 0);
}
.auth-page .login-container .link-button {
    background: none;
    border: none;
    color: #777;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 15px;
    font-size: 14px;
    width: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
}
.auth-page .login-container .link-button:hover {
    color: #000;
    background: none;
    transform: none;
}

/* Meldingen */
.auth-page .login-container .error-message,
.auth-page .login-container .auth-message,
.auth-page .login-container .auth-error {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.4;
}
.auth-page .login-container .error-message,
.auth-page .login-container .auth-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
.auth-page .login-container .auth-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* QR */
.auth-page .login-container .qr-image {
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 10px 0 20px 0;
    border-radius: 8px;
    background: white;
    padding: 10px;
    box-sizing: border-box;
}

/* Wachtwoordveld */
.auth-page .login-container .password-wrapper {
    position: relative;
    width: 100%;
}
.auth-page .login-container .password-wrapper input {
    padding-right: 42px;
}
.auth-page .login-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.auth-page .login-container .toggle-password svg {
    transition: all 0.2s ease;
}
.auth-page .login-container .toggle-password:hover svg {
    stroke: #424242;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}

/* Setup sectie */
.auth-page .login-container .setup-section {
    display: none;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}
.auth-page .login-container .setup-steps {
    text-align: left;
    font-size: 14px;
    color: #555;
    margin: 10px auto 15px auto;
    padding-left: 20px;
    max-width: 300px;
}

/* Mobiel */
@media (max-width: 480px) {
    .auth-page .login-container {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .auth-page .login-container h2 {
        font-size: 23px;
    }

    .auth-page .login-container input,
    .auth-page .login-container button {
        height: 40px;
        font-size: 14px;
    }
}
