:root {
    --primary: #1ec6e6;
    --primary-dark: #25a4e9;
    --accent: #ffa200;
    --accent-light: #ffb740;
    --success: #15a223;
    --dark: #0f1535;
    --darker: #0a0f25;
    --light: #b8c6e0;
    --card-bg: rgba(20, 30, 60, 0.95);
    --text: #fff;
}

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

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #e0e6f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    /* 深色渐变底色 */
    background: linear-gradient(135deg, #0a0f25 60%, #1e3c72 100%);
}

/* 叠加网格背景（科技感） */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* 动态流光（模拟数据流/股票曲线感） */
body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
    transparent 0%,
    rgba(0, 255, 255, 0.1) 20%,
    rgba(0, 128, 255, 0.15) 40%,
    transparent 60%);
    background-size: 300% 300%;
    animation: flow 8s linear infinite;
    z-index: 1;
    pointer-events: none; /* 不影响交互 */
}

/* 动态流光动画 */
@keyframes flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}


/* 首屏优化 - 精简间距 */
.first-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 16px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    box-sizing: border-box;
}

.header {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.ai-bot {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-bot-inner {
    width: 100%;
    height: 100%;
    background: url("../image/tou.gif") center/contain no-repeat;
    border-radius: 50%;
}

@keyframes ai-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 5px 15px rgba(30, 198, 230, 0.5));
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        filter: drop-shadow(0 15px 25px rgba(30, 198, 230, 0.7));
    }
}

.title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 500;

    color: var(--light);
    text-align: center;
    line-height: 1.3;
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.accuracy {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
    text-align: center;
}

.accuracy .percent {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.desc {
    font-size: 0.95rem;
    color: var(--light);
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: center;
}

.input-group {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(35, 43, 69, 0.8);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 198, 230, 0.3);
}

.input-group input::placeholder {
    color: var(--light);
    opacity: 0.7;
}

.btn {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(30, 198, 230, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 198, 230, 0.6);
}

.btn:hover::before {
    left: 100%;
}

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

/* 其他部分保持不变 */
.stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0px 0 20px 0;
    width: 100%;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 5px;
    font-size: 12px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge i {
    color: var(--accent);
}

.testimonials {
    width: 100%;
    margin: 20px 0 0;
}

.testimonial {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
}

.testimonial-text {
    color: var(--light);
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.ai-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.ai-progress, .ai-result {
    background-image: linear-gradient(rgba(22, 49, 114, 0.55), rgba(22, 49, 114, 0.15)), url('../image/kongbg.jpg');
    border-radius: 18px;
    padding: 35px 25px;
    max-width: 400px;
    width: 90%;
    color: var(--text);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.progress-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.progress-box {
    margin: 20px 0;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: left;
    color: var(--light);
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    width: 0%;
    transition: width 0.8s ease;
}

.result-content {
    font-size: .95rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

#chat-btn {
    background: linear-gradient(90deg, var(--success), #1db954);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(21, 162, 35, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(21, 162, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(21, 162, 35, 0);
    }
}

.footer {
    width: 100%;
    max-width: 450px;
    margin: 40px auto 0 auto;
    padding: 0 16px 24px 16px;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

#cookie-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 15, 37, 0.6);
    color: var(--text);
    padding: 16px 20px;
    font-size: 0.95rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

#cookie-accept {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

#cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 198, 230, 0.4);
}

@media (max-width: 480px) {
    .ai-bot {
        width: 100px;
        height: 100px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .stats {

        gap: 15px;
    }

    #cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    #cookie-accept {
        margin-left: 0;
    }

    .trust-badges {

        align-items: center;
    }
}

mian {
    position: relative;
    z-index: 10;
}

.immersive-translate-input {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2147483647;
    display: flex;
    justify-content: center;
    align-items: center;
}

.immersive-translate-attach-loading::after {
    content: " ";

    --loading-color: #f78fb6;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    margin: 12px auto;
    position: relative;
    color: white;
    left: -100px;
    box-sizing: border-box;
    animation: immersiveTranslateShadowRolling 1.5s linear infinite;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-2000%, -50%);
    z-index: 100;
}

.immersive-translate-loading-spinner {
    vertical-align: middle !important;
    width: 10px !important;
    height: 10px !important;
    display: inline-block !important;
    margin: 0 4px !important;
    border: 2px rgba(221, 244, 255, 0.6) solid !important;
    border-top: 2px rgba(0, 0, 0, 0.375) solid !important;
    border-left: 2px rgba(0, 0, 0, 0.375) solid !important;
    border-radius: 50% !important;
    padding: 0 !important;
    -webkit-animation: immersive-translate-loading-animation 0.6s infinite linear !important;
    animation: immersive-translate-loading-animation 0.6s infinite linear !important;
}

@-webkit-keyframes immersive-translate-loading-animation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes immersive-translate-loading-animation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.immersive-translate-input-loading {
    --loading-color: #f78fb6;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
    margin: 12px auto;
    position: relative;
    color: white;
    left: -100px;
    box-sizing: border-box;
    animation: immersiveTranslateShadowRolling 1.5s linear infinite;
}

@keyframes immersiveTranslateShadowRolling {
    0% {
        box-shadow: 0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0),
        0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }

    12% {
        box-shadow: 100px 0 var(--loading-color), 0px 0 rgba(255, 255, 255, 0),
        0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }

    25% {
        box-shadow: 110px 0 var(--loading-color), 100px 0 var(--loading-color),
        0px 0 rgba(255, 255, 255, 0), 0px 0 rgba(255, 255, 255, 0);
    }

    36% {
        box-shadow: 120px 0 var(--loading-color), 110px 0 var(--loading-color),
        100px 0 var(--loading-color), 0px 0 rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 130px 0 var(--loading-color), 120px 0 var(--loading-color),
        110px 0 var(--loading-color), 100px 0 var(--loading-color);
    }

    62% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 130px 0 var(--loading-color),
        120px 0 var(--loading-color), 110px 0 var(--loading-color);
    }

    75% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
        130px 0 var(--loading-color), 120px 0 var(--loading-color);
    }

    87% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
        200px 0 rgba(255, 255, 255, 0), 130px 0 var(--loading-color);
    }

    100% {
        box-shadow: 200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0),
        200px 0 rgba(255, 255, 255, 0), 200px 0 rgba(255, 255, 255, 0);
    }
}

