
:root {
    --primary: #0756d9;
    --primary-dark: #073e9d;
    --blue-soft: #eef5ff;
    --green: #12a05c;
    --red: #e62945;
    --text: #152238;
    --muted: #667085;
    --border: #e4eaf2;
    --bg: #f4f8fd;
    --white: #fff;
    --shadow: 0 8px 28px rgba(26,64,120,.09);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: calibri;
    background: var(--bg);
    color: var(--text);
}

button, input {
    font: inherit
}

button {
    cursor: pointer
}

a {
    text-decoration: none;
    color: inherit
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg,var(--primary-dark),var(--primary));
    color: #fff;
    box-shadow: 0 3px 18px rgba(0,0,0,.12);
}

.nav {
    max-width: 1180px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .3px
}

.brand-mark {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: 33px;
}

.brand span {
    display: block;
    line-height: 1.09;
}

.brand small {
    font-size: 12px;
    font-weight: 500;
    opacity: .85;
}

.nav-links {
    display: flex;
    gap: 25px;
    font-size: 14px
}

    .nav-links a {
        opacity: .95
    }

.menu {
    display: none;
    font-size: 25px
}

.container {
    max-width: 1180px;
    margin: auto;
    padding: 24px 20px 110px
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.vehicle-card {
    padding: 20px;
    display: grid;
    grid-template-columns: 220px 1fr 105px;
    gap: 24px;
    align-items: center;
    margin-bottom: 20px;
}

.car {
    height: 150px;
    border-radius: 15px;
    background: linear-gradient(135deg,#edf4ff,#f9fbff);
    display: grid;
    place-items: center;
    font-size: 88px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #08783f;
    background: #eafaf1;
    border-radius: 30px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.vehicle-no {
    font-size: 42px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: 1px;
    margin: 0 0 10px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue-soft);
    color: var(--primary);
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.owner {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    font-weight: 700
}

.owner-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #edf2f8;
    display: grid;
    place-items: center
}

.owner small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 11px;
    margin-top: 2px
}

.qr {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    font-size: 10px;
    color: var(--muted)
}

.qr-box {
    width: 78px;
    height: 78px;
    margin: auto auto 6px;
    background: repeating-conic-gradient(#111 0 25%,#fff 0 50%) 50%/10px 10px;
    border: 7px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.contact {
    padding: 24px;
    margin-bottom: 20px
}

.section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 7px
}

.section-sub {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 17px
}

.input-row {
    display: flex;
    border: 1px solid #ccd7e5;
    border-radius: 10px;
    overflow: hidden;
    height: 48px;
    margin-bottom: 12px
}

.country {
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border-right: 1px solid #dbe3ed;
    font-weight: 700
}

.input-row input {
    border: 0;
    outline: 0;
    flex: 1;
    padding: 0 14px;
    min-width: 0
}

.action-row {
    display: grid;
    gap: 14px
}

.btn {
    height: 48px;
    border-radius: 9px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 800;
}

.btn-primary {
    background: var(--primary);
    color: #fff
}

.btn-outline {
    background: #fff;
    color: var(--primary)
}

.btn-whatsapp {
    border-color: #2eaf62;
    color: #159447
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-bottom: 20px
}

.quick {
    padding: 18px 14px;
    text-align: center;
    transition: .2s;
}

    .quick:hover {
        transform: translateY(-2px)
    }

.quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 9px;
    font-size: 24px;
    background: #eaf2ff;
}

.quick:nth-child(2) .quick-icon {
    background: #e9fbf1
}

.quick:nth-child(3) .quick-icon {
    background: #f0ebff
}

.quick:nth-child(4) .quick-icon {
    background: #fff0dc
}

.quick strong {
    font-size: 14px;
    display: block
}

.quick small {
    color: var(--muted);
    font-size: 11px
}

.section {
    padding: 20px;
    margin-bottom: 20px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.view-all {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

.family {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px
}

.person {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 11px
}

.person-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: var(--primary)
}

.person strong {
    font-size: 13px
}

.person small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px
}

.call-small {
    height: 36px;
    width: 100%;
    border: 1px solid #8bb1ff;
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px
}

.service-scroll {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
}

.service {
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 7px;
    background: #fff
}

.service-icon {
    font-size: 25px;
    margin-bottom: 5px
}

.service strong {
    font-size: 11px;
    display: block
}

.service-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

    .service-section .section-title {
        color: var(--red)
    }

.service-section-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 5px;
}

.service-section-item {
    background: #fff;
    border: 1px solid #ffdbe1;
    border-radius: 12px;
    text-align: center;
    padding: 14px 8px;
}

.service-section .eicon {
    font-size: 23px;
    color: var(--red);
    margin-bottom: 5px
}

.service-section strong {
    font-size: 11px;
    display: block
}

.service-section span {
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    display: block;
    margin-top: 3px
}





.emergency {
    border-color: #ffd7de;
    background: #fffafb
}

    .emergency .section-title {
        color: var(--red)
    }

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px
}

