/* Main CSS file - imports all component styles */
@import url('./base.css?v=3');
@import url('./components/badges.css?v=3');
@import url('./components/navigation.css?v=3');
@import url('./components/forms.css?v=3');
@import url('./components/custom-select.css?v=3');
@import url('./components/cards.css?v=3');
@import url('./components/modals.css?v=3');
@import url('./components/error.css?v=3');
@import url('./components/form-error.css?v=3');
@import url('./components/calendar.css?v=3');
@import url('./pages/planner.css?v=3');
@import url('./utilities/animations.css?v=3');
@import url('./utilities/responsive.css?v=3');

/* Additional styles that don't fit into other categories */

/* Heading - Integrated Hero + Navigation Section */
.hero-nav-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 16px 24px 20px 24px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(20px);
}

.hero-nav-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-align: center;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn.primary {
    background: #6366f1;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.cta-btn.primary:hover {
    background: #5855eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.5);
}

.cta-btn.secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cta-btn.secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Main Content Sections */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 24px;
}

.results {
    margin-top: 20px;
    display: none;
}

.results h3 {
    color: #0f172a;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.loading {
    text-align: center;
    color: #6366f1;
    font-size: 1.1rem;
    padding: 60px 30px;
    font-weight: 500;
}

.loading::before {
    content: "⚡";
    display: block;
    font-size: 2.5rem;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

/* Animated Loading Screen */
.animated-loading {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.animated-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: shimmer 2s infinite;
}

.loading-progress {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}

.loading-tips {
    position: relative;
    height: 40px;
    overflow: hidden;
}



/* Remove old tab navigation - now integrated into hero section */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Hide main content by default - shown only after login */
#mainContent {
    display: none;
}

/* Clean Login Screen Styles */
#loginContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: #f8fafc;
    z-index: 9999;
    overflow-y: auto;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.login-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    animation: headerSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes headerSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.login-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.login-main {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    max-width: 420px;
    width: 100%;
    margin-top: 80px;
    animation: loginFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

@keyframes loginFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e293b;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 500;
}

.login-btn {
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-btn:hover:not(:disabled)::before {
    opacity: 1;
}

.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.google-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path fill="white" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path fill="white" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path fill="white" d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>') no-repeat center;
    background-size: contain;
    z-index: 1;
    position: relative;
}

#loginError {
    display: none;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
}

.login-features {
    margin-top: 40px;
    text-align: center;
}

.login-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.user-info {
    position: relative;
    cursor: pointer;
}
/* Info Tooltip Styles */
.info-tooltip {
    position: relative;
    display: inline-flex;
}

.info-btn:hover {
    border-color: #a5b4fc !important;
    background: linear-gradient(135deg, #ddd6fe 0%, #c7d2fe 100%) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25) !important;
}

.tooltip-content {
    z-index: 9999 !important;
}
