.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 80px 20px;
}

.auth-container {
    max-width: 500px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 50px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.auth-subtitle {
    font-size: 16px;
    color: #5a6c7d;
}

.auth-form {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    border: 2px solid #d1d8e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(145, 151, 255, 0.15);
}

.form-input::placeholder {
    color: #a0aec0;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #5a6c7d;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.forgot-link {
    font-size: 15px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-hover);
}

.auth-button {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(145, 151, 255, 0.25);
}

.auth-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(145, 151, 255, 0.3);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #d1d8e0;
}

.auth-divider-text {
    position: relative;
    display: inline-block;
    padding: 0 24px;
    background: #f5f7fa;
    font-size: 15px;
    color: #5a6c7d;
}

.auth-footer {
    text-align: center;
    font-size: 16px;
    color: #5a6c7d;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .auth-page {
        padding: 40px 20px;
    }
    
    .auth-card {
        padding: 40px 30px;
    }
    
    .auth-title {
        font-size: 24px;
    }
}
