*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #21236A;
    --navy-dark: #21236A;
    --navy-light: #2c3fa0;
    --red: #c8102e;
    --blue-link: #2c7be5;
    --bg: #e5e5e5;
    --bg-panel: #d9d9d9;
    --bg-panel2: #cecece;
    --white: #ffffff;
    --text: #2a2a2a;
    --text-muted: #666;
    --border: #c4c4c4;
    --input-bg: #ffffff;
    --shadow: 0 20px 60px rgba(26, 32, 86, 0.15), 0 4px 20px rgba(0, 0, 0, 0.08);
}

html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: #f0f1f5;
}

/* ──────────────────────────────────────────────────────────
   ── CENTER VERIFICATION RESULTS VIEW (NAMESPACED) ─────────
   ────────────────────────────────────────────────────────── */

/* ── HERO / BANNER ── */
.verify-results-view .hero {
    position: relative;
    width: 100%;
    height: 506px;
    background: url("../assets/images/centerverificationimage.png") no-repeat center;
    background-size: cover;
    background-color: #dde2ea;
    overflow: hidden;
}

@media (min-width: 992px) {
    .verify-results-view .result-grid-first {
        padding-left: 84px;
    }

    .verify-results-view .result-grid-second {
        padding-right: 84px;
    }
}

/* Logo top-left */
.verify-results-view .logo-area {
    position: absolute;
    top: 135px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
}

.verify-results-view .logo-img {
    width: 300px;
    height: 99px;
    object-fit: contain;
}

/* Search bar top-right */
.verify-results-view .search-bar {
    position: absolute;
    top: 155px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.verify-results-view .search-bar input {
    width: 280px;
    height: 46px;
    border-radius: 30px;
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    padding: 0 52px 0 37px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.verify-results-view .search-bar input:focus {
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(44, 63, 160, 0.1);
}

.verify-results-view .search-bar input::placeholder {
    color: #aaa;
}

.verify-results-view .result-table .value {
    padding-left: 63px;
}

.verify-results-view .result-table .value.center-name {
    text-transform: capitalize;
}

.verify-results-view .search-icon-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.verify-results-view .search-icon-btn svg {
    width: 20px;
    height: 15px;
    stroke: #8E9198;
}

/* ── CONTENT AREA (below hero) ── */
.verify-results-view .content-area {
    background: #F3F4F4;
    padding: 0 48px 60px;
}

/* ── BACK BUTTON ── */
.verify-results-view .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 28px 0 36px;
    padding: 9px 20px;
    border: 1.5px solid #21236a;
    border-radius: 12px;
    background: #ffffff;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.verify-results-view .back-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.verify-results-view .back-btn svg {
    width: 15px;
    height: 15px;
    stroke: var(--text);
}

/* ── TWO-COLUMN GRID ── */
.verify-results-view .results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 116px;
    align-items: start;
}

/* ── SECTION TITLES ── */
.verify-results-view .section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
    margin-top: 12px;
}

/* ── RESULT TABLE ── */
.verify-results-view .result-table {
    width: 100%;
}

.verify-results-view .result-table .row {
    display: grid;
    grid-template-columns: 160px 20px 1fr;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text);
    align-items: start;
}

.verify-results-view .row .label {
    color: var(--text);
    font-weight: 400;
}

.verify-results-view .row .sep {
    color: var(--text);
    text-align: center;
}

.verify-results-view .row .value {
    color: var(--text);
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ── COURSE LIST ── */
.verify-results-view .course-list {
    width: 100%;
}

.verify-results-view .course-list .course-item {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text);
}

.verify-results-view .result-table .row:last-child {
    border-bottom: none;
}

.verify-results-view .course-list .course-item:last-child {
    border-bottom: none;
}

.verify-results-view .view-more {
    display: inline-block;
    margin-top: 14px;
    color: #303088;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
}

.verify-results-view .view-more:hover {
    text-decoration: underline;
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 768px) {
    .verify-results-view .hero {
        height: 500px;
        background: url("../assets/images/centerverificationmobile.png") no-repeat bottom;
        background-size: cover;
        background-color: #dde2ea;
    }

    .verify-results-view .logo-area {
        transform: translateX(-50%);
    }

    .verify-results-view .logo-img {
        width: 240px;
        height: 80px;
    }

    .verify-results-view .search-bar {
        top: 176px;
        right: 10%;
        left: auto;
        transform: none;
    }

    .verify-results-view .search-bar input {
        width: 240px;
    }

    .verify-results-view .content-area {
        padding: 0 20px 48px;
    }

    .verify-results-view .result-table .row {
        grid-template-columns: 110px 16px minmax(0, 1fr);
        font-size: 13px;
    }

    .verify-results-view .course-list .course-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .verify-results-view .hero {
        height: 500px;
    }

    .verify-results-view .search-bar {
        bottom: -180px;
    }
}

