*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    min-height:100vh;
    background:linear-gradient(135deg,#0f172a,#1e3a8a,#38bdf8);
    display:flex;
    justify-content:center;
    align-items:center;
}

/* AUTH */

/* AUTH - CLASSY SOFT LAVENDER */

body:not(.dashboard-body):not(.landing-body){
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(221,214,254,0.65), transparent 32%),
        radial-gradient(circle at bottom right, rgba(251,207,232,0.55), transparent 34%),
        linear-gradient(135deg,#f8f5ff,#fdf2f8,#eef2ff);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.auth-card{
    width:1000px;
    min-height:610px;
    background:rgba(255,255,255,0.72);
    backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,0.8);
    border-radius:34px;
    overflow:hidden;
    display:flex;
    box-shadow:0 30px 80px rgba(109,40,217,0.16);
}

.left-panel{
    width:52%;
    padding:64px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
    overflow:hidden;
}

.classy-panel{
    background:
        linear-gradient(rgba(49,46,129,0.2),rgba(88,28,135,0.28)),
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1400&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
    color:white;
}

.classy-panel::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg,rgba(67,56,202,0.38),rgba(192,132,252,0.16),rgba(244,114,182,0.18));
    z-index:0;
}

.left-panel > *{
    position:relative;
    z-index:2;
}

.auth-badge{
    width:max-content;
    padding:9px 16px;
    border-radius:999px;
    background:rgba(255,255,255,0.22);
    border:1px solid rgba(255,255,255,0.38);
    color:white;
    font-size:12px;
    letter-spacing:2px;
    font-weight:700;
    margin-bottom:24px;
}

.left-panel h1{
    font-size:54px;
    line-height:1.12;
    margin-bottom:22px;
    font-weight:800;
    letter-spacing:-1.5px;
    max-width:430px;
}

.left-panel p{
    font-size:17px;
    line-height:1.9;
    color:#f8fafc;
    max-width:430px;
}

.auth-mini-card{
    margin-top:38px;
    width:max-content;
    min-width:260px;
    padding:18px 22px;
    border-radius:22px;
    background:rgba(255,255,255,0.22);
    border:1px solid rgba(255,255,255,0.32);
    backdrop-filter:blur(16px);
}

.auth-mini-card span{
    display:block;
    font-size:12px;
    color:#f3e8ff;
    margin-bottom:6px;
}

.auth-mini-card strong{
    font-size:15px;
    color:white;
}

.right-panel{
    width:48%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,0.86);
    padding:48px;
}

.form-box{
    width:100%;
    max-width:380px;
}

.form-box h2{
    text-align:left;
    margin-bottom:8px;
    color:#2e1065;
    font-size:38px;
    font-weight:800;
    letter-spacing:-0.7px;
}

.form-subtitle{
    color:#7c3aed;
    font-size:14px;
    margin-bottom:28px;
    line-height:1.6;
}

.form-box input,
.form-box textarea{
    width:100%;
    padding:16px 18px;
    margin-bottom:16px;
    border:none;
    border-radius:18px;
    background:#f8f5ff;
    color:#2e1065;
    font-size:15px;
    box-shadow:inset 0 0 0 1px rgba(167,139,250,0.24);
    transition:0.25s ease;
}

.form-box input::placeholder{
    color:#9f8fc5;
}

.form-box input:focus,
.form-box textarea:focus{
    outline:none;
    background:white;
    box-shadow:
        0 0 0 4px rgba(196,181,253,0.35),
        inset 0 0 0 1px rgba(139,92,246,0.35);
}

.form-box button{
    width:100%;
    padding:16px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#7c3aed,#c084fc,#f0abfc);
    color:white;
    font-size:16px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 16px 35px rgba(124,58,237,0.28);
    transition:0.25s ease;
}

.form-box button:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 45px rgba(124,58,237,0.35);
}

#message,
#loginMessage{
    margin-top:14px;
    text-align:center;
    color:green;
    font-weight:600;
    font-size:14px;
}

.switch-link{
    text-align:center;
    margin-top:22px;
    color:#6b5b85;
    font-size:14px;
}

.switch-link a{
    color:#7c3aed;
    text-decoration:none;
    font-weight:800;
}

.switch-link a:hover{
    text-decoration:underline;
}

/* LANDING */

.landing-body{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.25), transparent 35%),
        linear-gradient(135deg,#020617,#0f172a,#1e3a8a);
    display:block;
    color:white;
}

