/* Auth Pages Styles */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.auth-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 450px;
}

.register-box {
    max-width: 550px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-logo i {
    font-size: 2.5rem;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6b7280;
    font-size: 1.05rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-hint {
    color: #6b7280;
    font-size: 0.85rem;
}

.password-strength {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s;
}

.strength-bar.weak {
    width: 33%;
    background: var(--danger-color);
}

.strength-bar.medium {
    width: 66%;
    background: var(--warning-color);
}

.strength-bar.strong {
    width: 100%;
    background: var(--success-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group {
    padding: 0.5rem 0;
}

.checkbox-group .checkbox-label span a {
    color: var(--primary-color);
    font-weight: 600;
}

.forgot-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
}

.divider {
    text-align: center;
    position: relative;
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.google-btn {
    color: #ea4335;
}

.google-btn:hover {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}

.facebook-btn {
    color: #1877f2;
}

.facebook-btn:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.auth-footer p {
    color: #6b7280;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Auth Info */
.auth-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 350px;
}

.info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.info-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-feature i {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.info-feature p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer Credit */
.auth-credit {
    text-align: center;
    padding: 1.5rem;
    color: white;
}

.auth-credit p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.auth-credit i {
    font-size: 1.1rem;
}

.auth-credit strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-box {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-info {
        display: none;
    }
}

