* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fb 0%, #e9eef7 100%);
    color: #1f2937;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    padding: 34px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.auth-logo {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo-title {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.5px;
}

.auth-logo-subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #374151;
}

.auth-field input {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

.auth-field input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.auth-link {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
}

.auth-link:hover {
    color: #111827;
}

.auth-btn {
    border: none;
    background: #111827;
    color: white;
    height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.auth-btn:hover {
    background: #000000;
}

.auth-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

.auth-status {
    background: #ecfdf5;
    color: #047857;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 18px;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .auth-logo-title {
        font-size: 24px;
    }

    .auth-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .auth-btn {
        width: 100%;
    }
}