﻿.bg-grid {
    background-color: #fdfdfd;
    background-image: radial-gradient(#e2e8f0 1px, transparent 0);
    background-size: 28px 28px;
}

.custom-card {
    border-radius: 32px;
    border: 1px solid rgba(226, 232, 240, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.history-item {
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 1);
    background: rgba(255, 255, 255, 0.8);
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s;
}

    .history-item:hover {
        border-color: rgba(203, 213, 225, 1);
        background: rgba(255, 255, 255, 1);
    }

.badge-panel {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    border-radius: 9999px;
    border: 1px solid rgba(254, 243, 199, 1);
    background: rgba(255, 247, 237, 1);
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #f97316;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
}
/* Responsive Top Navigation */
.top-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px;
    flex-wrap: wrap;
}

    .top-nav-right a:hover {
        color: #ff7200;
    }

.top-nav-link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0 12px;
    border-right: 1px solid #34495e;
    white-space: nowrap;
}

    .top-nav-link:last-child {
        border-right: none;
    }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
}

.mobile-nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-top: 1px solid #34495e;
}

    .mobile-nav-menu.active {
        display: flex;
    }

.mobile-nav-link {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 20px;
    border-bottom: 1px solid #34495e;
    display: block;
}
/* Dropdown menu styling */
.el-dropdown-menu__item {
    padding: 8px 16px !important;
}

    .el-dropdown-menu__item:hover {
        background-color: #f3f4f6 !important;
    }

    .el-dropdown-menu__item a {
        width: 100%;
        display: block;
    }
/* WeChat QR Code Popover */
.wechat-qr-popover {
    padding: 0 !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

    .wechat-qr-popover .el-popover__title {
        display: none;
    }
/* Responsive Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.official-links-banner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.el-footer .friendlink a:hover {
    text-decoration: underline;
    color: #ff7200;
}

@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .top-nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .top-nav-left span {
        font-size: 11px;
    }

    .top-nav-left {
        gap: 8px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-partners {
        gap: 16px;
    }

    .footer-social-icons {
        gap: 10px;
    }

    .footer-payment-methods {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .top-nav-container {
        padding: 0 12px;
    }

    .top-nav-left span {
        display: none;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-partners {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .el-footer {
        padding: 30px 12px 15px !important;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-payment-methods {
        justify-content: center;
    }

    .footer-main-grid h4 {
        font-size: 14px !important;
    }

    .footer-main-grid ul {
        gap: 10px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

        .footer-main-grid ul li a {
            font-size: 13px !important;
        }

    .footer-main-grid .footer-social-icons {
        flex-wrap: wrap;
    }

    .footer-main-grid .footer-payment-methods > div {
        width: 50px !important;
        height: 35px !important;
    }

    .official-links-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

        .official-links-banner a {
            width: 100%;
        }
}

@media (max-width: 768px) {
    .official-links-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

        .official-links-banner a {
            width: 100%;
        }
}

/* header begin*/
header {
    background: #fff;
    padding: 18px 9vw;
    box-shadow: 0 2px 16px rgba(20, 42, 90, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 15px;
}

    .nav strong {
        color: #ff5b30;
        font-size: 18px;
    }
/* header end*/
#app {
    display: none;
}

.footer-payment-methods a img {
    max-width: 100%;
}

.tag_info_a {
    font-size: 12px;
    padding: 3px 5px;
    margin-right: 5px;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 5px;
}

    .tag_info_a.red {
        border: 1px solid rgba(226, 232, 240, 1);
        color: red;
        border-radius: 5px;
    }

@media (min-width: 768px) {
    .whois_main {
        max-width: 1024px;
        margin: 20px auto;
    }
}

.whois_main .el-header {
    padding: 20px;
    text-align: center;
}
.custom-descriptions a, .custom-descriptions a:hover {
    text-decoration: none;
    color: var(--el-color-primary);
}