/* === Design tokens === */
:root {
    --background: hsl(210 40% 99%);
    --foreground: hsl(222 47% 11%);
    --card: hsl(0 0% 100%);
    --muted: hsl(210 40% 96%);
    --muted-foreground: hsl(215 16% 47%);
    --primary: hsl(220 90% 50%);
    --primary-foreground: hsl(0 0% 100%);
    --accent: #e66d23;
    --border: hsl(214 32% 91%);
    --gradient-hero: linear-gradient(135deg, hsl(220 90% 50%) 0%, hsl(230 85% 60%) 50%, hsl(250 80% 65%) 100%);
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
    --shadow-soft: 0 4px 20px -4px hsl(220 50% 30% / .08);
    --shadow-elegant: 0 20px 50px -15px hsl(220 90% 50% / .25);
    --shadow-card: 0 2px 12px -2px hsl(220 30% 30% / .06);
    --radius: 14px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: -.02em;
    margin: 0
}

p {
    margin: 0
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

.container-narrow {
    max-width: 780px
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-sm {
    padding: .45rem .9rem;
    font-size: .85rem
}

.btn-lg {
    padding: .85rem 1.4rem;
    font-size: 1rem
}

.btn-hero {
    background: var(--gradient-hero);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft)
}

.btn-hero:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-1px)
}

.btn-outline {
    background: var(--accent);
    border-color: var(--border);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-1px)
}

.btn-light {
    background: #fff;
    color: var(--foreground)
}

.btn-light:hover {
    background: hsl(210 40% 96%)
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
    color: #fff
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .1)
}

.btn-accent {
    background: var(--accent);
    color: #080808;
}

.store-buttons {
    display: flex;
    gap: 10px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000;
    color: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.store-btn:hover {
    opacity: 0.85;
    color: #000
}

.store-btn .icon {
    width: 24px;
    height: 24px;
}

.store-btn .apple {
    fill: #fff;
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: hsl(210 40% 99% / .8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid hsl(214 32% 91% / .6)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient-hero);
    box-shadow: var(--shadow-soft);
    position: relative
}

.brand-mark::after {
    background-image: url(../images/logo-100.png);
    background-size: 36px;
    background-repeat: no-repeat;
    background-position: center;
    content: "🛡";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px
}

.brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #155598;
}

.brand-accent {
    color: var(--accent)
}

.nav-desktop {
    display: none;
    gap: 2rem
}

.nav-desktop a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color .2s
}

.nav-desktop a:hover {
    color: var(--foreground)
}

.nav-cta {
    display: none
}

.nav-toggle {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--foreground)
}

.nav-mobile {
    display: none;
    border-top: 1px solid hsl(214 32% 91% / .6);
    background: #fff
}

.nav-mobile .container {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-top: 1rem;
    padding-bottom: 1rem
}

.nav-mobile a {
    padding: .6rem .8rem;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500
}

.nav-mobile a:hover {
    background: var(--muted)
}

body.nav-open .nav-mobile {
    display: block
}

@media(min-width:768px) {
    .nav-desktop {
        display: flex
    }

    .nav-cta {
        display: inline-flex
    }

    .nav-toggle {
        display: none
    }

    body.nav-open .nav-mobile {
        display: none
    }
}

/* === Hero === */
.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0
}

.hero-blob {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: .2
}

.hero-blob-1 {
    top: -100px;
    right: -100px;
    background: var(--primary)
}

.hero-blob-2 {
    bottom: -100px;
    left: -100px;
    background: var(--accent)
}

.hero-grid {
    display: grid;
    gap: 48px
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem 1rem;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: .78rem;
    font-weight: 500;
    box-shadow: var(--shadow-soft)
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 1rem 0
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    font-size: .85rem;
    color: var(--muted-foreground)
}

.stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--foreground)
}

.hero-image-wrap {
    position: relative
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: var(--gradient-hero);
    opacity: .2;
    filter: blur(40px);
    z-index: -1
}

.hero-image-wrap img {
    border-radius: 24px;
    box-shadow: var(--shadow-elegant)
}

@media(min-width:1024px) {
    .hero {
        padding: 96px 0
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center
    }
}

/* === Sections === */
.section {
    padding: 80px 0
}

.section-muted {
    background: hsl(210 40% 96% / .4)
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center
}

.eyebrow {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    margin-bottom: .75rem
}