.landing-navbar{
    width:100%;
    padding:25px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.landing-navbar h2{
    font-size:28px;
    font-weight:800;
}

.landing-navbar a{
    color:white;
    text-decoration:none;
    margin-right:25px;
    font-weight:500;
}

.landing-navbar button{
    padding:12px 22px;
    border:none;
    border-radius:30px;
    background:white;
    color:#1e3a8a;
    font-weight:700;
    cursor:pointer;
}

.hero-section{
    min-height:75vh;
    padding:40px 8%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}

.hero-content{
    max-width:600px;
}

.tagline{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    background:rgba(255,255,255,0.15);
    margin-bottom:20px;
    font-size:14px;
}

.hero-content h1{
    font-size:64px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero-content p{
    font-size:18px;
    line-height:1.8;
    color:#dbeafe;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.hero-buttons button{
    padding:15px 28px;
    border:none;
    border-radius:30px;
    background:#38bdf8;
    color:#020617;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
}

.hero-buttons .outline-btn{
    background:transparent;
    color:white;
    border:1px solid rgba(255,255,255,0.5);
}

.hero-card{
    width:380px;
    background:rgba(255,255,255,0.14);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.25);
    border-radius:30px;
    padding:35px;
    box-shadow:0 30px 80px rgba(0,0,0,0.35);
}

.hero-card h3{
    color:#bae6fd;
    margin-bottom:15px;
}

.hero-card h2{
    font-size:32px;
    margin-bottom:25px;
}

.mini-info p{
    background:rgba(255,255,255,0.12);
    padding:12px;
    border-radius:14px;
    margin-bottom:12px;
}

.mini-plan{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.mini-plan span{
    padding:8px 12px;
    background:white;
    color:#1e3a8a;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.features-section{
    padding:20px 8% 70px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.feature-card{
    background:white;
    color:#0f172a;
    padding:30px;
    border-radius:24px;
    box-shadow:0 20px 50px rgba(0,0,0,0.18);
}

.feature-card p{
    color:#475569;
    line-height:1.7;
}

/* GLOBAL APP BODY */

.dashboard-body{
    background:#eef3f8;
    display:block;
}

/* DASHBOARD */

/* DASHBOARD PREMIUM */

.dashboard-body{
    background:
        radial-gradient(circle at top left, rgba(221,214,254,0.4), transparent 28%),
        radial-gradient(circle at bottom right, rgba(251,207,232,0.32), transparent 30%),
        linear-gradient(135deg,#f8f5ff,#fdf2f8,#eef2ff);
    display:block;
}

.dashboard-layout{
    min-height:100vh;
    display:flex;
    gap:24px;
    padding:24px;
}

/* SIDEBAR */

.sidebar{
    width:260px;
    background:rgba(255,255,255,0.72);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.9);
    border-radius:32px;
    padding:32px 22px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    box-shadow:0 18px 45px rgba(109,40,217,0.08);
}

.sidebar h2{
    color:#2e1065;
    font-size:30px;
    margin-bottom:38px;
    font-weight:800;
}

.sidebar-menu{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.sidebar-item{
    padding:16px 18px;
    border-radius:18px;
    cursor:pointer;
    color:#6b5b85;
    font-weight:600;
    transition:0.25s ease;
}

.sidebar-item:hover{
    background:#f3e8ff;
    color:#7c3aed;
    transform:translateX(3px);
}

.sidebar-item.active{
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    box-shadow:0 12px 25px rgba(124,58,237,0.24);
}

.sidebar-footer{
    margin-top:30px;
    color:#8b5cf6;
    font-size:14px;
    font-weight:600;
}

/* MAIN */

.dashboard-main{
    flex:1;
}

/* HERO */

.dashboard-hero{
    min-height:310px;
    background:
        linear-gradient(rgba(67,56,202,0.22),rgba(88,28,135,0.22)),
        url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1400&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
    border-radius:38px;
    padding:45px;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    overflow:hidden;
    position:relative;
    box-shadow:0 28px 70px rgba(109,40,217,0.16);
}

.dashboard-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg,
        rgba(91,33,182,0.32),
        rgba(192,132,252,0.16),
        rgba(244,114,182,0.18));
}

.dashboard-hero > *{
    position:relative;
    z-index:2;
}

.hero-small-text{
    display:inline-block;
    padding:9px 15px;
    border-radius:999px;
    background:rgba(255,255,255,0.16);
    border:1px solid rgba(255,255,255,0.22);
    color:white;
    font-weight:600;
    margin-bottom:18px;
}

.dashboard-hero h1{
    font-size:54px;
    line-height:1.12;
    margin-bottom:16px;
    font-weight:800;
    max-width:520px;
}

.hero-description{
    color:#f8fafc;
    max-width:520px;
    line-height:1.9;
    margin-bottom:28px;
    font-size:16px;
}

.dashboard-hero button,
.section-top button{
    padding:14px 24px;
    border:none;
    border-radius:18px;
    background:white;
    color:#7c3aed;
    font-weight:800;
    cursor:pointer;
    transition:0.25s ease;
}

.dashboard-hero button:hover,
.section-top button:hover{
    transform:translateY(-2px);
}

.hero-glass-card{
    width:330px;
    background:rgba(255,255,255,0.18);
    border:1px solid rgba(255,255,255,0.22);
    backdrop-filter:blur(20px);
    border-radius:30px;
    padding:30px;
}

.hero-glass-card span{
    color:#f3e8ff;
    font-size:13px;
}

.hero-glass-card h2{
    margin:14px 0 24px;
    font-size:32px;
    line-height:1.3;
}

.hero-mini-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.hero-mini-stats div{
    background:rgba(255,255,255,0.15);
    padding:18px;
    border-radius:20px;
}

.hero-mini-stats strong{
    font-size:26px;
}

/* SECTION */

.dashboard-section{
    margin-top:34px;
}

.section-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:24px;
}

.section-top h2{
    color:#2e1065;
    font-size:34px;
    font-weight:800;
}

.section-top button{
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    box-shadow:0 14px 30px rgba(124,58,237,0.18);
}

/* TRIPS */

.trip-cards-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:24px;
}

