/* ========== DASHBOARD ========== */

.snc-dashboard {
    max-width: 100%;
}

/* FILTER */
.snc-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.snc-filter input {
    padding: 6px 8px;
    max-width: 180px;
}

.snc-btn {
    background: #0b5ed7;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* ===== CARDS (OLD STYLE LIKE BEFORE) ===== */
.snc-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.snc-card {
    background: #fff;
    border-radius: 6px;
    padding: 14px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON */
.snc-card .icon {
    font-size: 22px;
}

/* TEXT */
.snc-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.snc-card h3 {
    margin: 4px 0 0;
    font-size: 20px;
    font-weight: 600;
}

/* LEFT BORDER COLORS (LIKE OLD DASHBOARD) */
.blue   { border-left: 4px solid #0b5ed7; }
.green  { border-left: 4px solid #198754; }
.orange { border-left: 4px solid #fd7e14; }
.purple { border-left: 4px solid #6f42c1; }

/* RECENT BOOKINGS */
.snc-recent {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
}

/* ===== FORCE DASHBOARD CARDS FIX ===== */
.snc-dashboard .snc-cards {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
}

.snc-dashboard .snc-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

.snc-dashboard .snc-card .icon {
    font-size: 22px !important;
}

.snc-dashboard .snc-card p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #666 !important;
}

.snc-dashboard .snc-card h3 {
    margin: 4px 0 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

/* COLORS */
.snc-dashboard .blue   { border-left: 4px solid #0b5ed7 !important; }
.snc-dashboard .green  { border-left: 4px solid #198754 !important; }
.snc-dashboard .orange { border-left: 4px solid #fd7e14 !important; }
.snc-dashboard .purple { border-left: 4px solid #6f42c1 !important; }


/* ===== DASHBOARD CARDS ===== */
.snc-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.snc-dash-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.snc-dash-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.snc-dash-card .content span {
    font-size: 14px;
    color: #777;
}

.snc-dash-card .content strong {
    display: block;
    font-size: 28px;
    margin-top: 4px;
}

/* Card Colors */
.snc-dash-card.blue .icon { background: #2563eb; }
.snc-dash-card.green .icon { background: #16a34a; }
.snc-dash-card.purple .icon { background: #7c3aed; }

/* ===== QUICK ACTIONS ===== */
.snc-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.qa-btn {
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.qa-btn:hover {
    transform: translateY(-2px);
}

.qa-btn.blue {
    background: #1d4ed8;
    color: #fff;
}

.qa-btn.green {
    background: #16a34a;
    color: #fff;
}

.qa-btn.light {
    background: #f1f5f9;
    color: #111;
}



/* ===============================
   DASHBOARD CARDS HEIGHT FIX
================================ */
.snc-dash-card {
    min-height: 150px;          /* pehle ~120 thi */
    padding: 25px 30px;
    display: flex;
    align-items: center;
}

/* ===============================
   QUICK ACTION BUTTONS DEFAULT
================================ */
.snc-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.snc-quick-actions .qa-btn {
    background: #f2f4f7;        /* light grey */
    color: #111;
    font-weight: 600;
    padding: 18px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

/* ===============================
   QUICK ACTION HOVER (BLUE)
================================ */
.snc-quick-actions .qa-btn:hover {
    background: #1e40af;        /* same blue as heading */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.25);
}

/* icons color fix on hover */
.snc-quick-actions .qa-btn:hover i,
.snc-quick-actions .qa-btn:hover span {
    color: #ffffff;
}




/* FIX CARD HEIGHT */
.snc-dash-card {
    min-height: 160px;
}

/* QUICK ACTION SECTION HEIGHT */
.snc-section-body {
    min-height: 160px;
}

/* APPLY BUTTON SAME LINE */
.snc-row.snc-col-4 {
    align-items: center;
}

/* FIX DASHBOARD FILTER ALIGNMENT */
.snc-row.snc-col-4 {
    align-items: center;
}

.snc-row.snc-col-4 input[type="date"] {
    height: 46px;
}

.snc-row.snc-col-4 .snc-save-btn {
    height: 46px;           /* same as date input */
    padding: 0 26px;
    margin-top: 0;          /* remove vertical shift */
}




/* =====================================
   DASHBOARD FILTER — FINAL PERFECT FIX
===================================== */

/* overall section — height tight */
.snc-dashboard-filter {
    padding: 0 !important;
}

/* header height normal */
.snc-dashboard-filter .snc-section-header {
    padding: 10px 18px !important;
}

/* body — sirf ek line jitni height */
.snc-dashboard-filter .snc-section-body {
    padding: 12px 18px !important;
}

/* row layout */
.snc-dashboard-filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 !important;
}

/* DATE FILTER — pehle jaisi width */
.snc-dashboard-filter-row input[type="date"] {
    height: 44px;
    width: 280px;          /* 👈 width kam (original feel) */
}

/* APPLY BUTTON — pehle jaisi height & width */
.snc-dashboard-filter-row .snc-save-btn {
    height: 44px;          /* 👈 date ke barabar */
    min-width: 240px;      /* 👈 pehle jaisi width */
    padding: 0 32px;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* remove any hidden spacing */
.snc-dashboard-filter form,
.snc-dashboard-filter-row {
    padding: 0 !important;
    margin-bottom: 0 !important;
}



/* =====================================
   DASHBOARD FILTER — FORCE HEIGHT CUT
===================================== */

.snc-dashboard-filter {
    padding-bottom: 14px !important;
}

/* section body ko bilkul tight */
.snc-dashboard-filter .snc-section-body {
    padding-bottom: 8px !important;
padding-top: 20px !important;

}

/* kisi bhi extra height / min-height ko remove */
.snc-dashboard-filter,
.snc-dashboard-filter .snc-section-body,
.snc-dashboard-filter .snc-section {
    min-height: unset !important;
    height: auto !important;
}

/* row ke neeche wali space hatao */
.snc-dashboard-filter-row {
    margin-bottom: 0 !important;
}

/* agar kisi div ne blank space pakar rakhi ho */
.snc-dashboard-filter .snc-section-body > *:last-child {
    margin-bottom: 0 !important;
}



/* =====================================
   BOOKINGS FILTER – HARD HEIGHT OVERRIDE
===================================== */

.snc-section.booking-filter {
    margin-bottom: 12px !important;
}

.snc-section.booking-filter .snc-section-header {
    padding: 10px 16px !important;
}

.snc-section.booking-filter .snc-section-body {
    padding: 8px 16px !important;
}

.snc-section.booking-filter form {
    margin: 0 !important;
}

/* row ke extra gap remove */
.snc-section.booking-filter .snc-row {
    margin: 0 !important;
    row-gap: 10px;
}

/* inputs + button same height */
.snc-section.booking-filter input,
.snc-section.booking-filter button {
    height: 42px !important;
}

/* search button second row me hi rahe */
.snc-section.booking-filter .snc-save-btn {
    margin-top: 10px !important;
}









/* =========================================
   DASHBOARD CARDS — MATCH LEDGER STYLE
========================================= */

.snc-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

/* Card base */
.snc-dashboard-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 26px 26px 80px; /* left space for icon */
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

/* Hover animation (same as ledger) */
.snc-dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}



/* ICON CIRCLE */
.snc-dashboard-card::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* Title text */
.snc-dashboard-card .card-title {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Value text */
.snc-dashboard-card .card-value {
    font-size: 28px;
    font-weight: 700;
    color: #6b7280; /* soft gray like ledger */
}

/* =========================================
   DASHBOARD CARD ICONS & COLORS
========================================= */

/* Total Bookings */
.snc-dashboard-card:nth-child(1)::before,
.snc-dashboard-card:nth-child(1)::after {
    background: #2563eb;
}
.snc-dashboard-card:nth-child(1)::after {
    content: "📦";
}

/* Total Revenue */
.snc-dashboard-card:nth-child(2)::before,
.snc-dashboard-card:nth-child(2)::after {
    background: #16a34a;
}
.snc-dashboard-card:nth-child(2)::after {
    content: "💰";
}

/* Active Customers */
.snc-dashboard-card:nth-child(3)::before,
.snc-dashboard-card:nth-child(3)::after {
    background: #7c3aed;
}
.snc-dashboard-card:nth-child(3)::after {
    content: "👥";
}

/* Responsive (same size feel) */
@media (max-width: 768px) {
    .snc-dashboard-card {
        padding: 22px 22px 22px 72px;
    }

    .snc-dashboard-card .card-value {
        font-size: 26px;
    }
}






/* =====================================================
   DASHBOARD CARDS — FORCE MATCH LEDGER CARDS (FINAL)
   (NO SIZE / HEIGHT CHANGE)
===================================================== */

/* cards grid — same spacing as ledger */
.snc-dashboard-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    margin: 24px 0 !important;
}

/* card base */
.snc-dashboard-cards .snc-dash-card {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 26px 26px 26px 80px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important;
    transition: all 0.25s ease !important;
}

/* hover — EXACT ledger animation */
.snc-dashboard-cards .snc-dash-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 36px rgba(0,0,0,0.08) !important;
}

/* LEFT COLOR STRIP */
.snc-dashboard-cards .snc-dash-card::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 14px !important;
    bottom: 14px !important;
    width: 6px !important;
    border-radius: 6px !important;
}

/* ICON CIRCLE */
.snc-dashboard-cards .snc-dash-card::after {
    content: "" !important;
    position: absolute !important;
    left: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* title */
.snc-dashboard-cards .snc-dash-card .content span {
    font-size: 15px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
}

/* value */
.snc-dashboard-cards .snc-dash-card .content strong {
    display: block !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
}

/* ===== COLORS + ICONS (MATCH LEDGER) ===== */

/* Total Bookings */
.snc-dashboard-cards .snc-dash-card.blue::before,
.snc-dashboard-cards .snc-dash-card.blue::after {
    background: #2563eb !important;
}
.snc-dashboard-cards .snc-dash-card.blue::after {
    content: "📦" !important;
}

/* Total Revenue */
.snc-dashboard-cards .snc-dash-card.green::before,
.snc-dashboard-cards .snc-dash-card.green::after {
    background: #16a34a !important;
}
.snc-dashboard-cards .snc-dash-card.green::after {
    content: "💰" !important;
}

/* Active Customers */
.snc-dashboard-cards .snc-dash-card.purple::before,
.snc-dashboard-cards .snc-dash-card.purple::after {
    background: #7c3aed !important;
}
.snc-dashboard-cards .snc-dash-card.purple::after {
    content: "👥" !important;
}

/* responsive — SAME ledger feel */
@media (max-width: 768px) {
    .snc-dashboard-cards .snc-dash-card {
        padding: 22px 22px 22px 72px !important;
    }

    .snc-dashboard-cards .snc-dash-card .content strong {
        font-size: 26px !important;
    }
}



/* =========================================
   DASHBOARD — REMOVE OLD ICON COMPLETELY
========================================= */

/* purana icon element hide karo */
.snc-dashboard-cards .snc-dash-card .icon {
    display: none !important;
}

/* agar icon image / i / svg use ho rahi ho */
.snc-dashboard-cards .snc-dash-card .icon *,
.snc-dashboard-cards .snc-dash-card i,
.snc-dashboard-cards .snc-dash-card svg {
    display: none !important;
}



/* =========================================
   DASHBOARD — REMOVE LEFT CURVED COLOR LINE
========================================= */

.snc-dashboard-card::before {
    display: none !important;
}




/* =========================================
   REMOVE OLD THIN LEFT BORDER (BACKGROUND LINE)
========================================= */

/* purani slim border-left remove */
.snc-dashboard-cards .snc-dash-card {
    border-left: none !important;
}

/* agar kisi aur rule se aa rahi ho */
.snc-dashboard .snc-dash-card {
    border-left: none !important;
}

