﻿:root {
    --bg-dark: #070913;
    --card-glass: rgba(18, 25, 43, 0.78);
    --border-glass: rgba(0, 242, 254, 0.18);
    --neon-cyan: #00f2fe;
    --neon-purple: #8a2be2;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0 0 95px 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    background-image: radial-gradient(circle at 10% 15%, rgba(0, 242, 254, 0.12) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(138, 43, 226, 0.15) 0%, transparent 40%);
    color: var(--text-main);
    overflow-x: hidden;
}

/* 2-Second Futuristic Noorify Splash Loader */
#noorify-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at center, #111827 0%, #05070e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

    #noorify-loader.loader-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.loader-badge-wrap {
    position: relative;
    width: 155px;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loader-badge-wrap::before {
        content: '';
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        border: 2px solid transparent;
        border-top-color: var(--neon-cyan);
        border-bottom-color: var(--neon-purple);
        animation: spinRing 1.4s linear infinite;
        box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
    }

.loader-badge-img {
    width: 125px;
    height: 125px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.45));
    animation: pulseBadge 1.8s ease-in-out infinite;
}

.loader-bar-track {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 26px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    animation: fillProgress 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes spinRing {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(0.96);
    }

    50% {
        transform: scale(1.04);
    }
}

@keyframes fillProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Sticky Header with Noorify Logo */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 19, 0.88);
    backdrop-filter: blur(16px);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
}

.header-nav-group {
    display: flex;
    gap: 6px;
}

.header-switch {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-cyan);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.08);
    white-space: nowrap;
}

.container {
    padding: 16px;
    max-width: 520px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--card-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 22px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.section-heading {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.futuristic-input {
    width: 100%;
    padding: 13px 15px;
    background: rgba(9, 13, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

    .futuristic-input:focus {
        outline: none;
        border-color: var(--neon-cyan);
        box-shadow: 0 0 14px rgba(0, 242, 254, 0.25);
    }

.date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 5-Member Single-Line Compact Chips */
.member-chips-1line {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    width: 100%;
}

    .member-chips-1line input[type="checkbox"] {
        display: none;
    }

    .member-chips-1line label {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 9px 2px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 10px;
        font-size: 0.72rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        color: var(--text-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .member-chips-1line input[type="checkbox"]:checked + label {
        background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(138, 43, 226, 0.35));
        border-color: var(--neon-cyan);
        color: #fff;
        box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
    }

.btn-neon {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00f2fe 0%, #6366f1 50%, #8a2be2 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35);
    transition: transform 0.2s ease;
}

    .btn-neon:active {
        transform: scale(0.97);
    }

.toast-msg {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 0.88rem;
}

/* 3-Tab Bottom Mobile Navigation Dock */
.bottom-dock {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 480px;
    background: rgba(13, 18, 32, 0.94);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 24px;
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
    z-index: 999;
}

.dock-link {
    text-decoration: none;
    text-align: center;
    padding: 10px 4px;
    border-radius: 18px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.25s;
    white-space: nowrap;
}

    .dock-link.active {
        background: linear-gradient(135deg, rgba(0, 242, 254, 0.22), rgba(138, 43, 226, 0.32));
        color: #fff;
        border: 1px solid rgba(0, 242, 254, 0.45);
        box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    }

.eta-highlight1 {
    border-color: rgba(0, 242, 254, 0.30);
    box-shadow: none;
}

    .eta-highlight1:focus {
        border-color: var(--neon-cyan) !important;
        box-shadow: 0 0 14px rgba(0, 242, 254, 0.25);
    }

select.futuristic-input {
    width: 100%;
    max-width: 100%;
}

    select.futuristic-input option {
        font-family: 'Poppins', sans-serif;
        background: #0d1220;
        color: #f1f5f9;
    }

/* ------------------------ */

/* Custom dropdown wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

/* Custom dropdown trigger */
.custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    background: rgba(9, 13, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #f1f5f9;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .custom-select-trigger:focus,
    .custom-select-wrapper.open .custom-select-trigger {
        outline: none;
        border-color: var(--neon-cyan);
        box-shadow: 0 0 14px rgba(0, 242, 254, 0.25);
    }

/* Arrow */
.custom-select-arrow {
    color: var(--neon-cyan);
    transition: transform 0.25s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu */
.custom-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #0d1220;
    border: 1px solid rgba(0, 242, 254, 0.35);
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.custom-select-wrapper.open .custom-select-menu {
    display: block;
}

/* Options */
.custom-select-option {
    width: 100%;
    display: block;
    padding: 11px 12px;
    color: #cbd5e1;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    transition: 0.2s ease;
}

    .custom-select-option:hover {
        background: rgba(0, 242, 254, 0.12);
        color: var(--neon-cyan);
    }

    .custom-select-option.selected {
        background: rgba(0, 242, 254, 0.16);
        color: var(--neon-cyan);
        font-weight: 600;
    }

/* Hide original dropdown visually, but keep it functional */
.native-custom-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}