/* ==================================================
   Eurovision Fan Budget & Packing Planner - Stylesheet
   Sofia 2027 - Pink, Purple & Cyan Neon Aesthetic
   ================================================== */

:root {
    --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme Colors */
    --bg-main: #05050f;
    --bg-card: rgba(15, 15, 30, 0.55);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(236, 72, 153, 0.4);
    
    /* Neon Accents */
    --color-pink: #ec4899;        /* Pink */
    --color-cyan: #06b6d4;        /* Cyan */
    --color-purple: #8b5cf6;      /* Purple */
    --color-amber: #f59e0b;       /* Amber */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    overflow-x: hidden;
    position: relative;
}

/* Ambient glow blobs */
.glow-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 25%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    filter: blur(80px);
    pointer-events: none;
}

/* Container */
.app-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    background: linear-gradient(135deg, var(--color-pink), var(--color-cyan));
    color: #05050f;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.5rem;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.35);
}

h1 {
    font-family: var(--font-header);
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Language selector */
.lang-selector {
    display: flex;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.2rem;
}

.lang-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Tab Switching Navigation */
.tabs-nav {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 0.5rem;
}

.tab-trigger {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.tab-trigger:hover {
    color: #ffffff;
}

.tab-trigger.active {
    color: var(--color-pink);
    border-bottom-color: var(--color-pink);
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

/* Tab panes switching visibility classes */
.tab-pane.hidden {
    display: none !important;
}

/* Grid Layouts split */
.grid-split {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .grid-split {
        grid-template-columns: 1fr;
    }
}

/* Glassmorphism card templates */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: rgba(236, 72, 153, 0.12);
}

.glass {
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.01) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
}

.card-title {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon {
    font-size: 1.25rem;
}

/* Input Form elements */
.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.input-field {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input-field:focus {
    border-color: var(--color-pink);
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.15);
}

/* Results display details */
.results-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.total-card {
    background: linear-gradient(135deg, rgba(23, 15, 45, 0.6) 0%, rgba(13, 27, 42, 0.4) 100%);
    border-color: rgba(236, 72, 153, 0.15);
}

.total-display {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.total-amount {
    font-family: var(--font-header);
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(to right, #ffffff, var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
}

.divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Progress breakdown bars */
.breakdown-bars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bar-label span:last-child {
    font-weight: 600;
    color: #ffffff;
}

.bar-bg {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-fill.fill-hotel { background-color: var(--color-pink); box-shadow: 0 0 8px var(--color-pink); }
.bar-fill.fill-transport { background-color: var(--color-cyan); box-shadow: 0 0 8px var(--color-cyan); }
.bar-fill.fill-tickets { background-color: var(--color-purple); box-shadow: 0 0 8px var(--color-purple); }
.bar-fill.fill-daily { background-color: var(--color-amber); box-shadow: 0 0 8px var(--color-amber); }

/* Tips list */
.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tips-list li {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.01);
    border-left: 3px solid var(--color-cyan);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.tips-list li strong {
    color: #ffffff;
}

/* Packing Checklist styling */
.packing-progress-area {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-percentage {
    font-family: var(--font-header);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-pink);
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--color-pink), var(--color-cyan));
    box-shadow: 0 0 10px var(--color-pink);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.checklist-cat {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cat-title {
    font-family: var(--font-header);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-cyan);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
    padding-bottom: 0.35rem;
    margin-bottom: 0.25rem;
}

.check-items-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.check-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border: 1.5px solid var(--border-card);
    border-radius: 4px;
    background: rgba(10, 15, 30, 0.6);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 1px;
    outline: none;
    transition: var(--transition-fast);
}

.check-item input[type="checkbox"]:checked {
    background-color: var(--color-pink);
    border-color: var(--color-pink);
    box-shadow: 0 0 8px var(--color-pink);
}

.check-item input[type="checkbox"]:checked::after {
    content: "✓";
    font-size: 0.75rem;
    color: #05050f;
    font-weight: 800;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.check-item.item-checked {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.65;
}

/* Printable checklist CSS styles */
@media print {
    body * {
        visibility: hidden;
    }
    #tab-packing, #tab-packing * {
        visibility: visible;
    }
    #tab-packing {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        color: #000000 !important;
        background: #ffffff !important;
    }
    .progress-bar-container, .progress-percentage {
        display: none !important;
    }
    .checklist-cat {
        border-bottom: 1px solid #000000;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    .cat-title {
        color: #000000 !important;
        border-bottom-color: #000000 !important;
    }
    .check-item input[type="checkbox"] {
        border-color: #000000 !important;
        background: #ffffff !important;
    }
}

/* Footer & Disclaimers */
.app-footer {
    border-top: 1px solid var(--border-card);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: transparent;
    box-shadow: none;
}

.disclaimer-content {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.15);
    text-align: center;
    margin-top: 0.5rem;
}

/* Mobile and Tablet Responsiveness Updates */
@media (max-width: 600px) {
    body {
        padding: 1rem 0.75rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .badge {
        font-size: 0.7rem;
    }
    
    .tabs-nav {
        gap: 0.5rem;
    }
    
    .tab-trigger {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
        flex: 1;
        justify-content: center;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .total-display {
        margin: 0.25rem 0;
    }
    
    .total-amount {
        font-size: 2.25rem;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Suite Navigation Bar */
.suite-nav {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 0.75rem;
}

.suite-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.suite-nav-link:hover {
    color: #ffffff;
}

.suite-nav-link.active {
    color: var(--color-pink);
}


