/* Login Page Specific Styles */

.login-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.login-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.login-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 61, 95, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF3D5F;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(255, 61, 95, 0.2);
}

.login-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-input:focus {
    outline: none;
    border-color: #FF3D5F;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 61, 95, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #FF3D5F;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.forgot-password {
    color: #FF3D5F;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #e6355a;
}

.login-button {
    background: transparent;
    color: #64748b;
    border: 2px solid #e1e1e1;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.login-button:hover {
    color: #FF3D5F;
    background: rgba(255, 61, 95, 0.1);
    border-color: #FF3D5F;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 61, 95, 0.1);
}

.login-button:active {
    transform: translateY(0);
    background: rgba(255, 61, 95, 0.15);
}

.login-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    background: transparent;
    color: #94a3b8;
    border-color: #e1e1e1;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e1e1;
}

.signup-prompt {
    color: #666;
    font-size: 0.95rem;
}

.signup-link {
    color: #FF3D5F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #e6355a;
}

.social-login {
    margin-top: 2rem;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e1e1e1;
}

.divider-text {
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    background: white;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.social-button:hover {
    border-color: #FF3D5F;
    background: rgba(255, 61, 95, 0.05);
    transform: translateY(-1px);
}

.google-button svg {
    width: 18px;
    height: 18px;
}

.discord-button svg {
    width: 18px;
    height: 18px;
    color: #7289DA;
}

.login-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.welcome-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 61, 95, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.image-overlay {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 61, 95, 0.1);
}

.overlay-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF3D5F;
    margin-bottom: 0.5rem;
}

.overlay-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Active state for auth buttons removed to match index.html navbar */

/* Mobile Responsive */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    /* Hide the SVG image and community text on mobile */
    .login-image {
        display: none;
    }
    
    .login-content {
        padding: 2rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .image-overlay {
        display: none;
    }
}

/* Additional mobile breakpoint for tablets */
@media (max-width: 768px) {
    .login-image {
        display: none !important;
    }
    
    .image-overlay {
        display: none !important;
    }
    
    .login-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .login-main {
        padding: 1rem 0;
    }
    
    /* Ensure image and community text are hidden on small mobile screens */
    .login-image {
        display: none !important;
    }
    
    .image-overlay {
        display: none !important;
    }
    
    .login-content {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .form-input {
        padding: 0.875rem 1rem;
    }
    
    .login-button {
        padding: 0.875rem 1.5rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
