/* tour-style.css - COMPACT EDITION */

/* 1. Main Popover Card (Compact) */
.driver-popover {
    background-color: #020617 !important; /* Tailwind 'deep' */
    color: #e2e8f0 !important; /* Tailwind 'slate-200' */
    
    /* Dynamic Theme Border */
    border: 1px solid var(--theme-color, #6366f1) !important;
    
    /* Premium Shadow */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), 
                0 0 10px var(--theme-color, #6366f1) !important;
    
    border-radius: 12px !important; /* Thoda chota radius */
    padding: 16px !important;       /* 🔥 Compact Padding (Pehle 24px tha) */
    max-width: 280px !important;    /* 🔥 Compact Width (Pehle 350px tha) */
    font-family: 'Inter', sans-serif !important;
    
    transition: all 0.3s ease-in-out !important;
}

/* 2. Title (Smaller) */
.driver-popover-title {
    font-size: 15px !important;     /* 🔥 Font size kam kiya */
    font-weight: 700 !important;
    margin-bottom: 6px !important;  /* 🔥 Spacing kam ki */
    line-height: 1.2 !important;
    
    /* Gradient Text */
    background: linear-gradient(to right, #ffffff, var(--theme-color, #6366f1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Description Text (Compact) */
.driver-popover-description {
    font-size: 12px !important;     /* 🔥 Readable but small */
    line-height: 1.5 !important;
    color: #94a3b8 !important;      /* Tailwind 'secondary' */
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

/* 4. Footer & Buttons (Tight Layout) */
.driver-popover-footer {
    margin-top: 12px !important;    /* 🔥 Gap kam kiya */
}

.driver-popover-footer button {
    border-radius: 6px !important;
    font-size: 11px !important;     /* 🔥 Button text chota kiya */
    font-weight: 600 !important;
    padding: 6px 14px !important;   /* 🔥 Button size compact kiya */
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    text-shadow: none !important;
}

/* NEXT / DONE Button */
.driver-popover-next-btn {
    background-color: var(--theme-color, #6366f1) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.driver-popover-next-btn:hover {
    filter: brightness(1.2) !important;
    transform: translateY(-1px) !important;
}

/* PREVIOUS Button */
.driver-popover-prev-btn {
    background-color: transparent !important;
    color: #64748b !important;
    border: 1px solid #334155 !important;
}

.driver-popover-prev-btn:hover {
    color: #f8fafc !important;
    border-color: #94a3b8 !important;
}

/* 5. Close Button (Tiny) */
.driver-popover-close-btn {
    color: #64748b !important;
    background: transparent !important;
    padding: 4px !important;
    top: 10px !important;
    right: 10px !important;
}
.driver-popover-close-btn:hover {
    color: #ef4444 !important;
}

/* 6. Arrows (Match Dark BG) */
.driver-popover-arrow-side-left.driver-popover-arrow { border-left-color: #020617 !important; }
.driver-popover-arrow-side-right.driver-popover-arrow { border-right-color: #020617 !important; }
.driver-popover-arrow-side-top.driver-popover-arrow { border-top-color: #020617 !important; }
.driver-popover-arrow-side-bottom.driver-popover-arrow { border-bottom-color: #020617 !important; }