.immersive-translate-modal {
    position: fixed;
    z-index: 2147483647;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 15px;
}

.immersive-translate-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px 24px 24px;
    border-radius: 12px;
    width: 350px;
    font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
    "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
    position: relative;
}

@media screen and (max-width: 768px) {
    .immersive-translate-modal-content {
        margin: 25% auto !important;
    }
}

@media screen and (max-width: 480px) {
    .immersive-translate-modal-content {
        width: 80vw !important;
        margin: 20vh auto !important;
        padding: 20px 12px 12px !important;
    }

    .immersive-translate-modal-title {
        font-size: 14px !important;
    }

    .immersive-translate-modal-body {
        font-size: 13px !important;
        max-height: 60vh !important;
    }

    .immersive-translate-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
        margin: 0 4px !important;
    }

    .immersive-translate-modal-footer {
        gap: 6px !important;
        margin-top: 16px !important;
    }
}

.immersive-translate-modal .immersive-translate-modal-content-in-input {
    max-width: 500px;
}

.immersive-translate-modal-content-in-input .immersive-translate-modal-body {
    text-align: left;
    max-height: unset;
}

.immersive-translate-modal-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333333;
}

.immersive-translate-modal-body {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    margin-top: 24px;
}

@media screen and (max-width: 768px) {
    .immersive-translate-modal-body {
        max-height: 250px;
        overflow-y: auto;
    }
}

.immersive-translate-close {
    color: #666666;
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 20px;
    font-weight: bold;
}

.immersive-translate-close:hover,
.immersive-translate-close:focus {
    text-decoration: none;
    cursor: pointer;
}