@media (max-width: 768px) {
    .verify-results-view .result-table .row:last-child,
    .verify-results-view .course-list .course-item:last-child {
        border-bottom: none;
    }

    .verify-results-view .back-btn {
        margin: 20px 0 28px;
        display: none;
    }

    .verify-results-view .results-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 25px;
        text-align: left;
    }

    .verify-results-view .content-area {
        background: #e7eaef;
    }

    .verify-results-view .search-bar input {
        width: 220px;
        height: 36px;
        border-radius: 57px;
        border: 1.5px solid #00000080;
        background: rgba(255, 255, 255, 0.92);
        padding: 0 52px 0 22px;
        font-size: 16px;
        font-family: 'Inter', sans-serif;
        color: var(--text);
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .verify-results-view .search-icon-btn {
        top: 50%;
        transform: translateY(-50%);
        right: 14px;
    }
}

@media (max-width: 768px) {
    .verify-results-view .result-table .value {
        padding-left: 30px;
    }

    .verify-results-view .result-table {
        padding-left: 10px;
    }

    .verify-results-view .course-list {
        padding-left: 10px;
    }
}

/* ──────────────────────────────────────────────────────────
   ── CENTER VERIFICATION SEARCH CARD VIEW (NAMESPACED) ────
   ────────────────────────────────────────────────────────── */
.verify-search-view {
    min-height: 100vh;
    background: url("../assets/images/background.png") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.verify-search-view .center-logo-img {
    width: 300px;
    height: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    right: -2px;
    bottom: 24px;
}

.verify-search-view-center .card {
    background: var(--white);
    padding: 56px 42px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 480px;
    text-align: left;
    z-index: 10;
}

.verify-search-view-center .card-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 26px;
    color: var(--navy);
    justify-content: center;
    display: flex;
}

.verify-search-view-center .field {
    margin-bottom: 43px;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.verify-search-view-center label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    width: 100%;
    max-width: 376px;
    text-align: left;
}

.verify-search-view-center .input-wrap {
    margin-top: 7px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 376px;
}

.verify-search-view-center input[type="text"] {
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--border);
    background: var(--input-bg);
    padding: 0 14px 0 20px;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-top: 3px;
    border-radius: 18px;
}

.verify-search-view-center input:focus {
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(44, 63, 160, 0.1);
}

.verify-search-view-center .btn-login {
    width: 100%;
    height: 46px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(33, 35, 106, 0.24);
}

.verify-search-view-center .btn-login:hover {
    background: var(--navy-dark);
    box-shadow: 0 6px 22px rgba(33, 35, 106, 0.36);
}

.verify-search-view-center .btn-login:active {
    transform: scale(0.98);
}

/* ── RESPONSIVE MOBILE SEARCH CARD ── */
@media (max-width: 600px) {
    .verify-search-view-center {
        background: url("../assets/images/mobilebackg.png") no-repeat center;
        background-size: cover;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        min-height: 110vh;
    }

    .verify-search-view-center .logo-img {
        width: 220px;
        height: 72px;
        position: relative;
        right: -16px;
        bottom: 24px;
    }

    .verify-search-view-center .card {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        width: 100%;
        max-width: 300px;
    }

    .verify-search-view-center .card-title {
        font-size: 16px;
        margin-bottom: 9px;
        color: var(--navy);
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 106px;
    }

    .verify-search-view-center .field {
        margin-bottom: 22px !important;
        margin-left: 1px !important;
        margin-top: 18px !important;
    }

    .verify-search-view-center input[type="text"] {
        width: 100%;
        padding-left: 20px;
        border-radius: 18px;
        font-size: 20px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(4px);
    }

    .verify-search-view-center .btn-login {
        font-size: 13px;
        width: 149px;
        height: 36px;
    }
}

#error {
    color: #ff0000 !important;
    font-weight: 400 !important;
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

#spin {
    display: none;
    text-align: center;
    margin-top: 15px;
}

#spin img {
    max-height: 30px;
}