.modern-trip-card{
    border-radius:32px;
    overflow:hidden;
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,0.82);
    box-shadow:0 18px 45px rgba(109,40,217,0.1);
    transition:0.28s ease;
}

.modern-trip-card:hover{
    transform:translateY(-6px);
}

.trip-gradient{
    height:165px;
    background-size:cover;
    background-position:center;
    position:relative;
}

.trip-gradient::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            rgba(67,56,202,0.12),
            rgba(88,28,135,0.22)
        );
}

.trip-content{
    padding:24px;
}

.trip-badge{
    display:inline-block;
    margin-top:-48px;
    margin-bottom:18px;
    padding:9px 16px;
    border-radius:999px;
    background:white;
    color:#7c3aed;
    font-size:12px;
    font-weight:800;
    box-shadow:0 10px 20px rgba(109,40,217,0.12);
}

.trip-content h3{
    font-size:25px;
    color:#2e1065;
    margin-bottom:10px;
}

.trip-description{
    color:#6b5b85;
    line-height:1.8;
    min-height:55px;
}

.trip-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin:22px 0;
}

.trip-meta div{
    background:#faf5ff;
    padding:16px;
    border-radius:18px;
}

.trip-meta small{
    display:block;
    color:#8b5cf6;
    margin-bottom:6px;
    font-weight:600;
}

.trip-actions{
    display:flex;
    gap:12px;
    margin-top:15px;
}

.planner-btn{
    flex:1;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    padding:14px;
    font-weight:700;
    cursor:pointer;
}

.delete-trip-btn{
    width:110px;
    border:none;
    border-radius:16px;
    background:#f8f5ff;
    color:#7c3aed;
    font-weight:700;
    cursor:pointer;
    transition:0.25s ease;
}

.delete-trip-btn:hover{
    background:#ef4444;
    color:white;
}

/* EMPTY */

.empty-dashboard{
    background:rgba(255,255,255,0.82);
    backdrop-filter:blur(14px);
    padding:45px;
    border-radius:30px;
    box-shadow:0 18px 45px rgba(109,40,217,0.08);
    text-align:center;
}

.empty-dashboard h3{
    color:#2e1065;
    margin-bottom:12px;
}

.empty-dashboard p{
    color:#6b5b85;
    margin-bottom:20px;
}

.empty-dashboard button{
    padding:14px 24px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    font-weight:700;
    cursor:pointer;
}

/* CREATE TRIP */

