/* ================================================================
   app.css â Main page styles for Ziska Verification Portal
   Extracted from index.php inline <style> block
   ================================================================ */

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* ââ Background Animation ââââââââââââââââââââââââââââââââââââ */
.area {
    background: #4e54c8;
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: -1;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* ââ Sticky Header âââââââââââââââââââââââââââââââââââââââââââ */
.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-container img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #012581;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(78, 84, 200, 0.2);
    white-space: nowrap;
}

.website-link:hover {
    background: #fff;
    color: #012581;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.1);
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo-container img {
        height: 50px;
    }

    .website-link {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .website-link span {
        display: none;
    }

    .website-link {
        padding: 8px 12px;
    }

    .website-link i {
        margin: 0;
    }
}

/* ââ Hero Section ââââââââââââââââââââââââââââââââââââââââââââ */
.hero-section {
    text-align: center;
    padding: 80px 20px 0;
    /* Bottom padding is 0 to let main-content top spacing handle it */
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ââ Main Content ââââââââââââââââââââââââââââââââââââââââââââ */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    /* Uniform vertical spacing at the top and bottom of content */
    gap: 80px;
    /* Perfectly consistent 80px section-to-section gaps on desktop */
}

/* ââ Verification Form âââââââââââââââââââââââââââââââââââââââ */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    width: 90%;
    max-width: 1120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    margin: 0 auto;
    /* Margin handled by flexbox layout */
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#verification-result {
    animation: fadeIn 0.5s ease-in-out;
}

.form-flex-wrapper {
    display: flex;
    min-height: 400px;
    flex-wrap: wrap;
}

.form-logo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #2a35903d;
    padding: 30px;
    color: #2a3590;
    text-align: center;
}

.form-logo-section img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.form-logo-section h3 {
    margin-top: 20px;
}

.form-logo-section p {
    margin-top: 10px;
}

.form-content-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.form-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1f36;
}

.input100 {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.input100:focus {
    border-color: #4e54c8;
    box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.1);
    outline: none;
}

.validate-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0px;
}

#code-error-message {
    flex-basis: 100%;
    width: 100%;
    text-align: left;
    font-size: 13px;
}

.button-container {
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
}

.login100-form-btn {
    width: 100%;
    background: #4e54c8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 63px;
    padding: 0 20px;
}

.login100-form-btn:hover {
    background: #3a40b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
}