.section-head h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700
}

.section-desc {
    margin-top: 1rem;
    color: var(--muted-foreground)
}

.grid {
    display: grid;
    gap: 1.5rem
}

.grid-2 {
    grid-template-columns: 1fr
}

.grid-3 {
    grid-template-columns: 1fr
}

.grid-4 {
    grid-template-columns: 1fr
}

@media(min-width:768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr)
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr)
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(min-width:1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr)
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr)
    }
}

.card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all .3s ease
}

/* Features */
.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant)
}

.feature-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: hsl(220 90% 50% / .1);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: .5rem
}

.feature p {
    font-size: .9rem;
    color: var(--muted-foreground)
}

/* Steps */
.step {
    position: relative;
    padding-top: 1.75rem
}

.step-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--gradient-hero);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 999px;
    box-shadow: var(--shadow-soft)
}

.step-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: hsl(0 75% 55% / .1);
    color: var(--accent);
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .4rem
}

.step p {
    font-size: .85rem;
    color: var(--muted-foreground)
}

.result-card {
    max-width: 780px;
    margin: 40px auto 0
}

.result-card h4 {
    font-weight: 600;
    margin-bottom: .75rem
}

.result-card ul {
    display: grid;
    gap: .5rem;
    font-size: .9rem;
    color: var(--muted-foreground)
}

@media(min-width:768px) {
    .result-card ul {
        grid-template-columns: 1fr 1fr
    }
}

/* App cards */
.app-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start
}

.app-card:hover {
    box-shadow: var(--shadow-elegant)
}

.app-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-hero);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft)
}

.app-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .25rem
}

.app-card p {
    font-size: .9rem;
    color: var(--muted-foreground)
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 1.25rem;
    box-shadow: var(--shadow-card)
}

.faq-question {
    margin: 0;
    font-size: 1rem
}

.faq-trigger {
    width: 100%;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    font-weight: 600;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left
}

.faq-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--muted-foreground)
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transition: transform .2s
}

.faq-icon::before {
    width: 1rem;
    height: 2px;
    transform: translate(-50%, -50%)
}

.faq-icon::after {
    width: 2px;
    height: 1rem;
    transform: translate(-50%, -50%)
}

.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) scaleY(0)
}

.faq-answer {
    display: none;
    padding: 0 0 1rem;
    color: var(--muted-foreground);
    font-size: .95rem
}

.faq-answer p {
    margin: 0
}

.faq-item.is-open .faq-answer {
    display: block
}

/* CTA */
.cta {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 48px;
    background: var(--gradient-hero);
    color: #fff;
    box-shadow: var(--shadow-elegant)
}

.cta-blob {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(60px)
}

.cta-blob-1 {
    top: -80px;
    right: -80px;
    background: rgba(255, 255, 255, .1)
}

.cta-blob-2 {
    bottom: -80px;
    left: -80px;
    background: hsl(0 75% 55% / .25)
}

.cta-grid {
    position: relative;
    display: grid;
    gap: 2rem
}

.cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700
}

.cta p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, .9)
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

@media(min-width:640px) {
    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap
    }
}

@media(min-width:768px) {
    .cta {
        padding: 64px
    }

    .cta-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center
    }

    .cta-actions {
        justify-content: center
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background: var(--card)
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding: 40px 24px
}

.footer h4 {
    font-weight: 600;
    margin-bottom: .75rem;
    font-size: 1rem
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .9rem;
    color: var(--muted-foreground)
}

.footer ul a:hover {
    color: var(--foreground)
}

.footer-desc {
    margin-top: .75rem;
    font-size: .9rem;
    color: var(--muted-foreground)
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 24px;
    text-align: center;
    font-size: .78rem;
    color: var(--muted-foreground)
}

@media(min-width:768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* Lookup form */
.lookup {
    padding: 0 0 24px
}

.lookup-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: var(--shadow-elegant);
    margin-top: -40px
}

.lookup-head {
    text-align: center;
    margin-bottom: 1.5rem
}

.lookup-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: hsl(var(--primary)/.1);
    color: hsl(var(--primary));
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .75rem
}

.lookup-head h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    margin-bottom: .4rem
}

.lookup-head p {
    color: var(--muted-foreground);
    font-size: .95rem
}

.lookup-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr
}

.lookup-field {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.lookup-field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--foreground)
}