.form-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.trip-form-card{
    width:500px;
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.trip-form-card h1{
    text-align:center;
    margin-bottom:30px;
    color:#0f172a;
}

.trip-form-card input,
.trip-form-card textarea,
.trip-form-card select{
    width:100%;
    padding:15px;
    margin-bottom:18px;
    border:none;
    border-radius:12px;
    background:#f1f5f9;
    font-size:15px;
}

.trip-form-card textarea{
    height:120px;
    resize:none;
}

.trip-form-card button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:white;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
}

#tripMessage{
    text-align:center;
    margin-top:15px;
    color:green;
}

/* CLEAN PLANNER */

/* PREMIUM PLANNER */

.planner-page{
    min-height:100vh;
    padding:32px;
    background:
        radial-gradient(circle at top left, rgba(221,214,254,0.45), transparent 28%),
        radial-gradient(circle at bottom right, rgba(251,207,232,0.34), transparent 30%),
        linear-gradient(135deg,#f8f5ff,#fdf2f8,#eef2ff);
}

.planner-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
}

.planner-top h1{
    font-size:48px;
    color:#2e1065;
    font-weight:800;
    letter-spacing:-1px;
}

.page-subtitle{
    color:#7c3aed;
    margin-top:10px;
    font-size:15px;
}

.planner-top button{
    padding:14px 24px;
    border:none;
    border-radius:18px;
    background:white;
    color:#7c3aed;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(124,58,237,0.14);
    transition:0.25s ease;
}

.planner-top button:hover{
    transform:translateY(-2px);
}

.planner-box{
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,0.88);
    padding:26px;
    border-radius:30px;
    box-shadow:0 18px 45px rgba(109,40,217,0.08);
}

.planner-box h2{
    color:#2e1065;
    margin-bottom:18px;
    font-size:24px;
    font-weight:800;
}

.planner-box input,
.planner-box textarea,
.planner-box select{
    width:100%;
    padding:15px 16px;
    margin-bottom:14px;
    border:none;
    border-radius:18px;
    background:#f8f5ff;
    font-size:14px;
    color:#2e1065;
    box-shadow:inset 0 0 0 1px rgba(167,139,250,0.18);
}

.planner-box input:focus,
.planner-box textarea:focus,
.planner-box select:focus{
    outline:none;
    background:white;
    box-shadow:
        0 0 0 4px rgba(196,181,253,0.28),
        inset 0 0 0 1px rgba(139,92,246,0.35);
}

.planner-box textarea{
    height:90px;
    resize:none;
}

.planner-box button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    font-weight:800;
    cursor:pointer;
    transition:0.25s ease;
    box-shadow:0 16px 35px rgba(124,58,237,0.2);
}

.planner-box button:hover{
    transform:translateY(-2px);
}

.planner-summary{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin:26px 0 30px;
}

.summary-card{
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,0.82);
    padding:24px;
    border-radius:28px;
    box-shadow:0 18px 45px rgba(109,40,217,0.08);
}

.summary-card span{
    color:#8b5cf6;
    font-size:13px;
    font-weight:700;
}

.summary-card h2{
    margin-top:12px;
    font-size:34px;
    color:#2e1065;
}

.planner-grid{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:26px;
    align-items:start;
}

.planner-left{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.planner-right .planner-box{
    min-height:600px;
}

#itineraryContainer{
    display:flex;
    flex-direction:column;
    gap:22px;
}

/* TIMELINE */

