/* =====================================================
   QUICK SNAPSHOT
   PART - 2A
   File : assets/css/QuickSnapshot.css
======================================================*/

/*==========================
GENERAL
==========================*/

.quickSnapshot{
    background:#f5f7fb;
}

.quickSnapshot .card{
    border:none;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
}

/*==========================
HEADER
==========================*/

.quickSnapshotHeader{

    background:linear-gradient(135deg,#0f172a,#1e3a8a);

    color:#fff;

    padding:10px 20px;

}

.snapshotIcon{

    width:40px;

    height:40px;

    border-radius:18px;

    background:rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

}

.quickSnapshotHeader h2{

    font-size:32px;

    font-weight:700;

    margin:0;

}

.quickSnapshotHeader p{

    margin-top:6px;

    color:rgba(255,255,255,.75);

    font-size:15px;

}

/*==========================
TABLE
==========================*/

.quickSnapshotTable{

    margin:0;

    min-width:1200px;

    border-collapse:separate;

    border-spacing:0;

}

.quickSnapshotTable thead th{

    border:none;

    background:#fff;

    text-align:center;

    padding:25px;

    vertical-align:middle;

}

.quickSnapshotTable tbody td{

    padding:18px 22px;

    border-top:1px solid #edf2f7;

    vertical-align:middle;

    background:#fff;

    transition:.30s;

}

/*==========================
FIRST COLUMN
==========================*/

.detailsColumn{

    min-width:240px;

    width:240px;

    text-align:left !important;

    font-weight:700;

    color:#334155;

    position:sticky;

    left:0;

    z-index:30;

    background:#ffffff !important;

    box-shadow:6px 0 12px rgba(0,0,0,.05);

}

.quickSnapshotTable tbody td:first-child{

    position:sticky;

    left:0;

    z-index:20;

    background:#fff;

    font-weight:600;

    color:#475569;

    white-space:nowrap;

    box-shadow:5px 0 10px rgba(0,0,0,.04);

}

/*==========================
ICONS
==========================*/

.headingIcon{

    width:50px;

    height:50px;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 12px;

    font-size:20px;

}

/*==========================
PROJECT HEADER
==========================*/

.projectHeading{

    border-radius:18px;

    color:#fff;

    padding:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    gap:10px;

    font-weight:700;

    transition:.35s;

    cursor:pointer;

    min-height:130px;

}

.projectHeading i{

    font-size:34px;

}

.projectHeading div:last-child{

    font-size:18px;

}

.projectHeading:hover{

    transform:translateY(-6px);

}

/*==========================
COLORS
==========================*/

.projectHeading.purple{

    background:linear-gradient(135deg,#8b5cf6,#6d28d9);

}

.projectHeading.blue{

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

}

.projectHeading.green{

    background:linear-gradient(135deg,#16a34a,#15803d);

}

/*==========================
ROW EFFECT
==========================*/

.quickSnapshotTable tbody tr{

    transition:.30s;

}

.quickSnapshotTable tbody tr:hover td{

    background:#f8fbff;

}

/*==========================
TEXT
==========================*/

.quickSnapshotTable strong{

    color:#0f172a;

    font-weight:700;

}

.quickSnapshotTable td{

    color:#475569;

    font-size:15px;

}

/*==========================
RESPONSIVE WRAPPER
==========================*/

.table-responsive{

    overflow:auto;

    scrollbar-width:thin;

}

/*=====================================================
PART 2B
Premium Table Body
======================================================*/


/*==========================
BADGES
==========================*/

.quickSnapshot .badge{

    padding:8px 16px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

    letter-spacing:.3px;

}

.badge.bg-success{

    background:#16a34a !important;

}

.badge.bg-primary{

    background:#2563eb !important;

}

.badge.bg-info{

    background:#0891b2 !important;

}

.badge.bg-danger{

    background:#dc2626 !important;

}



/*==========================
BEST VALUE
==========================*/

.bestValue{

    position:relative;

    background:#effdf5 !important;

    color:#15803d !important;

    font-weight:700;

}

.bestValue::after{

    content:"BEST";

    position:absolute;

    top:10px;

    right:10px;

    background:#16a34a;

    color:#fff;

    font-size:10px;

    padding:3px 8px;

    border-radius:20px;

    font-weight:700;

}



/*==========================
PRICE
==========================*/

.quickSnapshotTable tbody tr:nth-child(7) td:not(:first-child){

    font-size:18px;

    font-weight:700;

    color:#0f172a;

}



/*==========================
FIRST COLUMN
==========================*/

.quickSnapshotTable tbody td:first-child{

    background:#f8fafc;

    color:#334155;

    font-weight:600;

    font-size:15px;

}

.quickSnapshotTable tbody td:first-child i{

    width:24px;

    color:#2563eb;

}



/*==========================
USP LIST
==========================*/

.quickSnapshotTable ul{

    margin:0;

    padding:0;

    list-style:none;

}

.quickSnapshotTable ul li{

    display:flex;

    align-items:flex-start;

    gap:10px;

    padding:8px 0;

    line-height:1.6;

    color:#475569;

}

.quickSnapshotTable ul li:last-child{

    padding-bottom:0;

}

.quickSnapshotTable ul li i{

    margin-top:4px;

    color:#16a34a;

}



/*==========================
ROW HOVER
==========================*/

.quickSnapshotTable tbody tr:hover td{

    background:#f8fbff;

    transition:.30s;

}

.quickSnapshotTable tbody tr:hover td:first-child{

    background:#eef5ff;

}



/*==========================
COLUMN HOVER
==========================*/

.quickSnapshotTable tbody td:hover{

    background:#f1f5f9;

}



/*==========================
TABLE BORDER
==========================*/

.quickSnapshotTable tbody tr:last-child td{

    border-bottom:none;

}



/*==========================
PRICE HIGHLIGHT
==========================*/

.quickSnapshotTable strong{

    color:#111827;

    font-weight:700;

}



/*==========================
STATUS TEXT
==========================*/

.quickSnapshotTable td{

    line-height:1.7;

}



/*==========================
HEADER SHADOW
==========================*/

.quickSnapshotTable thead{

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}



/*==========================
PROJECT CARD EFFECT
==========================*/

.projectHeading{

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.projectHeading:hover{

    box-shadow:0 20px 40px rgba(37,99,235,.25);

}



/*==========================
RERA NUMBER
==========================*/

.quickSnapshotTable .badge+.badge,

.quickSnapshotTable .badge+div{

    display:block;

    margin-top:8px;

}

.quickSnapshotTable tbody tr:nth-child(2) td div:last-child{

    font-size:14px;

    color:#64748b;

    font-weight:600;

}



/*==========================
DENSITY
==========================*/

.quickSnapshotTable tbody tr:nth-child(10) td:not(:first-child){

    font-weight:700;

}



/*==========================
SMOOTH TRANSITION
==========================*/

.quickSnapshotTable td,

.projectHeading,

.badge{

    transition:all .3s ease;

}



/*==========================
SCROLLBAR
==========================*/

.table-responsive::-webkit-scrollbar{

    height:10px;

}

.table-responsive::-webkit-scrollbar-track{

    background:#edf2f7;

    border-radius:20px;

}

.table-responsive::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

.table-responsive::-webkit-scrollbar-thumb:hover{

    background:#1d4ed8;

}
/*=====================================================
PART 2C
Responsive + Animation + Final Polish
======================================================*/


/*==========================================
TABLE HEADER STICKY
==========================================*/

.quickSnapshotTable thead th{

    position:sticky;

    top:0;

    z-index:40;

    background:#ffffff;

}


/*==========================================
TABLE CELL
==========================================*/

.quickSnapshotTable td,
.quickSnapshotTable th{

    white-space:nowrap;

}


/*==========================================
USP COLUMN
==========================================*/

.quickSnapshotTable ul{

    min-width:250px;

}

.quickSnapshotTable ul li{

    white-space:normal;

}


/*==========================================
CARD ANIMATION
==========================================*/

.quickSnapshot .card{

    transition:.35s;

}

.quickSnapshot .card:hover{

    transform:translateY(-4px);

    box-shadow:0 25px 60px rgba(0,0,0,.10);

}


/*==========================================
PROJECT HEADER ACTIVE
==========================================*/

.projectHeading.active{

    transform:scale(1.04);

    box-shadow:0 18px 45px rgba(37,99,235,.35);

}


/*==========================================
BEST VALUE GLOW
==========================================*/

.bestValue{

    animation:bestPulse 2.5s infinite;

}

@keyframes bestPulse{

    0%{

        box-shadow:0 0 0 rgba(22,163,74,0);

    }

    50%{

        box-shadow:0 0 18px rgba(22,163,74,.20);

    }

    100%{

        box-shadow:0 0 0 rgba(22,163,74,0);

    }

}


/*==========================================
FADE ANIMATION
==========================================*/

.quickSnapshot tbody tr{

    animation:fadeUp .45s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==========================================
TABLE ROW ALTERNATE
==========================================*/

.quickSnapshotTable tbody tr:nth-child(even) td{

    background:#fcfdff;

}


/*==========================================
IMAGE
==========================================*/

.quickSnapshotHeader img{

    max-height:120px;

}


/*==========================================
TABLET
==========================================*/

@media (max-width:1199px){

.quickSnapshotHeader{

    padding:30px;

}

.quickSnapshotHeader h2{

    font-size:28px;

}

.detailsColumn{

    min-width:220px;

}

.quickSnapshotTable{

    min-width:1050px;

}

}


/*==========================================
LARGE MOBILE
==========================================*/

@media (max-width:991px){

.quickSnapshot{

    padding-top:25px;

    padding-bottom:25px;

}

.quickSnapshotHeader{

    text-align:center;

    padding:25px;

}

.snapshotIcon{

    margin:auto;

}

.quickSnapshotHeader .d-flex{

    display:block !important;

}

.quickSnapshotHeader h2{

    margin-top:20px;

    font-size:26px;

}

.quickSnapshotHeader p{

    font-size:14px;

}

.quickSnapshotHeader img{

    display:none;

}

.detailsColumn{

    min-width:180px;

}

.quickSnapshotTable{

    min-width:900px;

}

.projectHeading{

    min-height:110px;

    padding:15px;

}

.projectHeading i{

    font-size:28px;

}

.projectHeading div:last-child{

    font-size:16px;

}

}


/*==========================================
MOBILE
==========================================*/

@media (max-width:767px){

.quickSnapshot{

    padding:15px 0;

}

.quickSnapshot .card{

    border-radius:15px;

}

.quickSnapshotHeader{

    padding:20px;

}

.snapshotIcon{

    width:55px;

    height:55px;

    font-size:22px;

}

.quickSnapshotHeader h2{

    font-size:22px;

}

.quickSnapshotHeader p{

    font-size:13px;

}

.quickSnapshotTable{

    min-width:820px;

}

.quickSnapshotTable td{

    padding:15px;

    font-size:14px;

}

.quickSnapshotTable th{

    padding:15px;

}

.projectHeading{

    min-height:95px;

    border-radius:12px;

}

.projectHeading i{

    font-size:24px;

}

.projectHeading div:last-child{

    font-size:15px;

}

.bestValue::after{

    font-size:9px;

    padding:2px 6px;

}

}


/*==========================================
SMALL MOBILE
==========================================*/

@media (max-width:576px){

.quickSnapshotHeader{

    padding:18px;

}

.quickSnapshotHeader h2{

    font-size:20px;

}

.quickSnapshotHeader p{

    display:none;

}

.detailsColumn{

    min-width:160px;

}

.quickSnapshotTable{

    min-width:760px;

}

.quickSnapshotTable td{

    font-size:13px;

}

.projectHeading{

    min-height:90px;

}

.projectHeading div:last-child{

    font-size:14px;

}

}


/*==========================================
PRINT
==========================================*/

@media print{

.quickSnapshotHeader{

    background:#ffffff !important;

    color:#000 !important;

}

.projectHeading{

    background:#eeeeee !important;

    color:#000 !important;

}

.table-responsive{

    overflow:visible !important;

}

}


/*==========================================
ACCESSIBILITY
==========================================*/

.projectHeading:focus{

    outline:3px solid rgba(37,99,235,.35);

}

.quickSnapshotTable td:focus{

    outline:2px solid #2563eb;

}


/*==========================================
END
==========================================*/

/* Quick Snapshot Table */

.quickSnapshotTable{
    width:100%;
    table-layout:fixed;
    border-collapse:collapse;
}

.quickSnapshotTable td,
.quickSnapshotTable th{
    white-space:normal !important;
    word-break:break-word;
    overflow-wrap:anywhere;
    vertical-align:top;
    padding:16px;
    line-height:1.6;
}

/* First column (Labels) */
.quickSnapshotTable td:first-child{
    width:180px;
    min-width:180px;
    font-weight:600;
}

/* Project columns */
.quickSnapshotTable td:not(:first-child){
    width:25%;
}

/* USP List */
.quickSnapshotTable ul{
    margin:0;
    padding-left:18px;
}

.quickSnapshotTable li{
    white-space:normal;
    word-break:break-word;
    margin-bottom:10px;
}