.lookup-field input,
.lookup-field select {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--background);
    font-size: .95rem;
    font-family: inherit;
    color: var(--foreground);
    transition: border-color .2s, box-shadow .2s
}

.lookup-field input:focus,
.lookup-field select:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary)/.15)
}

.lookup-field-submit {
    justify-content: flex-end
}

.lookup-field-submit .btn {
    height: 48px;
    width: 100%
}

.lookup-note {
    text-align: center;
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--muted-foreground)
}

@media(min-width:768px) {
    .lookup-card {
        padding: 40px
    }

    .lookup-form {
        grid-template-columns: 200px 1fr 180px;
        align-items: end
    }
}

/* Lookup form */
.lookup {
    padding: 0 0 24px;
}

.lookup-container {
    max-width: 1000px;
}

.lookup-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: var(--shadow-elegant);
    margin-top: -40px;
}

.lookup-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.lookup-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: hsl(var(--primary)/.1);
    color: hsl(var(--primary));
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.lookup-head h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    margin-bottom: .4rem;
}

.lookup-head p {
    color: var(--muted-foreground);
    font-size: .95rem;
}

.lookup-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.lookup-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.lookup-field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--foreground);
}

.lookup-field input,
.lookup-field select {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--background);
    font-size: .95rem;
    font-family: inherit;
    color: var(--foreground);
    transition: border-color .2s, box-shadow .2s;
}

.lookup-field input:focus,
.lookup-field select:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary)/.15);
}

.lookup-field-submit {
    justify-content: flex-end;
}

.lookup-field-submit .btn {
    height: 48px;
    width: 100%;
}

.lookup-note {
    text-align: center;
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--muted-foreground);
}

@media(min-width:768px) {
    .lookup-card {
        padding: 40px
    }

    .lookup-form {
        grid-template-columns: 200px 1fr 180px;
        align-items: end
    }
}

@media (max-width:767px) {
    #lookup {
        padding: 0px;
    }

    .lookup-container {
        padding: 0;
        max-width: 100%;
    }

    .lookup-card {
        border-radius: 0px;
        padding-top: 80px;
    }

    .hero-grid {
        gap: 24px;
    }
}


/* modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay--visible {
    display: flex;
}

.modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

.modal__header {
    padding: 1.5rem;
    background: var(--primary);
    color: white;
    position: relative;
}

.modal__title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal__body {
    padding: 1.5rem;
    overflow-x: auto;
    max-height: 500px;
}

.modal__grid {
    display: grid;
    gap: 1rem;
}

.modal__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.modal__input,
.modal__select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
}

.modal__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem 0;
}

.modal__checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.modal__checkbox label {
    font-size: 0.95rem;
    color: #374151;
}

.modal__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modal__btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal__footer {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}


/* tra cứu vi phạm */

.tracuuphatnguoi__notification,
.tracuuphatnguoi__notification_history {
    transition: all 0.3s ease;
    text-align: left;
    color: black;
}

.tracuuphatnguoi__notification .notif-text,
.tracuuphatnguoi__notification_history .notif-text {
    font-size: 11px;
    color: #555;
    line-height: 1.2;
}

.tracuuphatnguoi__notification .notif-text a,
.tracuuphatnguoi__notification_history .notif-text a {
    color: #0073e6;
    text-decoration: none;
}

.tracuuphatnguoi__notification .notif-text a:hover,
.tracuuphatnguoi__notification_history .notif-text a:hover {
    text-decoration: underline;
}

.tracuuphatnguoi__notification .error,
.tracuuphatnguoi__notification_history .error {
    color: #f00;
    text-align: center;
    padding: 10px;
}

.tracuuphatnguoi__notification .text-center,
.tracuuphatnguoi__notification_history .text-center {
    text-align: center;
}

.tracuuphatnguoi__notification .p-4,
.tracuuphatnguoi__notification_history .p-4 {
    padding: 1rem;
}

.tracuuphatnguoi__form button {
    width: 100%;
    background-color: #b20404;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tracuuphatnguoi__form button:hover {
    background-color: #e20606;
}

@media (max-width: 600px) {
    .tracuuphatnguoi__content {
        flex-direction: column;
    }

    .tracuuphatnguoi__form {
        padding: 20px 10px;
    }

    .tracuu_wrapper {
        padding: 0;
    }
}