.emergency-item {
    background: #fff;
    border: 1px solid #ffdbe1;
    border-radius: 12px;
    text-align: center;
    padding: 14px 8px;
}

    .emergency-item .eicon {
        font-size: 23px;
        color: var(--red);
        margin-bottom: 5px
    }

    .emergency-item strong {
        font-size: 11px;
        display: block
    }

    .emergency-item span {
        color: var(--red);
        font-size: 13px;
        font-weight: 800;
        display: block;
        margin-top: 3px
    }

.d-none {
    display: none !important
}












.bottom-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.accordion {
    overflow: hidden
}

.acc {
    border-bottom: 1px solid var(--border);
}

    .acc:last-child {
        border-bottom: 0
    }

    .acc button {
        width: 100%;
        padding: 14px 2px;
        border: 0;
        background: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        color: var(--text);
        font-size: 13px;
    }

.acc-content {
    display: none;
    color: var(--muted);
    font-size: 12px;
    padding: 0 2px 13px
}

.acc.open .acc-content {
    display: block
}

.acc.open button {
    color: var(--primary)
}

.sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 10px 14px;
}

.sticky-inner {
    max-width: 760px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px
}

.sticky button {
    height: 46px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 800
}

.sticky .call {
    background: var(--primary)
}

.sticky .wa {
    background: #13a65a
}

.sticky .em {
    background: var(--red)
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 82px;
    transform: translate(-50%,20px);
    background: #172033;
    color: #fff;
    padding: 11px 16px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 300;
    font-size: 13px;
}

    .toast.show {
        opacity: 1;
        transform: translate(-50%,0)
    }

@media(max-width:850px) {
    .container {
        padding: 14px 12px 5px;
    }

    .nav {
        padding: 10px 12px;
    }

    .nav-links {
        display: none
    }

    .menu {
        display: block
    }

    .vehicle-card {
        grid-template-columns: 115px 1fr 72px;
        gap: 12px;
        padding: 13px
    }

    .car {
        height: 100px;
        font-size: 60px;
    }

    .vehicle-no {
        font-size: 25px
    }

    .status {
        font-size: 10px;
        padding: 5px 9px
    }

    .badge {
        font-size: 10px;
        padding: 5px 8px
    }

    .owner {
        font-size: 12px;
        margin-top: 5px;
        margin-bottom: 8px;
    }

    .qr {
        padding: 6px;
        font-size: 8px
    }

    .qr-box {
        width: 55px;
        height: 55px
    }

    .contact {
        padding: 15px
    }

    .section-title {
        font-size: 15px
    }

    .section-sub {
        font-size: 11px
    }

    .quick-grid {
        grid-template-columns: repeat(3,1fr);
        gap: 8px
    }

    .quick {
        padding: 11px 4px
    }

    .quick-icon {
        width: 40px;
        height: 40px;
        font-size: 19px
    }

    .quick strong {
        font-size: 11px
    }

    .quick small {
        display: none
    }

    .section {
        padding: 14px;
        margin-bottom: 12px
    }

    .family-grid {
        grid-template-columns: 1fr
    }

    .family {
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .person {
        margin: 0
    }

    .call-small {
        width: 78px
    }

    .service-scroll {
        display: flex;
        overflow-x: auto;
        padding-bottom: 2px
    }

    .service {
        min-width: 76px
    }

    .emergency-grid {
        grid-template-columns: repeat(5,1fr);
        gap: 7px
    }

    .emergency-item {
        padding: 9px 3px
    }

        .emergency-item .eicon {
            font-size: 18px
        }

        .emergency-item strong {
            font-size: 12px;
        }

        .emergency-item span {
            font-size: 10px
        }

    .bottom-sections {
        grid-template-columns: 1fr;
        gap: 12px
    }
}

@media(max-width:430px) {
    .vehicle-card {
        grid-template-columns: 110px 1fr 0px;
    }

    .car {
        height: 82px;
        font-size: 43px
    }

    .vehicle-no {
        font-size: 21px
    }

    .owner {
        font-size: 11px
    }

    .qr-box {
        width: 43px;
        height: 43px;
        border-width: 4px
    }

    .qr {
        font-size: 7px
    }

    .action-row {
        grid-template-columns: 1fr
    }

    .contact .btn {
        height: 44px
    }

    .quick-grid {
        gap: 5px
    }

    .quick {
        border-radius: 12px
    }

    .quick-icon {
        width: 36px;
        height: 36px;
        font-size: 17px
    }

    .emergency-grid {
        grid-template-columns: repeat(4,1fr);
    }

    .sticky-inner {
        gap: 6px
    }

    .sticky button {
        font-size: 10px;
        height: 44px
    }
}

.apply_btn {
    width: 100%;
}

/* Dynamic SMS Notification Modal Card Grid Styling */
.sms-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 0px;
}

.sms-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

    .sms-card-item:hover {
        border-color: #0b4dcc;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(11, 77, 204, 0.15);
        background: #f8fafc;
    }

.sms-card-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
    display: block;
}

.sms-card-title {
    font-size: 0.8rem;
    font-weight: 200;
    color: #1e293b;
    margin: 0;
}