.timeline-card{
    background:linear-gradient(135deg,#ffffff,#faf5ff);
    border:none;
    padding:26px;
    border-radius:28px;
    position:relative;
    box-shadow:0 14px 38px rgba(109,40,217,0.08);
    overflow:hidden;
}

.timeline-card::before{
    content:"";
    position:absolute;
    left:30px;
    top:0;
    width:4px;
    height:100%;
    background:linear-gradient(#c084fc,#f0abfc);
}

.timeline-dot{
    width:18px;
    height:18px;
    background:#7c3aed;
    border:5px solid #ede9fe;
    border-radius:50%;
    margin-bottom:18px;
    position:relative;
    z-index:2;
}

.stop-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:8px;
}

.timeline-card h3{
    color:#2e1065;
    font-size:24px;
    font-weight:800;
    text-transform:capitalize;
}

.timeline-card p{
    color:#6b5b85;
    line-height:1.7;
    font-size:14px;
}

.stop-top button{
    padding:9px 15px;
    border:none;
    border-radius:14px;
    background:#f8f5ff;
    color:#7c3aed;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:0.25s ease;
}

.stop-top button:hover{
    background:#ef4444;
    color:white;
}

/* ACTIVITY */

.activity-card{
    background:white;
    padding:18px;
    border-radius:22px;
    margin-top:16px;
    box-shadow:0 10px 24px rgba(109,40,217,0.08);
    border:1px solid rgba(237,233,254,0.8);
}

.activity-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.activity-top h4{
    color:#2e1065;
    font-size:18px;
    font-weight:700;
    text-transform:capitalize;
}

.activity-top button{
    width:32px;
    height:32px;
    border:none;
    border-radius:12px;
    background:#f8f5ff;
    color:#7c3aed;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.25s ease;
}

.activity-top button:hover{
    background:#ef4444;
    color:white;
    transform:scale(1.08);
}

.activity-card p{
    color:#6b5b85;
    margin-bottom:5px;
    font-size:14px;
    line-height:1.7;
}

.activity-card small{
    display:inline-block;
    margin:8px 0;
    color:#8b5cf6;
    font-weight:600;
}

/* EMPTY */

.empty-box{
    background:#faf5ff;
    padding:30px;
    border-radius:24px;
    text-align:center;
    color:#7c3aed;
    font-weight:600;
}

.muted-text{
    color:#8b5cf6;
    margin-top:12px;
}

#stopMsg,
#activityMsg{
    color:#16a34a;
    font-size:14px;
    margin-top:10px;
    font-weight:600;
}

/* RESPONSIVE */

@media(max-width:950px){
    .dashboard-layout,
    .hero-section,
    .signup-container{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
    }

    .dashboard-main{
        padding:20px;
    }

    .dashboard-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-glass-card{
        width:100%;
    }

    .planner-page{
        padding:20px;
    }

    .planner-summary{
        grid-template-columns:1fr 1fr;
    }

    .planner-grid{
        grid-template-columns:1fr;
    }

    .features-section{
        grid-template-columns:1fr;
    }

    .left-panel,
    .right-panel{
        width:100%;
    }

    .trip-form-card{
        width:100%;
    }
}

@media(max-width:600px){
    .planner-summary{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:40px;
    }
}
.stop-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:8px;
}

.stop-top button{
    padding:7px 14px;
    border:none;
    border-radius:10px;
    background:#f8fafc;
    color:#64748b;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:0.25s ease;
    box-shadow:0 4px 10px rgba(0,0,0,0.05);
}

.stop-top button:hover{
    background:#ef4444;
    color:white;
}
.trip-actions{
    display:flex;
    gap:10px;
    margin-top:15px;
}

.planner-btn{
    flex:1;
}

.delete-trip-btn{
    width:110px !important;
    background:#f8fafc !important;
    color:#64748b !important;
    border:none;
    border-radius:15px;
    font-weight:600;
    transition:0.25s;
}

.delete-trip-btn:hover{
    background:#ef4444 !important;
    color:white !important;
}
.toast{
    position:fixed;
    top:25px;
    right:25px;
    background:#0f172a;
    color:white;
    padding:14px 20px;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,0.2);
    z-index:9999;
    font-size:14px;
    animation:slideIn 0.3s ease;
}

.toast.success{
    background:#16a34a;
}

.toast.error{
    background:#dc2626;
}