.address {
    color: #333;
    list-style: none;
}

.address i:before,
.phone i:before {
    display: inline-block;
    min-width: 16px;
}

.status-chua-xu-phat,
.status-da-xu-phat {
    padding: 1px 5px;
    border-radius: 5px;
    border: 1px solid;
}

.status-chua-xu-phat {
    border-color: red;
    color: red;
}

.status-da-xu-phat {
    border-color: rgb(10, 122, 10);
    color: rgb(10, 122, 10);
}

.summary-status-da-xu-phat {
    color: rgb(10, 122, 10);
}

.summary-status-chua-xu-phat {
    color: red;
}

.parameter {
    border-top: 1px dotted #ccc;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

.parameter> :first-child {
    min-width: 150px;
}

@media (min-width: 768px) {
    .parameter {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
}

.violation__static {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background-color: #fff;
}

.violation__static.bg-red-300 {
    background-color: rgb(252 165 165);
    color: #b20404;
}

.violation__static.bg-blue-100 {
    background-color: rgb(219 234 254);
    color: #4b7fa7;
}

.violation__static.bg-green-100 {
    background-color: rgb(220 252 231);
    color: #0a7a0a;
}

.violation__static__title {
    font-size: 1.2rem;
    font-weight: bold;
    display: grid;
    text-align: center;
    margin-bottom: 0.5rem;
}

.violation__static__title span {
    white-space: nowrap;
}

@media (min-width: 768px) {
    .violation__static {
        padding: 1rem;
    }

    .violation__static__title {
        display: block;
    }
}

.violation__static-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.violation__static__value {
    font-size: 1.875rem;
    font-weight: bold;
    line-height: 2.25rem;
    text-align: center;
}

.hanh_vi_vi_pham__detail {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 8px;
}


.tracuuphatnguoi__notification details,
.tracuuphatnguoi__notification_history details {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgb(229 231 235);
}

.tracuuphatnguoi__notification summary,
.tracuuphatnguoi__notification_history summary {
    color: #b20404;
    font-size: 1.1rem;
    cursor: pointer;
}


.tracuuphatnguoi__notification section,
.tracuuphatnguoi__notification_history section {
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.tracuuphatnguoi__notification h3,
.tracuuphatnguoi__notification_history h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {

    .tracuuphatnguoi__notification h3,
    .tracuuphatnguoi__notification_history h3 {
        text-align: left;
    }

    .violation__static-wrapper {
        gap: 24px;
    }
}

.font-bold {
    font-weight: bold;
}


.parameter ul {
    list-style: none;
    padding-left: 0;
}

.parameter ul li ul {
    padding-left: 1rem;
}

.tong_hop_vi_pham__title {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tong_hop_vi_pham__title::before {
    content: '\f0f7';
    /* Tailwind/FontAwesome list-ul */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.tracuuphatnguoi__notification .title,
.tracuuphatnguoi__notification_history .title {
    font-size: 1.5rem;
    color: #b20404;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tracuuphatnguoi__notification a,
.tracuuphatnguoi__notification_history a {
    color: #0073e6;
    text-decoration: underline;
    margin-left: 0.5rem;
}


.tracuuphatnguoi__form .detail-list {
    margin-left: 15px;
}

.tracuuphatnguoi__history {
    max-width: 450px;
    margin: 20px auto 0;
}

.tracuuphatnguoi__history__title {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tracuuphatnguoi__history__list {
    list-style: none;
    padding-left: 0;
}

.tracuuphatnguoi__history__item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    margin-bottom: 0.5rem;
    align-items: center;
}

.tracuuphatnguoi__history__item__plate {
    justify-self: start;
}

.tracuuphatnguoi__history__item__date,
.tracuuphatnguoi__history__item__check {
    justify-self: end;
}

.tracuuphatnguoi__history__item__check,
.recheck {
    margin-left: 0.5rem;
    padding: 2px 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
    outline: none;
    white-space: nowrap;
    width: fit-content;
}

.tracuuphatnguoi__history__item__check:hover,
.recheck:hover {
    background: #e20606;
}

.tracuuphatnguoi__history__item__plate {
    font-weight: bold;
}

.tracuuphatnguoi__history__item__date {
    font-size: 0.9rem;
    color: #555;
    margin-left: 0.5rem;
}

.recheck {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
}