/* Auth Page Styles */
.auth-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.auth-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-logo {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-help {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.auth-help:hover {
    color: var(--primary-color);
}

.auth-body {
    min-height: 550px;
    background-color: #f0f0f0;
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    padding: 40px 0;
    display: flex;
    align-items: center;
}

.auth-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-banner {
    flex: 1;
    padding-right: 80px;
    display: flex;
    justify-content: center;
}

.auth-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.auth-box {
    width: 380px;
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    position: relative;
}

.auth-tab.active {
    color: var(--primary-color);
    font-weight: bold;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

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

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 16px;
}

.form-input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box; /* Critical for padding to not affect width */
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 12px;
    color: #666;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.form-options a {
    color: #666;
    text-decoration: none;
}

.form-options a:hover {
    color: var(--primary-color);
}

.btn-auth {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-auth:hover {
    background-color: #ffca2c;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-title {
    position: relative;
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
}

.social-title::before,
.social-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: #eee;
}

.social-title::before { left: 0; }
.social-title::after { right: 0; }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-banner {
        display: none;
    }
    
    .auth-container {
        justify-content: center;
    }
    
    .auth-box {
        width: 100%;
        max-width: 400px;
    }
}
