/* Authentication Pages Styling */
.auth-page {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-container {
    display: flex;
    width: 900px;
    height: 600px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.auth-banner {
    flex: 1;
    position: relative;
    background-image: url('https://via.placeholder.com/500x600/6c5ce7/ffffff?text=MoodSync');
    background-size: cover;
    background-position: center;
    color: white;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(108, 92, 231, 0.7), rgba(0, 0, 0, 0.8));
}

.auth-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.auth-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.auth-features {
    margin-top: auto;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form-wrapper {
    max-width: 320px;
    margin: 0 auto;
}

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

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    position: relative;
}

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

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

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.auth-form > p {
    color: var(--light-text);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-options, .form-terms {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.form-options {
    justify-content: space-between;
}

.remember-me, .terms-checkbox {
    display: flex;
    align-items: center;
}

.remember-me input, .terms-checkbox input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-block {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

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

.social-login p {
    color: var(--light-text);
    margin-bottom: 15px;
    position: relative;
}

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

.social-login p:before {
    left: 0;
}

.social-login p:after {
    right: 0;
}

.social-buttons {
    display: flex;
    justify-content: center;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    margin: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    transform: translateY(-3px);
}

.google {
    background-color: #DB4437;
}

.facebook {
    background-color: #4267B2;
}

.twitter {
    background-color: #1DA1F2;
}

/* Responsive for auth pages */
@media (max-width: 900px) {
    .auth-container {
        width: 90%;
        flex-direction: column;
        height: auto;
    }
    
    .auth-banner {
        display: none;
    }
    
    .auth-form-container {
        padding: 30px 20px;
    }
}

/* Glass Morphism Elements for Futuristic UI */
.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}