/* ââ Download Certificate Button âââââââââââââââââââââââââââââ */
.btn-download-certificate {
    background: linear-gradient(135deg, #1e137d, #3a40b0) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 19, 125, 0.4);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download-certificate:hover {
    background: linear-gradient(135deg, #2a3090, #1e137d) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 19, 125, 0.5);
    color: #ffffff !important;
}

.btn-download-certificate:active {
    background: linear-gradient(135deg, #1e137d, #2a3090) !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(30, 19, 125, 0.3);
    color: #ffffff !important;
}

.btn-download-certificate i {
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

.note-text {
    font-size: 14px;
    color: #666;
    text-align: start;
    margin-top: 20px;
    line-height: 1.6;
}

/* ââ Responsive: Form ââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 992px) {
    .form-flex-wrapper {
        flex-direction: column;
    }

    .verify-block {
        width: 100% !important;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .form-logo-section {
        border-right: none;
        border-bottom: 1px solid #2a35903d;
        padding: 30px 20px;
    }

    .form-content-section {
        padding: 20px;
    }

    .button-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .form-container {
        margin: 40px auto;
        width: 95%;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .form-content {
        padding: 20px 15px;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .login100-form-btn {
        height: 55px;
        font-size: 15px;
    }

    .button-container {
        width: 100%;
        max-width: 100%;
    }

    .btn-download-certificate {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .form-container {
        margin: 20px auto;
        border-radius: 12px;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .form-logo-section img {
        max-height: 100px;
    }

    .form-logo-section h3 {
        font-size: 18px;
        margin-top: 15px;
    }

    .form-logo-section p {
        font-size: 14px;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .button-container {
        width: 100%;
        max-width: 100%;
    }

    .btn-download-certificate {
        padding: 10px 20px;
        font-size: 13px;
    }

    .note-text {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .form-logo-section {
        padding: 20px 15px;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .form-logo-section img {
        max-height: 96px;
    }

    .login100-form-btn {
        height: 50px;
    }
}

/* ââ Multilingual Instructions âââââââââââââââââââââââââââââââ */
.instructions-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    /* Spacing handled by flexbox layout */
    padding: 0 20px;
}

.instructions-container h1 {
    width: 100%;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.instruction-card {
    position: relative;
    min-width: 300px;
    height: 400px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
        inset -5px -5px 15px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
    transition: 0.5s;
    flex: 1 1 300px;
    max-width: 350px;
    background: #3a40b0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instruction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.wrap-input100 {
    width: 70%;
}

.instruction-card .box {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.5s;
}

.instruction-card .box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.instruction-card .box .content {
    padding: 20px;
    text-align: strat;
}

.instruction-card .box .content h2 {
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
}

.instruction-card .box .content h3 {
    font-size: 1.5rem;
    color: #fff;
    z-index: 1;
    transition: 0.5s;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.instruction-card .box .content .des {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    transition: 0.5s;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
}

.instruction-card .box .content .des span {
    font-weight: bold;
}

.instruction-card .box .content a {
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    text-decoration: none;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .instruction-card {
        min-width: 280px;
        height: 380px;
    }

    .instruction-card .box .content h2 {
        font-size: 5rem;
        font-family: 'Montserrat', sans-serif;
    }

    .instruction-card .box .content h3 {
        font-size: 1.3rem;
    }

    .instruction-card .box .content .des {
        font-size: 0.9rem;
    }
}

/* ââ FadeIn Animation ââââââââââââââââââââââââââââââââââââââââ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ââ Result States âââââââââââââââââââââââââââââââââââââââââââ */
.success-result {
    background-color: rgba(232, 245, 233, 0.9);
    border-left: 4px solid #4CAF50;
}

.warning-result {
    background-color: rgba(255, 248, 225, 0.9);
    border-left: 4px solid #FFC107;
}

.error-result {
    background-color: rgba(255, 235, 238, 0.9);
    border-left: 4px solid #F44336;
}

/* ââ Product Details âââââââââââââââââââââââââââââââââââââââââ */
.product-details {
    margin-top: 20px;
}

.product-details p {
    margin-bottom: 8px;
    font-size: 15px;
}

.product-details strong {
    color: #4e54c8;
}

.product-image {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ââ Verification Warning ââââââââââââââââââââââââââââââââââââ */
.verification-warning {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    /* Spacing handled by flexbox layout */
    padding: 0 20px;
}

.warning-container {
    background: #3a40b0;
    border-left: 5px solid #fff;
    border-radius: 8px;
    padding: 25px;
    color: white;
    box-shadow: 0 10px 30px rgb(78 78 78 / 20%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}

.warning-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgb(64 64 64 / 30%);
}

/* 黄色感叹号水印（与官方站一致） */
.warning-container::before {
    content: none;
}

.warning-bg-icon {
    position: absolute;
    right: 18px;
    top: 18%;
    font-size: 110px;
    color: #ffcc00;
    opacity: 0.28;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.warning-icon {
    font-size: 28px;
    margin-right: 15px;
    color: #fff;
}

.warning-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    padding-right: 48px;
}

.warning-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.warning-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.official-link {
    display: inline-block;
    max-width: 100%;
    background: #fff;
    color: #333;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    margin: 10px 0;
    transition: all 0.3s;
    box-sizing: border-box;
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.4;
}

.official-link:hover {
    background: white;
    transform: translateY(-2px);
}

.warning-tip {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid #fff;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin: 20px 0;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.warning-tip p,
.warning-tip strong,
.warning-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.warning-tip-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.safety-message {
    font-style: italic;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .warning-container {
        padding: 20px;
    }

    .form-container {
        margin: 0px;
    }

    .hero-section {
        padding: 30px 20px 30px;
    }

    .warning-container::before {
        content: none;
    }

    .warning-bg-icon {
        font-size: 72px;
        right: 10px;
        top: 12%;
        opacity: 0.25;
    }

    .warning-title {
        font-size: 1.15rem;
        padding-right: 40px;
    }

    .warning-text {
        font-size: 0.95rem;
    }

    .official-link {
        font-size: 0.9rem;
        padding: 10px 14px;
        width: 100%;
        text-align: center;
    }

    .verification-warning {
        padding: 0 12px;
        box-sizing: border-box;
    }
}

/* ââ Modal Override ââââââââââââââââââââââââââââââââââââââââââ */
@media (min-width: 992px) {

    .modal-lg,
    .modal-xl {
        max-width: 1000px !important;
    }
}

/* ââ Footer ââââââââââââââââââââââââââââââââââââââââââââââââââ */
.footer {
    background: linear-gradient(135deg, #1a2a6c, #093c94);
    padding: 60px 0 30px;
    color: white;
    position: relative;
    z-index: 1;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: space-between;
}

.footer .col-lg-4,
.footer .col-md-4,
.footer .col-sm-4,
.footer .col-xs-12 {
    padding: 0 15px;
    box-sizing: border-box;
}

.single_footer {
    margin-bottom: 30px;
}

.single_footer h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    position: relative;
}

.single_footer h4::after {
    content: "";
    display: block;
    height: 2px;
    width: 40px;
    background: #ffcc00;
    margin-top: 15px;
}

.single_footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single_footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    line-height: 36px;
    font-size: 15px;
    display: block;
    text-decoration: none;
}

.single_footer ul li a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

/* Newsletter Form */
.signup_form {
    margin-top: 20px;
}

.subscribe {
    position: relative;
    display: flex;
}

.subscribe__input {
    flex: 1;
    padding: 15px 20px;
    font-size: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.9);
}

.subscribe__btn {
    background: #ffcc00;
    color: #1a2a6c;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe__btn:hover {
    background: #fff;
}

/* Social Icons */
.social_profile {
    margin-top: 30px;
}

.social_profile ul {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social_profile ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social_profile ul li a:hover {
    background: #ffcc00;
    color: #1a2a6c;
    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.copy-right-col {
    width: 100%;
}

.copyright a {
    color: #ffcc00;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

.footer ul {
    list-style-type: none;
    padding-left: 0;
}

@media (max-width: 992px) {
    .footer .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .single_footer {
        margin-bottom: 40px;
    }

    .subscribe__input {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .social_profile ul li a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .copyright {
        font-size: 13px;
    }
}

/* ââ Hero Responsive âââââââââââââââââââââââââââââââââââââââââ */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .logo-container img {
        height: 60px;
    }

    .website-link {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* ââ Verify Section ââââââââââââââââââââââââââââââââââââââââââ */
.verify-section {
    padding: 0 20px;
    /* Vertical spacing handled by .main-content gap */
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 40px;
    /* Standardized spacing below section title */
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4e54c8;
    margin: 15px auto 0;
}

.verify-block {
    margin: 0 auto 30px auto;
    /* Centered with a consistent 30px bottom gap between sibling blocks */
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 1150px;
}

.verify-block:last-child {
    margin-bottom: 0;
    /* Remove extra bottom margin on the final block to preserve section-to-section gap */
}

.verify-question {
    color: #4e54c8;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.verify-question:before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #4e54c8;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.verify-answer {
    padding-left: 45px;
}

.verify-answer p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.verify-answer ul {
    margin: 20px 0;
    padding-left: 20px;
}

.verify-answer ul li {
    margin-bottom: 10px;
    color: #555;
}

.full-width-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ziska-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: #4e54c8;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.ziska-link:hover {
    background: #3a40b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
    color: white;
}

.ziska-link i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .verify-question {
        font-size: 1.3rem;
    }

    .verify-answer {
        padding-left: 0;
    }

    .verify-question:before {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}

/* ââ Product Image Tilt ââââââââââââââââââââââââââââââââââââââ */
.product-image-container {
    transition: transform 0.3s ease;
    width: 100% !important;
    display: block !important;
}

.product-image-container img {
    width: 80% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.tilt-hover:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

.list-group-item {
    padding: 0.75rem 0;
    background: transparent;
}

@media (max-width: 767.98px) {
    .col-md-6 {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .product-image-container img {
        max-height: 400px !important;
    }
}

/* ââ Go to Top Button ââââââââââââââââââââââââââââââââââââââââ */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4e54c8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
}

.go-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover {
    background: #3a40b0;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .go-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 10px;
    }
}

/* ââ Mobile Layout Width & Spacing Alignment Fix (320px to 576px) ââââââ */
@media (max-width: 576px) {

    /* ââ SECTION: GLOBAL WRAPPER & MAIN LAYOUT ââ */
    .main-content {
        padding: 40px 0 !important;
        /* Spacing at top and bottom of content */
        width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden;
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        /* Uniform 40px vertical gap between all direct section containers */
    }

    /* ââ SECTION: HERO SECTION ââ */
    .hero-section {
        padding: 30px 20px 0 !important;
        /* Bottom padding 0 to let main-content top spacing control it */
    }

    /* ââ SECTION: VERIFICATION INPUT FORM ââ */
    .form-container {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        /* Vertical margin is 0 because .main-content gap handles it */
        border-radius: 12px !important;
    }

    /* ââ SECTION: MULTILINGUAL INSTRUCTIONS ââ */
    .instructions-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        /* Spacing handled by .main-content gap */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .instructions-container h1 {
        margin-bottom: 25px !important;
        /* Uniform margin below heading */
    }

    .instruction-card {
        width: 90% !important;
        max-width: 90% !important;
        min-width: unset !important;
        margin: 0 auto 20px auto !important;
        /* 20px gap between cards */
        box-sizing: border-box !important;
        height: 220px !important;
        /* Perfectly sized compact height for mobile screen */
    }

    .instruction-card .box {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        border-radius: 10px !important;
    }

    .instruction-card .box .content {
        padding: 15px !important;
    }

    .instruction-card .box .content h2 {
        font-size: 3.5rem !important;
        top: -5px !important;
        right: 15px !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 700 !important;
        color: rgba(255, 255, 255, 0.1) !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .instruction-card:last-child {
        margin-bottom: 0 !important;
        /* Remove bottom margin on last card to keep outer section gap clean */
    }

    /* ââ SECTION: HOW TO VERIFY PRODUCT ââ */
    .verify-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        /* Spacing handled by .main-content gap */
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    .verify-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
        /* Uniform margin below heading, matches Multilingual Instructions */
    }

    .verify-block {
        width: 90% !important;
        max-width: 90% !important;
        min-width: unset !important;
        margin: 0 auto 20px auto !important;
        /* 20px gap between blocks */
        padding: 20px !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }

    .verify-block:last-child {
        margin-bottom: 0 !important;
        /* Remove bottom margin on last block to keep outer section gap clean */
    }

    .verify-answer {
        padding-left: 0 !important;
        margin-top: 10px;
    }

    /* ââ SECTION: WARNING NOTICE ââ */
    .verification-warning {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .warning-container {
        width: 92% !important;
        max-width: 92% !important;
        margin: 0 auto !important;
        padding: 18px 14px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .warning-tip {
        padding: 12px !important;
    }

    /* ââ SECTION: HEADER & FOOTER ALIGNMENT ââ */
    .header-container,
    .footer .container {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .footer {
        padding: 40px 0 20px !important;
        /* Spacing inside the footer */
    }

    .footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* ========== LUMETRA extras (logo + modal + layout fixes) ========== */
.area { height: 100%; min-height: 100vh; }

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  width: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: #2b3e98;
  border: 2px solid #2b3e98;
  line-height: 1;
  text-decoration: none !important;
}
.brand-logo .logo-top {
  background: #fff;
  color: #2b3e98;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 5px 3px 4px;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
}
.brand-logo .logo-bot {
  background: #2b3e98;
  color: #fff;
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 1px;
  text-align: center;
  padding: 4px 3px 5px;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
}
.brand-logo.lg { width: 180px; border-radius: 10px; border-width: 3px; }
.brand-logo.lg .logo-top { font-size: 22px; padding: 16px 8px 14px; letter-spacing: 0.5px; }
.brand-logo.lg .logo-bot { font-size: 14px; padding: 12px 8px 14px; letter-spacing: 2px; }

.logo-container a { display: inline-block; }
.form-logo-section .brand-logo.lg { max-width: 100%; }

.scratch-compare {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.scratch-compare .col { flex: 1; min-width: 220px; text-align: center; }
.scratch-compare h5 { font-size: 14px; margin-bottom: 10px; color: #333; font-weight: 700; }
.sec-label {
  border: 1.5px solid #c41e3a;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  max-width: 280px;
  margin: 0 auto;
}
.sec-label .holo {
  height: 56px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #1a1a1a, #3d1a2e, #1a3d2e, #1a1a3d, #1a1a1a);
  background-size: 200% 200%;
  animation: holoShift 4s ease-in-out infinite;
}
.sec-label .holo::after {
  content: "GENUINE  ORIGINAL  GENUINE";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; font-style: italic;
  color: rgba(255,255,255,0.55);
  transform: skewX(-10deg);
}
.sec-label .code-num {
  height: 56px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; letter-spacing: 1px; color: #111;
}
.sec-label .txt { padding: 12px 10px 14px; font-size: 11px; color: #555; line-height: 1.45; }
.sec-label .txt strong { display: block; font-size: 14px; color: #111; margin-bottom: 6px; }
@keyframes holoShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Result modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(14,23,72,0.55);
  display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 420px;
  padding: 28px 24px 22px; box-shadow: 0 12px 36px rgba(0,0,0,0.25); position: relative; text-align: center;
  font-family: Montserrat, sans-serif;
}
.modal-box .x {
  position: absolute; top: 12px; right: 14px; background: none; border: none;
  font-size: 22px; color: #9ca3af; cursor: pointer;
}
.modal-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 8px auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 32px; color: #fff;
}
.modal-icon.ok { background: #16a34a; }
.modal-icon.warn { background: #ea580c; }
.modal-icon.err { background: #dc2626; }
.modal-box h3 { font-size: 18px; margin-bottom: 8px; color: #111; }
.modal-box p { font-size: 14px; color: #555; }
.modal-meta {
  margin-top: 14px; text-align: left; background: #f3f4f6; border-radius: 10px;
  padding: 12px 14px; font-size: 13px; color: #374151; display: none;
}
.modal-meta div { margin: 4px 0; }
.modal-box .btn-close-modal {
  margin-top: 18px; width: 100%; height: 44px; border: none; border-radius: 10px;
  background: #4e54c8; color: #fff; font-weight: 700; cursor: pointer;
}

@media (max-width: 1200px) {
  .verify-block { width: 100% !important; max-width: 1150px; }
}

/* ===== Image logos from amg/ ===== */
.logo-container a {
  display: inline-block;
}
.logo-container .header-logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.logo-container .header-logo-img:hover {
  transform: scale(1.08);
}
.form-logo-section .form-logo-img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.code-image {
  margin-top: 20px;
  text-align: center;
}
.code-image .full-width-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .logo-container .header-logo-img { height: 48px; }
  .form-logo-section .form-logo-img { max-height: 120px; }
}
