/* style.css - Weapons Information System - Holders' Area */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Marianne", Arial, sans-serif;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
    font-size: 12px;
    user-select: none;
}

.header-title,p img,
 h1 img,  .footer-brand img {
    display: block;
    max-width: 100%;
    height: auto;
}
label img,li img{
display: block;
padding: 5px 0;
width: 50%;
}
.header-title span img {
    width: 50%;
}
@media (max-width: 700px) {
    .header-title span img {
        width: 100%;
    }
    .header-title,p img,
 h1 img,  .footer-brand img {
    display: block;
    max-width: 100%;
    height: auto;
}
}
/* =========================
   LOADER
========================= */

.loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.4s ease,
                visibility 0.4s ease;
}

.loader-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Circle like your image */
.loader-circle {
    width: 100px;
    height: 100px;

    border-radius: 50%;

    border: 8px solid transparent;

    border-top-color: #4db7d8;
    border-right-color: #4db7d8;

    border-bottom-color: #4db7d8;

    transform: rotate(-35deg);

    animation: loaderRotate 1s linear infinite;
}

/* Rotation */
@keyframes loaderRotate {
    from {
        transform: rotate(-35deg);
    }

    to {
        transform: rotate(325deg);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .loader-circle {
        width: 100px;
        height: 100px;
        border-width: 6px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Original header styles (overridden later) ===== */
.header {
    height: 68px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #d5d5d5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
    background: #fff;
}

.header-inner {
    width: min(100% - 70px, 1180px);
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.ministry-logo {
    width: 68px;
    line-height: 9px;
    font-size: 8px;
    font-weight: 900;
}

.flag {
    display: flex;
    width: 29px;
    height: 7px;
    margin-bottom: 2px;
}

.flag span:nth-child(1) {
    width: 10px;
    background: #153d8f;
}

.flag span:nth-child(2) {
    width: 10px;
    background: #fff;
    border: 1px solid #ddd;
}

.flag span:nth-child(3) {
    width: 9px;
    background: #ed2939;
}

.header-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 19px;
}

.header-title span {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Intro ===== */
.intro {
    max-width: 1180px;
    min-height: 193px;
    margin: auto;
    padding: 28px 23px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.intro-content {
    max-width: 880px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro h1 {
    font-size: 30px;
    line-height: 20px;
    margin-bottom: 17px;
}

.intro p {
    font-size: 16px;
    line-height: 14px;
    font-weight: 500;
    max-width: 760px;
}

.sia-logo {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 3px solid #dc5e67;
    outline: 2px solid #7b8dbb;
    outline-offset: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #243d7d;
    background: #fff;
    text-align: center;
    font-size: 29px;
    font-weight: 700;
}

.sia-logo small {
    display: block;
    font-size: 5px;
    font-weight: 500;
    color: #777;
}

/* ===== Login ===== */
.login-section {
    background: #4d4a98;
    color: #fff;
    min-height: 307px;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 34px 20px;
}

.login-box {
    width: 250px;
}

.login-box h2 {
    font-size: 20px;
    margin-bottom: 17px;
}

.required {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-group {
    text-align: left;
    margin-bottom: 9px;
}

.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    height: 20px;
    border: 1px solid #aaa;
    background: #fff;
    padding: 2px 5px;
    outline: 0;
}

.form-link {
    display: block;
    margin-top: 5px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
}

.password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.display-password {
    font-size: 9px !important;
    font-weight: 700 !important;
    display: flex !important;
    gap: 6px;
    align-items: center;
}

.display-password input {
    width: auto;
    height: auto;
}

.login-btn {
    margin-top: 11px;
    background: #fff;
    color: #34348b;
    border: 0;
    padding: 6px 18px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

/* ===== Account ===== */
.account-section {
    background: #343582;
    color: #fff;
    min-height: 169px;
    text-align: center;
    padding: 29px 20px;
}

.account-section h2 {
    font-size: 18px;
    margin-bottom: 17px;
}

.account-section p {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 13px;
}

.account-btn {
    display: inline-block;
    background: #fff;
    color: #343582;
    padding: 7px 18px;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 14px;
}

.guide-link {
    display: block;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

/* ===== Holders ===== */
.holders-section {
    background: #f4f4f4;
    min-height: 555px;
    padding: 30px 7%;
    position: relative;
    overflow: hidden;
}

.holders-section h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 32px;
}

.holder-cards {
    max-width: 850px;
    margin: 0 auto 48px;
    display: flex;
    justify-content: space-between;
    padding: 0 80px;
}

.holder {
    width: 160px;
    text-align: center;
}

.holder-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.collector-icon {
    color: #a94242;
}

.professional-icon {
    color: #18b9bc;
}

.holder-title {
    color: #171a91;
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
}

.holder-content {
    max-width: 1030px;
    margin: auto;
    position: relative;
    z-index: 2;
}

.info-link {
    display: block;
    color: #1117a0;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 22px;
}

.holder-content p {
    font-size: 10px;
    line-height: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.silhouettes {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 190px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.silhouettes img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* ===== Footer ===== */
footer {
    background: #fff;
    border-top: 2px solid #5959c4;
    min-height: 120px;
    padding: 23px 7% 10px;
}

.footer-top {
    max-width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    width: 220px;
}

.footer-logo .flag {
    width: 34px;
    height: 9px;
}

.footer-logo strong {
    display: block;
    font-size: 13px;
    line-height: 13px;
}

.footer-logo small {
    display: block;
    font-size: 7px;
    margin-top: 4px;
    line-height: 9px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    font-size: 9px;
    font-weight: 700;
}

.footer-bottom {
    max-width: 1180px;
    margin: 17px auto 0;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.footer-small-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-small-links a {
    font-size: 8px;
    font-weight: 600;
}

.copyright {
    font-size: 7px;
    margin-top: 12px;
}

/* ===== Responsive 800px ===== */
@media (max-width: 800px) {
    .header-inner {
        width: calc(100% - 35px);
        gap: 15px;
    }

    .header-title {
        font-size: 13px;
    }

    .intro {
        padding: 10px 35px;
    }

    .intro h1 {
        font-size: 21px;
        line-height: 25px;
    }

    .holder-cards {
        padding: 0 30px;
    }

    .holders-section {
        padding-left: 35px;
        padding-right: 35px;
    }

    .footer-top {
        align-items: flex-start;
    }
}

/* ===== Responsive 600px ===== */
@media (max-width: 600px) {
    .header {
        height: auto;
        min-height: 65px;
    }

    .intro-content {
        height: 218px;
    }

    .header-inner {
        width: calc(100% - 25px);
        padding: 12px 0;
    }

    .ministry-logo {
        width: 55px;
        flex-shrink: 0;
    }

    .header-title {
        font-size: 12px;
        line-height: 16px;
    }

    .header-title span {
        font-size: 10px;
    }

    .intro {
        min-height: auto;
        padding: 28px 22px;
        display: block;
    }

    .intro h1 {
        font-size: 21px;
        line-height: 26px;
        margin-bottom: 15px;
    }

    .intro p {
        font-size: 10px;
        line-height: 14px;
    }

    .sia-logo {
        width: 75px;
        height: 75px;
        margin: 22px auto 0;
        font-size: 23px;
    }

    .login-section {
        padding: 30px 20px;
    }

    .login-box {
        width: min(100%, 280px);
    }

    .login-box h2 {
        font-size: 19px;
    }

    .account-section {
        min-height: 165px;
    }

    .account-section h2 {
        font-size: 18px;
    }

    .holders-section {
        padding: 30px 20px 108px;
        min-height: 620px;
    }

    .holders-section h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .holder-cards {
        padding: 0;
        margin-bottom: 45px;
        gap: 15px;
    }

    .holder {
        width: 50%;
    }

    .holder-icon {
        width: 48px;
        height: 48px;
    }

    .holder-title {
        font-size: 9px;
    }

    .holder-content p {
        font-size: 9px;
        line-height: 14px;
    }

    .info-link {
        font-size: 8px;
        line-height: 12px;
        margin-bottom: 18px;
    }

    .silhouettes {
        height: 125px;
    }

    .silhouettes img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }

    footer {
        padding: 22px 20px 15px;
    }

    .footer-top {
        display: block;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 12px;
    }

    .footer-links a {
        font-size: 8px;
    }

    .footer-bottom {
        margin-top: 18px;
    }

    .footer-small-links {
        gap: 10px;
    }

    .footer-small-links a {
        font-size: 7px;
    }
}

/* ===== Responsive 380px ===== */
@media (max-width: 380px) {
    .intro-content {
        height: auto;
    }

    .intro h1 {
        font-size: 18px;
    }

    .intro p {
        font-size: 9px;
    }

    .holders-section h2 {
        font-size: 16px;
    }

    .holder-cards {
        gap: 5px;
    }

    .holder-title {
        font-size: 8px;
    }
}

/* ===== UPDATED BRANDING / LAYOUT (overrides previous) ===== */
.header {
    height: 82px;
    position: relative;
}

.header-inner {
    width: min(100% - 55px, 1180px);
    height: 100%;
    justify-content: flex-start;
}

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    position: relative;
    width: max-content;
}

.ministry-image {
    width: 78px;
    height: 42px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.header-title {
    font-size: 18px;
    line-height: 17px;
    position: relative;
    padding-left: 20px;
}

.header-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 42px;
    background: #d5d5d5;
}

.header-title span {
    font-size: 16px;
    line-height: 13px;
}

.sia-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    flex: 0 0 100px;
}

.intro h1 {
    font-size: 35px;
    line-height: 32px;
}

.intro p {
    font-size: 18px;
    line-height: 16px;
}

.login-box h2 {
    font-size: 22px;
}

.required {
    font-size: 11px;
}

.form-group label,
.display-password {
    font-size: 11px !important;
}

.form-link {
    font-size: 10px;
}

.login-btn {
    font-size: 10px;
}

.account-section h2 {
    font-size: 20px;
}

.account-section p {
    font-size: 11px;
}

.account-btn,
.guide-link {
    font-size: 10px;
}

.holders-section h2 {
    font-size: 22px;
}

.holder-icon {
    padding: 7px;
}

.holder-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.holder-title {
    font-size: 11px;
    line-height: 14px;
}

.info-link {
    font-size: 10px;
}

.holder-content p {
    font-size: 11px;
    line-height: 17px;
}

.footer-top {
    display: block;
}

.footer-brand {
    max-width: 1180px;
    margin: auto;
}

.footer-ministry-image {
    display: block;
    width: 155px;
    height: auto;
    object-fit: contain;
    object-position: left;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 10px;
}

.footer-bottom {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .header {
        height: auto;
        min-height: 106px;
        padding: 12px 0 14px;
    }

    .header-inner {
        width: calc(100% - 25px);
        height: auto;
        justify-content: center;
    }

    .brand {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .ministry-image {
        width: 67px;
        height: 35px;
    }

    .header-title {
        width: 100%;
        text-align: center;
        font-size: 13px;
        line-height: 15px;
        padding: 13px 0 0;
        margin-top: 11px;
    }

    .header-title:before {
        left: 12%;
        right: 12%;
        top: 0;
        width: auto;
        height: 1px;
        transform: none;
        background: #d5d5d5;
    }

    .header-title span {
        font-size: 10px;
    }

    .intro {
        display: flex;
        transition: all .5s ease;
        flex-direction: column-reverse;
    }

    .intro h1 {
        font-size: 25px;
        line-height: 27px;
    }

    .intro p {
        font-size: 15px;
        line-height: 15px;
    }

    .sia-image {
        width: 280px;
        height: 280px;
        margin: 10px auto 35px;
        display: block;
    }

    .holders-section h2 {
        font-size: 19px;
    }

    .holder-title {
        font-size: 10px;
    }

    .info-link {
        font-size: 9px;
    }

    .holder-content p {
        font-size: 10px;
        line-height: 15px;
    }

    .footer-ministry-image {
        width: 145px;
    }

    .footer-links {
        gap: 12px;
    }

    .footer-links a {
        font-size: 8px;
    }
}

/* ===== FINAL TYPOGRAPHY + HEADER SIZING ===== */
body {
    font-size: 15px;
}

.header {
    height: auto;
    min-height: 210px;
    padding: 16px 0 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
}

.header-inner {
    width: min(100% - 32px, 1180px);
    height: auto;
    margin: auto;
}

.brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.ministry-image {
    width: 145px;
    height: auto;
    object-fit: contain;
    object-position: left top;
}

.header-title {
    width: 100%;
    font-size: 25px;
    line-height: 32px;
    font-weight: 700;
    padding: 17px 0 0;
    margin-top: 13px;
    text-align: left;
}

.header-title:before {
    left: 0;
    right: 0;
    top: 0;
    width: auto;
    height: 1px;
    transform: none;
    background: #d5d5d5;
}

.header-title span {
    font-size: 21px;
    line-height: 28px;
    font-weight: 400;
    margin-top: 2px;
}

/* Main introduction */
.intro {
    padding-top: 34px;
    padding-bottom: 30px;
}

.intro h1 {
    font-size: 30px;
}

.intro p {
    font-size: 14px;
    line-height: 20px;
}

/* Login */
.login-section {
    padding-top: 40px;
    padding-bottom: 40px;
    user-select: none;
}

.login-box {
    width: 290px;
}

.login-box h2 {
    font-size: 25px;
}

.required {
    font-size: 13px;
}

.form-group label,
.display-password {
    font-size: 13px !important;
    user-select: none;
}

.form-group input {
    height: 28px;
    font-size: 13px;
}

.form-link {
    font-size: 12px;
}

.login-btn {
    font-size: 12px;
    padding: 8px 20px;
}

/* Account */
.account-section {
    padding-top: 35px;
    padding-bottom: 35px;
}

.account-section h2 {
    font-size: 23px;
}

.account-section p {
    font-size: 13px;
}

.account-btn,
.guide-link {
    font-size: 12px;
}

/* Holders */
.holders-section {
    padding-top: 38px;
    padding-bottom: 180px;
}

.holders-section h2 {
    font-size: 27px;
    line-height: 34px;
}

.holder-title {
    font-size: 13px;
    line-height: 17px;
}

.info-link {
    font-size: 12px;
}

.holder-content p {
    font-size: 13px;
    line-height: 20px;
}

/* Footer */
.footer-links a {
    font-size: 12px;
}

.footer-small-links a {
    font-size: 13px;
    font-weight: 500;
    color: #666666;
}

.copyright {
    font-size: 17px;
    color: #666666;
}

@media (max-width: 600px) {
    .header {
        min-height: 205px;
        padding: 14px 0 18px;
    }

    .header-inner {
        width: calc(100% - 32px);
    }

    .ministry-image {
        width: 142px;
    }

    .header-title {
        font-size: 22px;
        line-height: 29px;
        padding-top: 15px;
        margin-top: 12px;
    }

    .header-title span {
        font-size: 19px;
        line-height: 26px;
    }

    .intro {
        padding: 28px 22px 36px 22px;
    }

    .intro h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .intro p {
        font-size: 12px;
        line-height: 18px;
    }

    .login-box h2 {
        font-size: 23px;
    }

    .required {
        font-size: 12px;
    }

    .form-group label,
    .display-password {
        font-size: 12px !important;
    }

    .form-group input {
        height: 27px;
    }

    .form-link {
        font-size: 11px;
    }

    .account-section h2 {
        font-size: 21px;
    }

    .account-section p {
        font-size: 12px;
    }

    .holders-section h2 {
        font-size: 21px;
        line-height: 29px;
    }

    .holder-title {
        font-size: 11px;
    }

    .info-link {
        font-size: 10px;
    }

    .holder-content p {
        font-size: 11px;
        line-height: 17px;
    }

    .footer-links a {
        font-size: 10px;
    }

    .footer-small-links a {
        font-size: 12px;
        font-weight: 500;
    }
}

/* ===== PARTICIPATION POPUP ===== */
.participation-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.905);
}

.participation-overlay.show {
display: flex;
}

.participation-popup {
    width: 100%;
    min-height: 100vh;
    background: #111;
    color: #eee;
    font-family: Arial, Helvetica, sans-serif;
}

.popup-top {
    min-height: 52px;
    padding: 10px 16px 8px;
    background: #202020;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.popup-brand {
    font-size: 17px;
    line-height: 20px;
    font-weight: 700;
}

.popup-subtitle {
    color: #aaa;
    font-size: 11px;
    line-height: 14px;
}

.popup-progress {
    display: flex;
    width: 270px;
    height: 3px;
    margin: 6px 15px 8px;
}

.popup-progress span {
    flex: 1;
}

.popup-progress span:nth-child(1) {
    background: #253c8d;
}

.popup-progress span:nth-child(2) {
    background: #eee;
}

.popup-progress span:nth-child(3) {
    background: #d7192d;
}

.popup-official {
    width: max-content;
    margin: 0 16px 20px auto;
    padding: 3px 8px;
    border: 1px solid #777;
    border-radius: 7px;
    color: #ccc;
    font-size: 9px;
    font-weight: 700;
}

.popup-card {
    width: calc(100% - 32px);
    max-width: 542px;
    margin: 0 auto 20px;
    padding: 24px 22px 18px;
    border: 1px solid #3c3c3c;
    border-radius: 11px;
    background: #191919;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .35);
}

.popup-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.popup-logo {
    width: 48px;
    height: 48px;
    border: 2px solid #555;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.popup-logo span,
.popup-logo i,
.popup-logo b {
    position: absolute;
    height: 4px;
    top: 21px;
}

.popup-logo span {
    left: 9px;
    width: 10px;
    background: #173b8c;
}

.popup-logo i {
    left: 19px;
    width: 10px;
    background: #eee;
}

.popup-logo b {
    left: 29px;
    width: 10px;
    background: #d7192d;
}

.popup-space {
    font-size: 9px;
    color: #999;
    margin-bottom: 2px;
}

.popup-participants {
    font-size: 20px;
    line-height: 22px;
    font-weight: 700;
}

.popup-card h2 {
    margin: 0 0 15px;
    font-size: 32px;
    line-height: 35px;
    font-weight: 700;
}

.popup-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border: 1px solid #444;
    border-radius: 7px;
    color: #bbb;
    font-size: 11px;
    margin-bottom: 26px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #70bb79;
    display: inline-block;
}

.popup-message {
    color: #aaa;
    font-size: 14px;
    line-height: 19px;
}

.popup-message p {
    margin: 0 0 14px;
}

.popup-divider {
    height: 1px;
    background: #3b3b3b;
    margin: 17px 0;
}

.popup-good-luck {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 42px;
    color: #777;
    font-size: 8px;
}

.popup-footer strong {
    color: #888;
    font-size: 8px;
    white-space: nowrap;
}

.popup-close {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #555;
    border-radius: 50%;
    background: #292929;
    color: #eee;
    font-size: 24px;
    line-height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: #3a3a3a;
}

@media (min-width: 700px) {
    .participation-overlay {
        padding-bottom: 30px;
    }

    .participation-popup {
        width: 574px;
        min-height: 0;
        border-radius: 0 0 8px 8px;
        overflow: hidden;
    }

    .popup-card {
        margin-bottom: 28px;
    }
}

@media (max-width: 600px) {
    .popup-card {
        padding: 21px 18px 16px;
    }

    .popup-card h2 {
        font-size: 29px;
        line-height: 32px;
    }

    .popup-message {
        font-size: 13px;
        line-height: 18px;
    }

    .holders-section {
        padding-top: 38px;
        padding-bottom: 98px;
    }
}

/* ===== FINAL HEADER + TYPOGRAPHY (Desktop horizontal) ===== */
.header {
    min-height: 105px;
    padding: 18px 0 20px;
}

.header-inner {
    width: min(100% - 52px, 1180px);
    height: 100%;
    margin: auto;
}

.brand {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
}

.ministry-image {
    width: 105px;
    flex-shrink: 0;
}

.header-title {
    width: auto;
    padding: 0 0 0 26px;
    margin: 0;
    text-align: left;
    font-size: 20px;
    line-height: 34px;
}

.header-title:before {
    left: 0;
    right: auto;
    top: 50%;
    width: 1px;
    height: 64px;
    transform: translateY(-50%);
}

.header-title span {
    display: block;
    font-size: 22px;
    line-height: 29px;
    font-weight: 400;
}

/* Increase overall page typography */
.intro h1 {
    font-size: 32px;
    line-height: 41px;
    user-select: none;
}

.intro p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 500;
}

.login-box h2 {
    font-size: 26px;
}

.form-link {
    font-size: 13px;
    user-select: none;
}

.login-btn {
    font-size: 17px;
}

.account-section h2 {
    font-size: 25px;
}

.account-section p {
    font-size: 14px;
    line-height: 20px;
}

.account-btn,
.guide-link {
    font-size: 16px;
}

.holders-section h2 {
    font-size: 29px;
    line-height: 36px;
}

.holder-title {
    font-size: 14px;
    line-height: 18px;
}

.info-link {
    font-size: 23px;
    font-weight: 500;
}

.holder-content p {
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
}

.footer-links a {
    font-size: 18px;
    font-weight: 500;
    user-select: none;
    cursor:auto;
}

/* Below 600px: logo top-left, horizontal line, title underneath */
@media (max-width: 600px) {
    .header {
        min-height: 100px;
    }

    .header-inner {
        width: calc(100% - 32px);
    }

    .brand {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .ministry-image {
        width: 100px;
    }

    .header-title {
        width: 100%;
        padding: 17px 0 0;
        margin-top: 14px;
        text-align: left;
        font-size: 18px;
        line-height: 30px;
    }

    .header-title:before {
        left: 0;
        right: 0;
        top: 0;
        width: auto;
        height: 1px;
        transform: none;
    }

    .header-title span {
        font-size: 20px;
        line-height: 27px;
    }

    .intro h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .intro p {
        font-size: 13px;
        line-height: 19px;
    }

    .login-box h2 {
        font-size: 24px;
    }

    .required,
    .form-group label,
    .display-password {
        font-size: 13px !important;
    }

    .form-link {
        font-size: 12px;
    }

    .login-btn {
        font-size: 12px;
    }

    .account-section h2 {
        font-size: 23px;
    }

    .account-section p {
        font-size: 13px;
        line-height: 19px;
    }

    .account-btn,
    .guide-link {
        font-size: 12px;
    }

    .holders-section h2 {
        font-size: 27px;
        line-height: 30px;
    }

    .holder-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .holder {
        width: 200px;
    }

    .holder-icon {
        width: 100px;
        height: 100px;
    }

    .holder-title {
        font-size: 16px;
        font-weight: 500;
        line-height: 16px;
    }

    .info-link {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.5;
    }

    .holder-content p {
        font-size: 14px;
        font-weight: 500;
        line-height: 18px;
    }

    .footer-links a {

        font-size: 11px;
    }
}