.immersive-translate-modal-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.immersive-translate-btn {
    width: fit-content;
    color: #fff;
    background-color: #ea4c89;
    border: none;
    font-size: 14px;
    margin: 0 8px;
    padding: 9px 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.immersive-translate-btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.immersive-translate-btn:hover {
    background-color: #f082ac;
}

.immersive-translate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.immersive-translate-btn:disabled:hover {
    background-color: #ea4c89;
}

.immersive-translate-link-btn {
    background-color: transparent;
    color: #ea4c89;
    border: none;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
}

.immersive-translate-cancel-btn {
    /* gray color */
    background-color: rgb(89, 107, 120);
}

.immersive-translate-cancel-btn:hover {
    background-color: hsl(205, 20%, 32%);
}

.immersive-translate-action-btn {
    background-color: transparent;
    color: #ea4c89;
    border: 1px solid #ea4c89;
}

.immersive-translate-btn svg {
    margin-right: 5px;
}

.immersive-translate-link {
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
    color: #ea4c89;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.immersive-translate-primary-link {
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    text-decoration: none;
    color: #ea4c89;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.immersive-translate-modal input[type="radio"] {
    margin: 0 6px;
    cursor: pointer;
}

.immersive-translate-modal label {
    cursor: pointer;
}

.immersive-translate-close-action {
    position: absolute;
    top: 2px;
    right: 0px;
    cursor: pointer;
}

.imt-image-status {
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
}

.imt-image-status img,
.imt-image-status svg,
.imt-img-loading {
    width: 28px !important;
    height: 28px !important;
    margin: 0 0 8px 0 !important;
    min-height: 28px !important;
    min-width: 28px !important;
    position: relative !important;
}

.imt-img-loading {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAMAAACfWMssAAAAtFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////oK74hAAAAPHRSTlMABBMIDyQXHwyBfFdDMSw+OjXCb+5RG51IvV/k0rOqlGRM6KKMhdvNyZBz9MaupmxpWyj437iYd/yJVNZeuUC7AAACt0lEQVRIx53T2XKiUBCA4QYOiyCbiAsuuGBcYtxiYtT3f6/pbqoYHVFO5r+iivpo6DpAWYpqeoFfr9f90DsYAuRSWkFnPO50OgR9PwiCUFcl2GEcx+N/YBh6pvKaefHlUgZd1zVe0NbYcQjGBfzrPE8Xz8aF+71D8gG6DHFPpc4a7xFiCDuhaWgKgGIJQ3d5IMGDrpS4S5KgpIm+en9f6PlAhKby4JwEIxlYJV9h5k5nee9GoxHJ2IDSNB0dwdad1NAxDJ/uXDHYmebdk4PdbkS58CIVHdYSUHTYYRWOJblWSyu2lmy3KNFVJNBhxcuGW4YBVCbYGRZwIooipHsNqjM4FbgOQqQqSKQQU9V8xmi1QlgHqQQ6DDBvRUVCDirs+EzGDGOQTCATgtYTnbCVLgsVgRE0T1QE0qHCFAht2z6dLvJQs3Lo2FQoDxWNUiBhaP4eRgwNkI+dAjVOA/kUrIDwf3CG8NfNOE0eiFotSuo+rBiq8tD9oY4Qzc6YJw99hl1wzpQvD7ef2M8QgnOGJfJw+EltQc+oX2yn907QB22WZcvlUpd143dqQu+8pCJZuGE4xCuPXJqqcs5sNpsI93Rmzym1k4Npk+oD1SH3/a3LOK/JpUBpWfqNySxWzCfNCUITuDG5dtuphrUJ1myeIE9bIsPiKrfqTai5WZxbhtNphYx6GEIHihyGFTI69lje/rxajdh0s0msZ0zYxyPLhYCb1CyHm9Qsd2H37Y3lugVwL9kNh8Ot8cha6fUNQ8nuXi5z9/ExsAO4zQrb/ev1yrCB7lGyQzgYDGuxq1toDN/JGvN+HyWNHKB7zEoK+PX11e12G431erGYzwmytAWU56fkMHY5JJnDRR2eZji3AwtIcrEV8Cojat/BdQ7XOwGV1e1hDjGGjXbdArm8uJZtCH5MbcctVX8A1WpqumJHwckAAAAASUVORK5CYII=");
    background-size: 28px 28px;
    animation: image-loading-rotate 1s linear infinite !important;
}

.imt-image-status span {
    color: var(--bg-2, #fff) !important;
    font-size: 14px !important;
    line-height: 14px !important;
    font-weight: 500 !important;
    font-family: "PingFang SC", Arial, sans-serif !important;
}

.imt-primary-button {
    display: flex;
    padding: 12px 80px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #ea4c89;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    border: none;
    cursor: pointer;
}

.imt-retry-text {
    color: #999;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    cursor: pointer;
}

.imt-action-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.imt-modal-content-text {
    text-align: left;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@keyframes image-loading-rotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.imt-linear-gradient-text {
    background: linear-gradient(90deg, #00a6ff 0%, #c369ff 52.4%, #ff4590 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.imt-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.imt-linear-black-btn {
    border-radius: 50px;
    background: linear-gradient(66deg, #222 19%, #696969 94.25%);
    height: 48px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}

div.t-records {
    opacity: 1;
}
.error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    text-align: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    margin: 10px auto;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}