/* Loader container */
.verify-loader-container {
    text-align: center;
    margin-bottom: 370px;
}

/* Spinning square loader */
.verify-loader-square {
    position: relative;
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    animation: verify-spin 1.2s linear infinite;
    /* slow spin */
    margin: 0 auto;
}

/* Loader dots */
.verify-dot {
    position: absolute;
    width: 8px;
    /* all dots same size */
    height: 8px;
    background-color: #328545;
    border-radius: 50%;
    animation: verify-color 1.5s linear infinite;
    /* color change instead of pulse */
}

/* Dot positions (closer together) */
.verify-dot:nth-child(1) {
    top: 10px;
    left: 10px;
    animation-delay: 0s;
}

.verify-dot:nth-child(2) {
    top: 10px;
    right: 10px;
    animation-delay: 0.25s;
}

.verify-dot:nth-child(3) {
    bottom: 10px;
    left: 10px;
    animation-delay: 0.5s;
}

.verify-dot:nth-child(4) {
    bottom: 10px;
    right: 10px;
    animation-delay: 0.75s;
}

/* Color change animation */
@keyframes verify-color {

    0%,
    100% {
        background-color: #328545;
    }

    50% {
        background-color: #5ac97c;
    }

    /* lighter green */
}

/* Spin animation */
@keyframes verify-spin {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

/* Loading text */
.verify-loading-text {
    margin-top: 12px;
    font-size: 14px;
    color: #328545;
    font-weight: 500;
    font-family: 'Alibaba PuHuiTi', Inter, system-ui, sans-serif;
}

/* ===== Dropdown Styles ===== */
.language-selector {
    position: relative;
    /* for absolute dropdown */
    display: inline-flex;
    /* safer than flex here */
    align-items: center;
    z-index: 10000;
    /* make sure it's above other elements */
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    /* directly below parent */
    right: 0;
    min-width: 100px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    display: none;
    padding: 4px 0;
    z-index: 10000;
}

.language-selector:hover .custom-dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 5px 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #e6e6e6;
}



/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Alibaba PuHuiTi', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Navbar (matching original header-bv9Eo1l7.css) ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    height: 68px;
}

.navbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 300px 0 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.jinko-logo {
    height: 40px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    color: #000;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.language-selector:hover {
    background: #f5f5f5;
}

.language-selector .fa-globe {
    font-size: 16px;
    color: #328545;
}

.language-selector .fa-chevron-down {
    font-size: 10px;
    margin-left: 2px;
}

.header-btn {
    padding: 6px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
    transition: background 0.2s;
}

.header-btn:hover {
    background: #f5f5f5;
}

/* Visibility Utilities */
.mobile-only-header {
    display: none;
    padding: 15px 20px;
    background: #fff;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-back-btn {
    color: #9a9f9b;
    font-size: 15px;
    position: absolute;
    left: 20px;
}