@keyframes slideIn{
    from{
        opacity:0;
        transform:translateX(30px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}
/* CREATE TRIP PREMIUM REDESIGN */

.create-trip-body{
    background:
        radial-gradient(circle at top left, rgba(221,214,254,0.65), transparent 32%),
        radial-gradient(circle at bottom right, rgba(251,207,232,0.55), transparent 34%),
        linear-gradient(135deg,#f8f5ff,#fdf2f8,#eef2ff);
}

.create-trip-page{
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 520px;
    gap:40px;
    align-items:center;
    padding:50px 8%;
}

.create-trip-hero{
    color:#2e1065;
}

.create-trip-hero span{
    display:inline-block;
    padding:9px 16px;
    border-radius:999px;
    background:rgba(124,58,237,0.1);
    color:#7c3aed;
    font-size:12px;
    letter-spacing:2px;
    font-weight:800;
    margin-bottom:22px;
}

.create-trip-hero h1{
    font-size:56px;
    line-height:1.12;
    max-width:600px;
    margin-bottom:22px;
}

.create-trip-hero p{
    max-width:520px;
    color:#6b5b85;
    font-size:17px;
    line-height:1.9;
    margin-bottom:30px;
}

.create-trip-hero button{
    padding:14px 24px;
    border:none;
    border-radius:16px;
    background:white;
    color:#7c3aed;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 14px 30px rgba(124,58,237,0.15);
}

.premium-trip-card{
    width:100%;
    background:rgba(255,255,255,0.86);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.85);
    box-shadow:0 30px 70px rgba(109,40,217,0.16);
    border-radius:34px;
    padding:42px;
}

.premium-trip-card h1{
    text-align:left;
    margin-bottom:8px;
    color:#2e1065;
    font-size:34px;
}

.premium-trip-card .form-subtitle{
    color:#7c3aed;
    font-size:14px;
    margin-bottom:26px;
}

.premium-trip-card input,
.premium-trip-card textarea{
    background:#f8f5ff;
    border-radius:18px;
    box-shadow:inset 0 0 0 1px rgba(167,139,250,0.24);
    color:#2e1065;
}

.premium-trip-card input:focus,
.premium-trip-card textarea:focus{
    outline:none;
    background:white;
    box-shadow:
        0 0 0 4px rgba(196,181,253,0.35),
        inset 0 0 0 1px rgba(139,92,246,0.35);
}

.date-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.premium-trip-card button{
    border-radius:18px;
    background:linear-gradient(135deg,#7c3aed,#c084fc,#f0abfc);
    box-shadow:0 16px 35px rgba(124,58,237,0.28);
    font-weight:800;
}

.premium-trip-card button:hover{
    transform:translateY(-2px);
}

@media(max-width:900px){
    .create-trip-page{
        grid-template-columns:1fr;
        padding:30px;
    }

    .create-trip-hero h1{
        font-size:40px;
    }

    .date-grid{
        grid-template-columns:1fr;
    }
}
/* FINAL PLANNER FIXES */

.select-trip-box{
    margin-bottom:25px;
}

.timeline-card{
    padding-left:76px !important;
    overflow:visible !important;
}

.timeline-card::before{
    left:36px !important;
    top:34px !important;
    height:calc(100% - 68px) !important;
}

.timeline-dot{
    position:absolute !important;
    left:28px !important;
    top:34px !important;
    margin:0 !important;
    z-index:3 !important;
}

.timeline-content{
    position:relative;
    z-index:4;
}

.stop-top{
    display:flex !important;
    justify-content:space-between !important;
    align-items:flex-start !important;
    gap:18px !important;
    margin-bottom:12px !important;
}

.stop-top h3{
    margin-bottom:6px !important;
    line-height:1.25 !important;
}

.stop-top button{
    width:auto !important;
    min-width:80px !important;
    padding:9px 15px !important;
    border:none !important;
    border-radius:14px !important;
    background:#f8f5ff !important;
    color:#7c3aed !important;
    box-shadow:none !important;
    font-size:13px !important;
    font-weight:700 !important;
    cursor:pointer !important;
}

.stop-top button:hover{
    background:#ef4444 !important;
    color:white !important;
}

.itinerary-box{
    overflow:hidden;
}

@media(max-width:700px){
    .timeline-card{
        padding-left:60px !important;
    }

    .timeline-card::before{
        left:28px !important;
    }

    .timeline-dot{
        left:20px !important;
    }

    .stop-top{
        flex-direction:column !important;
    }
}
/* PREMIUM LANDING REDESIGN */

.landing-body{
    min-height:100vh;
    background:
        radial-gradient(circle at top left, rgba(221,214,254,0.55), transparent 32%),
        radial-gradient(circle at bottom right, rgba(251,207,232,0.45), transparent 34%),
        linear-gradient(135deg,#f8f5ff,#fdf2f8,#eef2ff);
    display:block;
    color:#2e1065;
}

.landing-navbar{
    width:100%;
    padding:26px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.landing-navbar h2{
    font-size:30px;
    font-weight:800;
    color:#2e1065;
}

.landing-navbar a{
    color:#6b5b85;
    text-decoration:none;
    margin-right:26px;
    font-weight:700;
}

.landing-navbar button{
    padding:13px 24px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 14px 30px rgba(124,58,237,0.2);
}

.premium-landing-hero{
    min-height:78vh;
    padding:35px 8% 60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.hero-content{
    max-width:620px;
}

.tagline{
    display:inline-block;
    padding:10px 18px;
    border-radius:999px;
    background:rgba(124,58,237,0.1);
    color:#7c3aed;
    margin-bottom:24px;
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
}

.hero-content h1{
    font-size:68px;
    line-height:1.08;
    color:#2e1065;
    margin-bottom:24px;
    letter-spacing:-2px;
}

.hero-content p{
    font-size:17px;
    line-height:1.9;
    color:#6b5b85;
    margin-bottom:32px;
}

.hero-buttons{
    display:flex;
    gap:16px;
}

.hero-buttons button{
    padding:16px 30px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
    color:white;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 16px 35px rgba(124,58,237,0.22);
}

.hero-buttons .outline-btn{
    background:white;
    color:#7c3aed;
    border:1px solid rgba(124,58,237,0.14);
    box-shadow:0 14px 30px rgba(109,40,217,0.08);
}

.landing-preview-card{
    width:420px;
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.85);
    border-radius:36px;
    overflow:hidden;
    box-shadow:0 30px 75px rgba(109,40,217,0.16);
}

.preview-image{
    height:230px;
    background:
        linear-gradient(rgba(67,56,202,0.12),rgba(88,28,135,0.18)),
        url("https://images.unsplash.com/photo-1493558103817-58b2924bce98?q=80&w=1200&auto=format&fit=crop");
    background-size:cover;
    background-position:center;
}

.preview-content{
    padding:28px;
}

.preview-content span{
    color:#8b5cf6;
    font-size:13px;
    font-weight:800;
}

.preview-content h2{
    color:#2e1065;
    font-size:32px;
    margin:8px 0 22px;
}

.mini-info p{
    background:#faf5ff;
    color:#6b5b85;
    padding:13px 15px;
    border-radius:16px;
    margin-bottom:10px;
}

.mini-plan{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.mini-plan span{
    padding:9px 13px;
    background:#f3e8ff;
    color:#7c3aed;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
}

.premium-features{
    padding:10px 8% 75px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.feature-card{
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,0.85);
    color:#2e1065;
    padding:32px;
    border-radius:30px;
    box-shadow:0 18px 45px rgba(109,40,217,0.08);
}

.feature-card h3{
    font-size:22px;
    margin-bottom:12px;
}

.feature-card p{
    color:#6b5b85;
    line-height:1.8;
}

@media(max-width:950px){
    .premium-landing-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .landing-preview-card{
        width:100%;
    }

    .premium-features{
        grid-template-columns:1fr;
    }

    .hero-content h1{
        font-size:44px;
    }
}
/* DASHBOARD ANALYTICS */

.analytics-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:26px;
}

.analytics-card{
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(16px);
    border:1px solid rgba(255,255,255,0.85);
    border-radius:30px;
    padding:28px;
    box-shadow:0 18px 45px rgba(109,40,217,0.08);
}

.analytics-card span{
    color:#8b5cf6;
    font-size:13px;
    font-weight:700;
}

.analytics-card h2{
    font-size:38px;
    color:#2e1065;
    margin:12px 0;
}

.analytics-card p{
    color:#6b5b85;
    line-height:1.7;
}

.analytics-progress{
    width:100%;
    height:12px;
    background:#ede9fe;
    border-radius:999px;
    overflow:hidden;
    margin-top:18px;
}

.analytics-progress div{
    height:100%;
    border-radius:999px;
    background:linear-gradient(135deg,#7c3aed,#c084fc);
}

.analytics-card.warning .analytics-progress div{
    background:linear-gradient(135deg,#ef4444,#fb7185);
}

.analytics-card.success .analytics-progress div{
    background:linear-gradient(135deg,#10b981,#34d399);
}

@media(max-width:950px){

    .analytics-grid{
        grid-template-columns:1fr;
    }

}
/* FINAL MOBILE RESPONSIVE FIXES */

@media(max-width:1100px){

    .dashboard-layout{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        padding:22px;
    }

    .sidebar-menu{
        flex-direction:row;
        flex-wrap:wrap;
    }

    .sidebar-footer{
        display:none;
    }

    .dashboard-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-glass-card{
        width:100%;
    }

    .planner-grid{
        grid-template-columns:1fr;
    }

    .planner-left{
        order:2;
    }

    .planner-right{
        order:1;
    }

    .create-trip-page{
        grid-template-columns:1fr;
    }

    .auth-card{
        width:100%;
        min-height:auto;
        flex-direction:column;
    }

    .left-panel,
    .right-panel{
        width:100%;
    }

}

@media(max-width:768px){

    body{
        overflow-x:hidden;
    }

    .dashboard-layout{
        padding:14px;
    }

    .dashboard-hero{
        padding:30px 24px;
        border-radius:28px;
    }

    .dashboard-hero h1{
        font-size:38px;
    }

    .hero-description{
        font-size:15px;
    }

    .hero-glass-card{
        padding:24px;
    }

    .hero-glass-card h2{
        font-size:24px;
    }

    .section-top{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .section-top h2{
        font-size:28px;
    }

    .trip-cards-grid{
        grid-template-columns:1fr;
    }

    .planner-page{
        padding:18px;
    }

    .planner-top{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .planner-top h1{
        font-size:36px;
    }

    .planner-summary{
        grid-template-columns:1fr;
    }

    .timeline-card{
        padding-left:62px !important;
    }

    .timeline-card::before{
        left:28px !important;
    }

    .timeline-dot{
        left:20px !important;
    }

    .stop-top{
        flex-direction:column !important;
        align-items:flex-start !important;
    }

    .activity-top{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .create-trip-page{
        padding:20px;
    }

    .create-trip-hero h1{
        font-size:38px;
    }

    .premium-trip-card{
        padding:28px;
    }

    .date-grid{
        grid-template-columns:1fr;
    }

    .landing-navbar{
        flex-direction:column;
        gap:18px;
        text-align:center;
    }

    .premium-landing-hero{
        flex-direction:column;
        padding:30px 6% 50px;
    }

    .hero-content h1{
        font-size:44px;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
    }

    .hero-buttons button{
        width:100%;
    }

    .landing-preview-card{
        width:100%;
    }

    .premium-features{
        grid-template-columns:1fr;
    }

    .analytics-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:480px){

    .sidebar{
        padding:18px;
        border-radius:24px;
    }

    .sidebar h2{
        font-size:24px;
    }

    .sidebar-menu{
        gap:10px;
    }

    .sidebar-item{
        width:100%;
        text-align:center;
    }

    .dashboard-hero h1{
        font-size:32px;
    }

    .hero-small-text{
        font-size:11px;
    }

    .hero-glass-card h2{
        font-size:22px;
    }

    .trip-content h3{
        font-size:22px;
    }

    .trip-meta{
        grid-template-columns:1fr;
    }

    .trip-actions{
        flex-direction:column;
    }

    .delete-trip-btn{
        width:100% !important;
        height:50px;
    }

    .planner-top h1{
        font-size:30px;
    }

    .timeline-card{
        padding:22px 18px 22px 56px !important;
    }

    .timeline-card::before{
        left:24px !important;
    }

    .timeline-dot{
        left:16px !important;
    }

    .create-trip-hero h1{
        font-size:32px;
    }

    .premium-trip-card{
        padding:22px;
        border-radius:24px;
    }

    .premium-trip-card h1{
        font-size:28px;
    }

    .hero-content h1{
        font-size:36px;
    }

    .hero-content p{
        font-size:15px;
    }

    .landing-navbar button{
        width:100%;
    }

}
/* AUTH MOBILE FIX */

@media(max-width:768px){

    .signup-container{
        width:100%;
        min-height:auto;
        border-radius:28px;
        overflow:hidden;
    }

    .left-panel{
        min-height:280px;
        padding:40px 28px;
        justify-content:flex-end;
    }

    .left-panel h1{
        font-size:52px;
        line-height:0.95;
    }

    .left-panel p{
        font-size:15px;
        max-width:100%;
    }

    .travel-badge{
        padding:14px 18px;
        font-size:13px;
    }

    .right-panel{
        padding:40px 24px;
    }

    .form-box h2{
        font-size:42px;
    }

}
/* STRONG AUTH MOBILE CLEANUP */

@media(max-width:600px){

    body:not(.dashboard-body):not(.landing-body){
        padding:16px;
        align-items:flex-start;
    }

    .signup-container{
        width:100%;
        display:block;
        border-radius:26px;
        margin-top:10px;
    }

    .left-panel{
        display:none;
    }

    .right-panel{
        width:100%;
        padding:34px 22px;
        border-radius:26px;
    }

    .form-box{
        max-width:100%;
    }

    .form-box h2{
        font-size:34px;
    }

    .form-subtitle{
        font-size:14px;
        margin-bottom:24px;
    }
}