/* Auth Pages Styles - Login & Signup */

/* Base font setup - Quicksand as primary font */
* {
    font-family: 'Quicksand', Arial, sans-serif;
}

/* Reset body margin */
body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section - Fully responsive */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/hero/snow-island.jpg') center/cover no-repeat;
    padding: 20px;
    box-sizing: border-box;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Different hero backgrounds */
.login-page .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url('../images/hero/snow-island.jpg') center/cover no-repeat;
}

.signup-page .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url('../images/hero/snow-island.jpg') center/cover no-repeat;
}

/* Profile page specific background */
body.profile-page .hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero/hero-3.jpg') center/cover no-repeat;
}

/* Auth Container - Centered in hero */
.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.auth-logo {
    margin-bottom: 15px;
}

.auth-logo a {
    display: inline-block;
    text-decoration: none;
}

.auth-logo img {
    height: 50px;
    /* Remove the red filter - use original logo color */
}

.auth-header h1 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.auth-header p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    font-family: 'Quicksand', sans-serif;
}

.auth-error {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    font-family: 'Quicksand', sans-serif;
}

.auth-success {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(81, 207, 102, 0.3);
    font-family: 'Quicksand', sans-serif;
}

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

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

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Quicksand', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: white;
}

.form-group input::placeholder {
    color: #adb5bd;
    font-family: 'Quicksand', sans-serif;
}

.auth-button {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.auth-button:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.auth-button:active {
    transform: translateY(0);
}

/* Google Sign-In Button - Same style as auth-button but with Google colors */
.google-signin-container {
    margin-bottom: 25px;
    width: 100%;
}

.google-signin-btn {
    width: 100%;
    background: linear-gradient(135deg, #4285f4, #3367d6);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    box-sizing: border-box;
}

.google-signin-btn:hover {
    background: linear-gradient(135deg, #3367d6, #2a56c6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.google-signin-btn:active {
    transform: translateY(0);
}

.google-signin-btn i {
    color: white;
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    color: #666;
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.auth-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Form divider */
.form-divider {
    margin: 30px 0 20px 0;
    text-align: center;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.form-divider span {
    background: white;
    padding: 0 20px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Alert messages */
.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.alert i {
    margin-right: 10px;
    font-size: 16px;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* Enhanced form styling */
.auth-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
}

/* Profile page adjustments */
.profile-page .auth-header h1 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.profile-page .auth-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Back link styling */
.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 15px;
    }
    
    .auth-card {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .auth-header h1 {
        font-size: 1.8rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }
    
    .form-group input {
        padding: 14px 18px;
        font-size: 16px;
    }
    
    .auth-button {
        padding: 15px 18px;
        font-size: 16px;
    }
    
    .google-signin-btn {
        padding: 15px 18px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 10px;
    }
    
    .auth-card {
        padding: 25px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.6rem;
    }
    
    .auth-logo img {
        height: 40px;
    }
} 