/**
 * Auth Pages Styles (Login/Register)
 */

/* Container */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 15px;
}

.auth-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.auth-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
}

/* Form */
.auth-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #4a90e2;
    outline: none;
}

/* Password field */
.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Remember me */
.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    margin-right: 8px;
}

.forgot-password {
    color: #4a90e2;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Submit button */
.auth-button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.auth-button:hover {
    background-color: #3a7bc8;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.auth-divider span {
    padding: 0 10px;
    color: #666;
    font-size: 14px;
}

/* Social login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.social-button:hover {
    opacity: 0.9;
    color: white;
}

.social-button i,
.social-button .zalo-icon {
    margin-right: 10px;
    font-size: 16px;
}

.social-button.facebook {
    background-color: #3b5998;
}

.social-button.google {
    background-color: #db4437;
}

.social-button.apple {
    background-color: #000;
}

.social-button.zalo {
    background-color: #0068ff;
}

.zalo-icon {
    font-weight: bold;
    font-style: normal;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-container {
        margin: 20px auto;
    }
    
    .auth-wrapper {
        padding: 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .form-control {
        padding: 10px;
    }
}
