/* ==========================================================================
   NIA Notice Verification Module - Central Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Responsive Layout & Media Queries
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .navbar-nav {
        flex-direction: column !important;
    }
}

@media screen and (max-width: 767px) {
    /* .bg-nia-navy, .btn-outline-secondary {
        width: 100%;
    } */

    .card-footer {
        justify-content: center !important;
    }

    .app-footer {
        text-align: center;
    }

    .app-content-header {
        padding: 18px 8px !important;
    }

    .custom-width {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .verify-method-container {
        flex-direction: column;
    }
    .verify-method-btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* --------------------------------------------------------------------------
   2. Typography & Form Controls
   -------------------------------------------------------------------------- */
.form-label {
    font-weight: 600;
    font-size: 14px;
}

input, textarea, select {
    font-size: 14px;
}

a {
    text-decoration: none;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

/* --------------------------------------------------------------------------
   3. Cards, Tables, Pagination & Layout Elements
   -------------------------------------------------------------------------- */
.card-title {
    font-weight: 500;
    color: #0b2545;
    border-left: 2px solid #b0a732;
    padding-left: 10px;
}

table thead tr th {
    background: #0b2545 !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
}

table td button {
    width: fit-content !important;
}

table tbody tr td {
    font-size: 14px;
}

.app-content-header {
    padding: 8px !important;
}

.app-content-header h3 {
    font-size: 20px;
    font-weight: 500;
    border-left: 2px solid #b0a732;
    padding-left: 10px;
}

.card-header:after, .card-body:after, .card-footer:after {
    display: none;
}

.card-footer p, .card-footer ul {
    margin-bottom: 0;
}

.card-footer p {
    padding-right: 20px;
}

.card-footer ul.pagination li.active span {
    background: #0b2545 !important;
    border: 1px solid #0b2545;
}

.card-footer ul.pagination li a {
    color: #000000ad;
}

.card-body, .card {
    margin-bottom: 0px;
}

.card-mt-sm {
    margin-top: 8px;
}

form#notice-form {
    margin-top: 20px;
}

.custom-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-check i {
    font-size: 17px;
    color: #0f2f58;
}

.custom-check input {
    display: flex;
    align-items: center;
}

.custom-check span {
    color: #000000b0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.custom-size {
    width: 46px;
    height: 46px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.custom-size i {
    font-size: 24px !important;
}

.custom-width {
    display: flex;
    align-items: start;
}

.custom-width span {
    width: 200px;
    min-width: 200px;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Public Navbar & Admin Header/Sidebar)
   -------------------------------------------------------------------------- */
.logo-sec {
    display: block;
}

a.logo-align {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
    padding: 5px 0;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 99;
}

a.logo-align img {
    width: 91px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

a.logo-align h3 {
    font-size: 65px;
    line-height: 1;
    margin: 0;
    padding: 0 10px 0 5px;
    font-weight: 700;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

a.logo-align h4 {
    font-size: 14px;
    line-height: 1.15;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

a.logo-align h4 .main-txt {
    display: block;
}

.portal-name-txt {
    font-size: 20px;
    font-weight: 700;
}

/* Admin-specific header & sidebar compact logo sizes */
.app-header a.logo-align img,
.app-sidebar a.logo-align img {
    width: 91px;
}

.app-header a.logo-align h3,
.app-sidebar a.logo-align h3 {
    font-size: 20px;
}

.app-header a.logo-align h4,
.app-sidebar a.logo-align h4 {
    font-size: 10px;
}

/* Sticky Header */
.sticky_custom a.logo-align img {
    width: 65px;
}

.sticky_custom a.logo-align h3 {
    font-size: 38px;
}

.sticky_custom a.logo-align h4 {
    font-size: 11px;
}

.img.emb-logo {
    width: 40px;
}

.emb-logo {
    filter: invert(1);
    width: 47px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
}

img.emb-logo {
    width: 50px;
}

.top-right-nav {
    background: #01103C;
}

.top-right-nav ul.rigt_side_list {
    display: flex;
    padding: 0;
    list-style: none;
    align-items: center;
    height: 100%;
    justify-content: end;
    margin-bottom: 5px;
    white-space: nowrap;
    margin: 0;
    width: 100%;
}

.top-right-nav ul.rigt_side_list li {
    padding: 0 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 4px 0;
    position: relative;
}

.top-right-nav ul.rigt_side_list li:after {
    content: "";
    background: #80808040;
    height: 37px;
    width: 1px;
    position: absolute;
    right: 0;
}

.top-right-nav ul.rigt_side_list li:nth-child(1):after,
.top-right-nav ul.rigt_side_list li:nth-child(2):after {
    display: none;
}

.top-right-nav ul.rigt_side_list li:last-child {
    border-right: 0;
}

.top-right-nav ul.rigt_side_list li a {
    font-size: 12px;
    line-height: 16px;
    color: #fff;
}

.top-right-nav ul.rigt_side_list .lang-select select {
    border: none;
    font-size: 12px;
    outline: 0;
    background: transparent;
    color: #fff;
}

.top-right-nav ul.rigt_side_list .goi-img a {
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-right-nav ul.rigt_side_list .web-theme {
    gap: 0;
}

.full_top_header {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
}

.top-right-nav .web-theme a {
    border: 1px solid #000;
    padding: 0 8px;
    font-size: 0;
}

.top-right-nav .web-theme a.blackbg {
    background: #000;
}

.top-right-nav ul li a:hover {
    color: #e5dbdb !important;
}

.top-right-nav .web-theme a.whitebg {
    background: #fff;
}

.top-right-nav ul li.official-web-info {
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    gap: 5px;
    position: absolute;
    left: 0;
}

.top-right-nav ul li.official-web-info a {
    color: #ebdc37;
    text-decoration: underline;
}

.top-right-nav ul li.official-web-info a i {
    font-size: 10px;
}

.top-right-nav ul li.official-web-info a[aria-expanded="true"] i:before {
    content: "\f286";
    transition: all .5s ease-in-out;
}

.top-right-nav ul li.official-web-info::before {
    content: "";
    background-image: url(../images/Flag_of_India.png);
    background-size: 17px 12px;
    background-repeat: no-repeat;
    width: 17px;
    height: 12px;
    margin: 0 0 -1px 0;
}

.top-right-nav .top-nav-bar-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: initial;
    margin: 30px 0;
    transition: all .5s ease-out;
}

.top-right-nav .top-nav-bar-bottom .left,
.top-right-nav .top-nav-bar-bottom .right {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.top-right-nav .top-nav-bar-bottom .right {
    margin: 0 0 0 40px;
}

.top-right-nav .top-nav-bar-bottom img {
    margin: 0 20px 0 0;
    width: 72px;
}

.top-right-nav .top-nav-bar-bottom h5 {
    color: #f5f5f5;
    font-size: 1em;
    margin: 0 0 6px;
    line-height: normal;
}

.top-right-nav .top-nav-bar-bottom p {
    color: #f5f5f5;
    margin: 0;
    font-size: .875em;
    line-height: normal;
}

.top-right-nav a.quick-btn {
    font-size: 14px !important;
    padding: 5px 15px;
}

.top-right-nav a.quick-btn:hover {
    color: #000;
}

.content_abit p {
    text-align: justify;
}

.top-right-nav li.lang-select ul.dropdown-menu {
    background: #000;
    box-shadow: 0px 3px 13px 0px rgb(255 255 255 / 51%);
}

.top-right-nav li.lang-select ul.dropdown-menu li {
    padding: 0;
}

.top-right-nav li.lang-select ul.dropdown-menu li a:hover {
    background: #686868;
}

.dark-theme .top-right-nav {
    background: #000;
}

ul li a.language-link {
    width: 100%;
    padding: 0.25em;
}

.quick-btn {
    border: 1px solid #F4F4F4;
    border-radius: 5px;
    color: #fff;
    background: #111111;
    font-size: 14px;
    padding: 9px 22px;
}

.center-text {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: static;
    left: auto;
}

/* --------------------------------------------------------------------------
   4.1 Public Header & Responsive Logo/Title Sizing
   -------------------------------------------------------------------------- */
.header-nav {
    background-color: #01103C !important;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
}

.public-header-container {
    width: 100%;
    position: relative;
}

.header-brand-sec {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-brand-sec a.logo-align {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 0;
    padding: 0;
    color: #ffffff;
    text-decoration: none;
    z-index: 10;
}

.header-brand-sec .emb-logo,
.header-brand-sec img.emb-logo {
    filter: invert(1);
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.header-brand-sec .nia-crest-logo,
.header-brand-sec a.logo-align img:not(.emb-logo) {
    height: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.header-brand-sec a.logo-align h3,
.header-brand-sec .nia-title {
    line-height: 1;
    margin: 0;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.header-brand-sec a.logo-align h4,
.header-brand-sec .nia-subtitle {
    line-height: 1.15;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.header-title-sec {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-brand-link {
    text-decoration: none !important;
    color: #ffffff !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.2s ease-in-out;
}

.portal-brand-link:hover {
    color: #ffffff !important;
    opacity: 0.92;
}

.portal-brand-link h4 {
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.portal-name-txt {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: inline-block;
    line-height: 1.2;
}

.portal-name-second-txt {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    display: inline-block;
    line-height: 1.25;
}

/* --- Responsive Breakpoints for Public Header --- */

/* 1. Large Desktop (>= 1200px) */
@media (min-width: 1200px) {
    .public-header-container {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .header-brand-sec {
        justify-self: start;
    }

    .header-title-sec {
        justify-self: center;
    }

    .header-action-sec {
        justify-self: end;
        min-width: 50px;
    }

    .header-brand-sec .emb-logo,
    .header-brand-sec img.emb-logo {
        width: 48px !important;
        margin-right: 8px;
    }

    .header-brand-sec .nia-crest-logo,
    .header-brand-sec a.logo-align img:not(.emb-logo) {
        width: 82px !important;
    }

    .header-brand-sec a.logo-align h3 {
        font-size: 56px !important;
        padding: 0 10px 0 6px !important;
    }

    .header-brand-sec a.logo-align h4 {
        font-size: 13.5px !important;
    }

    .portal-name-txt {
        font-size: 22px;
    }

    .portal-name-second-txt {
        font-size: 14px;
    }
}

/* 2. Desktop Standard (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .public-header-container {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .header-brand-sec {
        justify-self: start;
    }

    .header-title-sec {
        justify-self: center;
    }

    .header-action-sec {
        justify-self: end;
        min-width: 30px;
    }

    .header-brand-sec .emb-logo,
    .header-brand-sec img.emb-logo {
        width: 40px !important;
        margin-right: 6px;
    }

    .header-brand-sec .nia-crest-logo,
    .header-brand-sec a.logo-align img:not(.emb-logo) {
        width: 70px !important;
    }

    .header-brand-sec a.logo-align h3 {
        font-size: 44px !important;
        padding: 0 8px 0 5px !important;
    }

    .header-brand-sec a.logo-align h4 {
        font-size: 12px !important;
    }

    .portal-name-txt {
        font-size: 20px;
    }

    .portal-name-second-txt {
        font-size: 13px;
    }
}

/* 3. Tablet (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .public-header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 15px;
    }

    .header-brand-sec .emb-logo,
    .header-brand-sec img.emb-logo {
        width: 36px !important;
        margin-right: 5px;
    }

    .header-brand-sec .nia-crest-logo,
    .header-brand-sec a.logo-align img:not(.emb-logo) {
        width: 60px !important;
    }

    .header-brand-sec a.logo-align h3 {
        font-size: 34px !important;
        padding: 0 7px 0 4px !important;
    }

    .header-brand-sec a.logo-align h4 {
        font-size: 10.5px !important;
    }

    .header-title-sec {
        text-align: right;
    }

    .portal-brand-link {
        align-items: flex-end;
    }

    .portal-name-txt {
        font-size: 18px;
    }

    .portal-name-second-txt {
        font-size: 12px;
    }
}

/* 4. Mobile Landscape & Phablet (576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .public-header-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        text-align: center;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .header-brand-sec {
        justify-content: center;
        width: auto;
    }

    .header-brand-sec .emb-logo,
    .header-brand-sec img.emb-logo {
        width: 32px !important;
        margin-right: 5px;
    }

    .header-brand-sec .nia-crest-logo,
    .header-brand-sec a.logo-align img:not(.emb-logo) {
        width: 52px !important;
    }

    .header-brand-sec a.logo-align h3 {
        font-size: 28px !important;
        padding: 0 6px 0 3px !important;
    }

    .header-brand-sec a.logo-align h4 {
        font-size: 10px !important;
    }

    .portal-brand-link {
        align-items: center;
    }

    .portal-name-txt {
        font-size: 17px;
    }

    .portal-name-second-txt {
        font-size: 12px;
    }
}

/* 5. Mobile Portrait (360px to 575.98px) */
@media (min-width: 360px) and (max-width: 575.98px) {
    .public-header-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center;
        padding: 6px 8px;
    }

    .header-brand-sec {
        justify-content: center;
        width: auto;
    }

    .header-brand-sec .emb-logo,
    .header-brand-sec img.emb-logo {
        width: 28px !important;
        margin-right: 4px;
    }

    .header-brand-sec .nia-crest-logo,
    .header-brand-sec a.logo-align img:not(.emb-logo) {
        width: 44px !important;
    }

    .header-brand-sec a.logo-align h3 {
        font-size: 24px !important;
        padding: 0 5px 0 3px !important;
    }

    .header-brand-sec a.logo-align h4 {
        font-size: 9.5px !important;
    }

    .portal-brand-link {
        align-items: center;
    }

    .portal-name-txt {
        font-size: 15px;
    }

    .portal-name-second-txt {
        font-size: 11.5px;
    }
}

/* 6. Ultra-Small Mobile (< 360px) */
@media (max-width: 359.98px) {
    .public-header-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        text-align: center;
        padding: 4px 6px;
    }

    .header-brand-sec {
        justify-content: center;
        width: auto;
    }

    .header-brand-sec .emb-logo,
    .header-brand-sec img.emb-logo {
        width: 24px !important;
        margin-right: 3px;
    }

    .header-brand-sec .nia-crest-logo,
    .header-brand-sec a.logo-align img:not(.emb-logo) {
        width: 38px !important;
    }

    .header-brand-sec a.logo-align h3 {
        font-size: 20px !important;
        padding: 0 4px 0 2px !important;
    }

    .header-brand-sec a.logo-align h4 {
        font-size: 8.5px !important;
    }

    .portal-brand-link {
        align-items: center;
    }

    .portal-name-txt {
        font-size: 14px;
    }

    .portal-name-second-txt {
        font-size: 10.5px;
    }
}

/* --------------------------------------------------------------------------
   5. Public Notice Verification Flow & Components
   -------------------------------------------------------------------------- */
.verify-method-container {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    gap: 8px;
}

.verify-method-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.verify-method-btn i {
    font-size: 14px !important;
}

/* Method 1: Verify by Name & Unique ID */
#tab-unique-id-btn {
    background-color: #ffffff;
    color: #0b2545;
    border-color: #cbd5e1;
    position: relative;
}

#tab-unique-id-btn:hover {
    background-color: #f8fafc !important;
    border-color: #0b2545 !important;
    color: #0b2545 !important;
}

#tab-unique-id-btn.active {
    background: linear-gradient(135deg, #0b2545 0%, #153e75 100%) !important;
    color: #ffffff !important;
    border-color: #0b2545 !important;
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.3) !important;
    position: relative;
}

/* Method 2: Upload PDF / Image */
#tab-upload-btn {
    background-color: #ffffff;
    color: #0284c7;
    border-color: #cbd5e1;
    position: relative;
}

#tab-upload-btn:hover {
    background-color: #f0f9ff !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
}

#tab-upload-btn.active {
    background: linear-gradient(135deg, #0b2545 0%, #153e75 100%) !important;
    color: #ffffff !important;
    border-color: #0b2545 !important;
    box-shadow: none !important;
    position: relative;
}

#tab-unique-id-btn.active:after,
#tab-upload-btn.active:after,
.btn-check:checked + .toggle-mode-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #113360;
}

/* Secondary Toggle (Upload File vs Camera) */
.toggle-mode-btn {
    border-color: #cbd5e1 !important;
    color: #475569 !important;
    background-color: #ffffff !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.toggle-mode-btn:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.btn-check:checked + .toggle-mode-btn {
    background-color: #113360 !important;
    color: #ffffff !important;
    border-color: #334155 !important;
    box-shadow: 0 2px 6px rgba(51, 65, 85, 0.25) !important;
}

/* Primary Verify Notice Action Button */
.btn-verify-action {
    background: linear-gradient(135deg, #0b2545 0%, #173d6b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px;
    padding: 12px 24px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.28);
    transition: all 0.25s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-verify-action i {
    font-size: 16px !important;
}

.btn-verify-action:hover {
    background: linear-gradient(135deg, #133a6b 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.38);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-verify-action:active {
    transform: translateY(0);
}

.custom-tab-colm {
    gap: 10px;
}

.custom-tab-colm label {
    flex-direction: column;
    border-radius: 8px !important;
    width: auto;
    flex: inherit !important;
    padding: 30px;
    position: relative;
    margin: 10px 0;
}

.custom-tab-colm label:hover {
    background-color: #f8f8f8 !important;
    border-color: #12121224 !important;
    color: #000000a3 !important;
}

.custom-tab-colm label i {
    background: #f6f6ff;
    padding: 5px;
    border-radius: 100%;
    width: 36px;
    height: 36px;
    color: #133a6e;
}

div#camera_prompt_view span {
    width: 60px;
    height: 60px;
}

/* Camera & Upload Viewfinder */
.camera-viewfinder-box {
    min-height: 240px;
    max-height: 360px;
}

.camera-video-feed {
    max-height: 360px;
    object-fit: contain;
}

.camera-alignment-guide {
    width: 86%;
    height: 86%;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.35);
}

.camera-guide-badge {
    font-size: 0.72rem;
}

.camera-result-image {
    max-height: 260px;
    object-fit: contain;
}

/* Full-Screen Notice Verification Processing Loader Overlay */
.verify-loader-overlay {
    background: rgba(11, 37, 69, 0.95);
    z-index: 99999;
    backdrop-filter: blur(8px);
}

.verify-loader-badge-container {
    width: 86px;
    height: 86px;
}

.verify-loader-spinner {
    width: 5.5rem;
    height: 5.5rem;
    opacity: 0.35;
}

.verify-loader-badge-circle {
    width: 86px;
    height: 86px;
    background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
}

.verify-loader-shield-icon {
    font-size: 2.5rem;
}

.verify-loader-status {
    max-width: 520px;
    font-size: 1.05rem;
}

.verify-loader-progress-container {
    width: 100%;
    max-width: 440px;
    height: 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.verify-loader-progress-bar {
    width: 25%;
    background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 50%, #34d399 100%);
    transition: width 0.6s ease;
}

.verify-loader-stages {
    width: 100%;
    max-width: 440px;
    font-size: 0.78rem;
}

.verify-loader-warning-badge {
    font-size: 0.85rem;
}

/* Verification Intro Scam Warning */
.security-warning-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
    border-left: 5px solid #dc2626 !important;
}

.security-warning-icon {
    width: 46px;
    height: 46px;
    background-color: #ef4444;
    color: #ffffff;
}

.security-warning-text {
    font-size: 12px;
    line-height: 19px;
}

#mobile-success,
#mobile-error {
    display: none;
}

/* Verification Result Styles */
.verify-result-icon {
    font-size: 3rem;
}

.verify-result-icon-subtle {
    font-size: 2.5rem;
}

.verify-result-circle {
    width: 72px;
    height: 72px;
}

.verify-result-fake-title {
    font-size: 16px !important;
}

.verify-preview-box {
    background: #525659;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.verify-preview-img {
    max-height: 850px;
    width: auto;
    object-fit: contain;
    background: #fff;
    margin: 0 auto;
}

.verify-preview-iframe {
    width: 100%;
    height: 820px;
    border: none;
    display: block;
    background: #525659;
}

.verify-alert-box {
    max-width: 520px;
}

.verify-alert-sm-box {
    max-width: 480px;
}

.verify-alert-500 {
    max-width: 500px;
}

/* --------------------------------------------------------------------------
   6. Document Comparison Diff Result
   -------------------------------------------------------------------------- */
.compare-legend ins, .compare-legend del {
    text-decoration: none;
    padding: 1px 6px;
    border-radius: 3px;
}

.match-report .headline {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.match-report .pct {
    font-size: 1.6rem;
    font-weight: bold;
}

.match-report .pct.high {
    color: #166534;
}

.match-report .pct.mid {
    color: #b45309;
}

.match-report .pct.low {
    color: #991b1b;
}

.match-report .bar {
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.match-report .bar-fill {
    background: #16a34a;
    height: 100%;
}

.match-report .counts {
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
    color: #555;
    flex-wrap: wrap;
}

.match-report .counts .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.dot.matched {
    background: #16a34a;
}

.dot.onlyA {
    background: #991b1b;
}

.dot.onlyB {
    background: #166534;
}

.diff-box {
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.5;
}

.diff-box ins {
    text-decoration: none;
    background: #dcfce7;
    color: #166534;
}

.diff-box del {
    text-decoration: line-through;
    background: #fee2e2;
    color: #991b1b;
}

.original-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 8px;
    max-height: 500px;
    overflow-y: auto;
    line-height: 1.5;
    font-size: 0.85rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   7. Officer Notices & Details
   -------------------------------------------------------------------------- */
#legal-basis-hint {
    display: none;
}

#time_error {
    display: none;
}

.notice-details hr {
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: 0.05 !important;
}

.notice-details .custom-width span {
    width: auto !important;
    min-width: 117px !important;
}

.notice-details .row.g-4 {
    font-size: 14px !important;
}

/* --------------------------------------------------------------------------
   8. Administration & Verification Settings
   -------------------------------------------------------------------------- */
.verification-settings-page .card-body,
.verification-settings-page .card {
    margin-bottom: 0px !important;
}

.w-50px {
    width: 50px;
}

.w-180px {
    width: 180px;
}

.max-w-280px {
    max-width: 280px;
}

.max-w-32rem {
    max-width: 32rem;
}

.max-w-40rem {
    max-width: 40rem;
}

.fs-xs {
    font-size: 0.75rem !important;
}

.fs-xxs {
    font-size: 0.7rem !important;
}

.fs-08rem {
    font-size: 0.8rem !important;
}

.auth-icon-lg {
    font-size: 2.5rem;
}

.auth-icon-xl {
    font-size: 2.75rem;
}

.otp-input-spaced {
    letter-spacing: 0.45em;
}

.audit-th-timestamp {
    width: 170px;
}

.audit-th-details {
    width: 90px;
}

.audit-context-preview {
    max-width: 260px;
}

.audit-modal-pre {
    max-height: 250px;
    overflow-y: auto;
}

.email-search-dropdown-menu {
    display: none;
    max-height: 280px;
    overflow-y: auto;
    z-index: 1050;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
}

#master-selected-info,
#email-check-spinner,
#email-feedback,
#email-suggestions-container {
    display: none;
}

.max-h-380-scroll {
    max-height: 380px;
    overflow-y: auto;
}

.chart-container-320 {
    position: relative;
    height: 320px;
    width: 100%;
}

.chart-container-280 {
    position: relative;
    height: 280px;
    width: 100%;
}

.chart-container-240 {
    position: relative;
    height: 240px;
    width: 100%;
}

.chart-container-230 {
    position: relative;
    height: 230px;
    width: 100%;
}

.chart-container-220 {
    position: relative;
    height: 220px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   9. Dark Mode Theme Rules
   -------------------------------------------------------------------------- */
[data-bs-theme="dark"] .card-title {
    color: #000 !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #fff !important;
}

[data-bs-theme="dark"] .card-header h2 {
    color: #000 !important;
}

[data-bs-theme="dark"] .h5 {
    color: #fff !important;
}

[data-bs-theme="dark"] #camera_prompt_view,
[data-bs-theme="dark"] #camera_prompt_view .text-muted {
    color: #000 !important;
}

/* --------------------------------------------------------------------------
   10. Dashboard Officer Profile & User Menu
   -------------------------------------------------------------------------- */
.user-menu .dropdown-menu.user-menu-dropdown {
    min-width: 320px;
    max-width: 360px;
    border-radius: 0.5rem;
    padding: 0;
    overflow: hidden;
    margin-top: 0.5rem;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-bs-theme="dark"] .user-menu .dropdown-menu.user-menu-dropdown {
    background-color: #ffffff !important;
    color: #212529 !important;
}

[data-bs-theme="dark"] .user-menu-body {
    background-color: #ffffff !important;
    color: #212529 !important;
}

[data-bs-theme="dark"] .user-menu-footer {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

[data-bs-theme="dark"] .user-menu .user-detail-label {
    color: #6c757d !important;
}

[data-bs-theme="dark"] .user-menu .user-detail-value {
    color: #212529 !important;
}

[data-bs-theme="dark"] #officerProfileModal .modal-content {
    background-color: #ffffff !important;
    color: #212529 !important;
}

[data-bs-theme="dark"] #officerProfileModal .text-dark {
    color: #212529 !important;
}

.user-menu-header {
    background: linear-gradient(135deg, #0b2240 0%, #173863 100%);
    color: #ffffff;
    padding: 1.25rem 1rem;
    text-align: center;
}

.user-menu-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.user-modal-avatar {
    width: 58px;
    height: 58px;
    font-size: 1.85rem;
    background: #0b2240;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.user-menu-body {
    padding: 0.75rem 1rem;
    background: #ffffff;
}

.user-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px dashed #e9ecef;
    font-size: 0.825rem;
}

.user-detail-row:last-child {
    border-bottom: none;
}

.user-detail-label {
    color: #6c757d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.user-detail-value {
    color: #212529;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.user-menu-footer {
    background: #f8f9fa;
    padding: 0.65rem 1rem;
    border-top: 1px solid #dee2e6;
}
span.badge.bg-light.text-dark.text-uppercase.fs-xxs.fw-semibold {
    background: border-area;
}