.mobile-page-title {
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

/* ===== Hero Banner (matching original login-DBEXELW_.css) ===== */
/* Banner container: original is 250px, with full-width background */
.hero-banner {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: #fff;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background-image: url('/welcome.svg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    text-shadow: .1em .1em #333;
}

.hero-overlay-index {
    width: 100%;
    height: 100%;
    background-image: url('/banner.jpg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    text-align: center;
    text-shadow: .1em .1em #333;
}

.hero-content {
    position: absolute;
    top: 30%;
    left: 24%;
    z-index: 2;
    text-align: left;
}

.hero-title-wrapper {
    display: inline-block;
    text-align: left;
    /* Aligns contents (title and underline) to the start */
}

.hero-title {
    font-family: 'Alibaba PuHuiTi';
    font-size: 45px;
    font-weight: 700;
    color: #fff;
    line-height: 64px;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-title-underline {
    height: 10px;
    background-color: #fff;
    width: 100%;
    /* Matches the width of the wrapper (and thus the title) */
    margin-top: 4px;
}

.hero-title2 {
    font-family: 'Inter', 'Alibaba PuHuiTi', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    display: inline-block;
    border-bottom: 4px solid #fff;
    padding-bottom: 5px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    letter-spacing: 1px;
}

.hero-underline {
    display: none;
}

/* Specific centering for inner pages with hero-title2 */
.hero-banner--short .hero-content {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

/* ===== Solutions Section (matching original) ===== */
/* Solution header: original is 84px tall, centered title */
.solutions-section {
    flex: 1;
    background-color: #fff;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3%;
    height: 84px;
    background-color: #fff;
}

.header-line {
    display: block;
    width: 88px;
    height: 2px;
    background-color: #000;
}

.section-title {
    font-family: 'Alibaba PuHuiTi';
    font-size: 26px;
    font-weight: 700;
    line-height: 84px;
    text-align: center;
    color: #000;
}

/* Cards Grid - matching original type-center */
.solutions-cards {
    padding: 0 150px;
    display: flex;
    background-color: #fff;
    max-width: 1300px;
    margin: 0 auto;
}

.solution-card {
    width: 100%;
    height: 300px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: auto 490px;
    background-position: center center;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s;
}

.solution-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.card-title {
    width: 100%;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%);
    font-family: 'Alibaba PuHuiTi';
    font-size: 24px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: 0px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.card-description {
    width: 100%;
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translate(-50%);
    font-family: 'Alibaba PuHuiTi';
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    padding: 0 15px;
}

.card-btn-wrap {
    position: absolute;
    width: 100%;
    top: 200px;
    text-align: center;
}

.card-btn {
    display: inline-block;
    padding: 8px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-family: 'Alibaba PuHuiTi', Inter, system-ui, sans-serif;
    transition: all 0.3s;
    text-transform: uppercase;
    border-radius: 3px;
}

.card-btn:hover {
    background: transparent;
    color: #328545;
    border: 1px solid #328545;
    border-radius: 3px;
}

/* ===== IT Support Floating Button ===== */
.it-support-btn {
    opacity: .8;
    position: fixed;
    right: 30px;
    top: 70%;
    cursor: pointer;
    z-index: 50;
    transition: opacity 0.2s;
}

.it-support-btn:hover {
    opacity: 1;
}

.it-support-icon {
    width: 50px;
    height: 50px;
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #328545;
}

.it-support-text {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    font-weight: 500;
}

/* ===== Footer (matching original) ===== */
.footer {
    text-align: center;
    padding: 50px;
    background: #fff;
}

.footer p {
    font-size: 13px;
    color: #000;
}

/* Loading Overlay & Spinner Loader */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: none;
    /* Controlled by JS */
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-container {
    text-align: center;
}

.loading-text {
    margin-top: 20px;
    font-size: 14px;
    color: #328545;
    font-weight: 500;
    font-family: 'Alibaba PuHuiTi', Inter, sans-serif;
}

.dot-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.dot-spinner .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #328545;
    border-radius: 50%;
    animation: dot-spinner-pulse 1.2s infinite ease-in-out both;
}

.dot-spinner .dot:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -1.1s;
}

.dot-spinner .dot:nth-child(2) {
    top: 14%;
    left: 86%;
    transform: translate(-50%, -50%);
    animation-delay: -1.0s;
}

.dot-spinner .dot:nth-child(3) {
    top: 50%;
    left: 100%;
    transform: translate(-100%, -50%);
    animation-delay: -0.9s;
}

.dot-spinner .dot:nth-child(4) {
    top: 86%;
    left: 86%;
    transform: translate(-50%, -50%);
    animation-delay: -0.8s;
}

.dot-spinner .dot:nth-child(5) {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    animation-delay: -0.7s;
}

.dot-spinner .dot:nth-child(6) {
    top: 86%;
    left: 14%;
    transform: translate(-50%, -50%);
    animation-delay: -0.6s;
}

.dot-spinner .dot:nth-child(7) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: -0.5s;
}

.dot-spinner .dot:nth-child(8) {
    top: 14%;
    left: 14%;
    transform: translate(-50%, -50%);
    animation-delay: -0.4s;
}


@keyframes dot-spinner-pulse {

    0%,
    80%,
    100% {
        transform: scale(0.3);
        opacity: 0.3;
    }

    40% {
        transform: scale(1.0);
        opacity: 1;
    }
}

/* ===== Hero Banner Short Variant (for inner pages) ===== */
.hero-banner--short {
    height: 180px;
}

/* ===== SN Form Section ===== */
.sn-form-section {
    flex: 1;
    padding: 0 24px 60px;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.sn-form-section2 {
    flex: 1;
    padding: 0 24px 60px;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
}

.sn-form-card {
    background: #fff;
    margin-top: -30px;
    position: relative;
    z-index: 3;
    padding: 40px 50px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-radius: 2px;
}

/* Info text */
.sn-info {
    margin-bottom: 0px;
}

.sn-info-en {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    text-indent: 20px;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

.sn-info-cn {
    font-size: 14px;
    color: #333;
    /* Unified with English text color per screenshot */
    line-height: 1.7;
    text-indent: 20px;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

.sn-info--notice {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Barcode */
.sn-barcode {
    margin-bottom: 30px;
    text-align: center;
}

.barcode-img {
    background-image: url('/barcode.jpg');
    background-position: center center;
    width: 100%;
    height: 100px;
}




/* Custom Dropdown (matching reference image) */
.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.dropdown-trigger {
    width: 100%;
    padding: 16px 0;
    font-size: 14px;
    color: #aaa;
    /* Placeholder color */
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.dropdown-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-trigger i {
    font-size: 12px;
    color: #999;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 350px;
    /* Large height like image */
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    border-radius: 2px;
    margin-top: 4px;
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}

.dropdown-option:hover {
    background-color: #f5f5f5;
}

/* Form Styles */
.sn-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    border-bottom: 1px solid #ddd;
}

.form-group--captcha {
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 16px 0;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: 'Alibaba PuHuiTi', Inter, system-ui, sans-serif;
    color: #333;
    background: transparent;
}

.form-input::placeholder {
    color: #aaa;
}

.captcha-code {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    padding-left: 16px;
    min-width: 80px;
    text-align: center;
}

.captcha-code:hover {
    color: #328545;
}

/* Buttons */
.form-actions {
    text-align: center;
    margin-top: 36px;
}

.btn-verify {
    color: #fff;
    background: linear-gradient(to right, #328545, #72baa4);
    border: none;
    min-width: 140px;
    height: 44px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 15px;
    font-family: 'Alibaba PuHuiTi', Inter, system-ui, sans-serif;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-verify:hover {
    opacity: 0.9;
}

.btn-back {
    color: #fff;
    background: linear-gradient(to right, #328545, #72baa4);
    border: none;
    min-width: 140px;
    height: 44px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 15px;
    font-family: 'Alibaba PuHuiTi', Inter, system-ui, sans-serif;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-back:hover {
    opacity: 0.9;
}

/* ===== Result Table (matching reference image) ===== */
.result-table-wrapper {
    margin-bottom: 20px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table tr {
    /* Dotted line effect */
    border-bottom: 1px dotted #000;
}


.result-table td {
    padding: 12px 0;
    font-size: 14px;
    vertical-align: bottom;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
}

.result-label {
    color: #666;
    width: 50%;
    text-align: left;
    font-weight: 400;
}

.result-value {
    color: #333;
    text-align: right;
    font-weight: 400;
    width: 50%;
}

.result-value--highlight {
    color: #000;
    font-weight: 500;
}

/* Ensure card is clean white */
.sn-form-card {
    background: #fff;
    margin-top: -30px;
    position: relative;
    z-index: 3;
    padding: 50px 35px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .navbar-inner {
        padding: 0 30px;
    }

    .solutions-cards {
        flex-direction: column;
        padding: 0 24px;
    }

    .solution-card {
        width: 100%;
    }

    .hero-title {
        font-size: 32px;
        line-height: 48px;
    }

    .hero-content {
        left: 10%;
    }

    .hero-banner {
        height: 200px;
    }

    .hero-banner--short {
        height: 150px;
    }

    .card-image {
        height: 260px;
    }

    .it-support-btn {
        right: 12px;
    }

    .it-support-text {
        display: none;
    }

    .sn-form-card {
        padding: 30px 24px;
    }
}

@media (max-width: 600px) {
    .navbar-inner {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .hero-title-underline {
        width: 29%;
        height: 4px;
        /* Slightly thinner for mobile but still visible */
        margin: 14px 0 0 0;
    }

    .jinko-logo {
        height: 30px;
    }

    .hero-title-wrapper {
        display: inline-block;
        text-align: left;
    }

    .section-title {
        font-family: 'Alibaba PuHuiTi';
        font-size: 15px;
        font-weight: 700;
        line-height: 84px;
        text-align: center;
        color: #000;
    }

    .section-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0%;
        height: 84px;
        background-color: #fff;
    }

    .hero-content {
        left: 0;
        width: 100%;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
        padding: 0 20px;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 18px;
    }

    .solutions-cards {
        padding: 0;
    }

    .sn-form-card {
        padding: 24px 16px;
    }

    .result-label {
        width: 45%;
    }

    .footer {
        display: none;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only-header {
        display: flex;
    }

    .sn-form-section {
        padding: 0;
        background: linear-gradient(to bottom, #fff 90%, #111 10%);
        /* 90/10 split */
        min-height: 95vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sn-form-section2 {
        padding: 8px 8px 15px 8px;
        background: linear-gradient(to bottom,
                #fff 0%,
                #fff 42%,
                #111 42%,
                #111 100%);
        /* 90/10 split */
        min-height: 95vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sn-form-card {
        padding: 20px;
        margin-top: 0;
        margin-bottom: 0;
        /* Let background handle the split */
        background: #fff;
        width: 94%;
        box-shadow: none;
        border-radius: 0;
        box-sizing: border-box;
        min-height: 93vh;
        /* Occupy the white part */
    }

    .sn-info {
        padding: 20px 0;
        text-align: left;
        border-bottom: none !important;
    }

    .sn-info-en,
    .sn-info-cn {
        font-size: 14px;
        line-height: 1.6;
        color: #333;
        text-indent: 35px;
        margin-bottom: 0;
        /* Added gap to the first line of each paragraph */
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", sans-serif,
            "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
            "Noto Color Emoji";
    }

    .sn-info-en {
        margin-bottom: 15px;
    }

    .sn-barcode {
        margin: 20px 0 30px 0;
        text-align: left;
    }

}