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

img {
    max-width: 100%;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}
ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    transition: max-width 0.4s ease;
}

@media (min-width: 1600px) {
    .container {
        max-width: calc(100% - 300px);
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: calc(100% - 600px);
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: calc(100% - 800px);
    }
}

.btn {
    border-radius: 8px;
    font-weight: 400;
    transition: all 0.3s;
}

.btn-primary {
    background: #00A98F;
    border-color: #00A98F;
}

.btn-primary:hover {
    background: #008f7a;
    border-color: #008f7a;
}

.btn-success {
    background: #5cb85c;
    border-color: #5cb85c;
}

.btn-success:hover {
    background: #4cae4c;
    border-color: #4cae4c;
}

.btn-outline {
    background: transparent;
    border: 1px solid #00A98F;
    color: #00A98F;
}

.btn-outline:hover {
    background: #00A98F;
    color: #fff;
}

.btn-info {
    background: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background: #138496;
    border-color: #138496;
}

.btn-warning {
    background: #ff9800;
    border-color: #ff9800;
}

.btn-warning:hover {
    background: #f57c00;
    border-color: #f57c00;
}

.btn-danger {
    background: #e91e63;
    border-color: #e91e63;
}

.btn-danger:hover {
    background: #c2185b;
    border-color: #c2185b;
}

.btn-outline.btn-danger {
    background: transparent;
    color: #e91e63;
    border-color: #e91e63;
}

.btn-outline.btn-danger:hover {
    background: #e91e63;
    color: #fff;
}

.btn-outline.btn-orange {
    background: transparent;
    color: #ff9800;
    border-color: #ff9800;
}

.btn-outline.btn-orange:hover {
    background: #ff9800;
    color: #fff;
}

.btn-outline.btn-green {
    background: transparent;
    color: #4caf50;
    border-color: #4caf50;
}

.btn-outline.btn-green:hover {
    background: #4caf50;
    color: #fff;
}

.label {
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
}

.label-success {
    background: #5cb85c;
}

.label-warning {
    background: #ff9800;
}

.label-info {
    background: #17a2b8;
}

.label-primary {
    background: #00A98F;
}

.label-default {
    background: #999;
}

.panel {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.panel-heading {
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0;
    padding: 18px 20px;
}

.panel-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.panel-body {
    padding: 20px;
}

.table {
    font-size: 14px;
}

.table > thead > tr > th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 500;
    color: #333;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #00A98F;
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.1);
}

.alert {
    border-radius: 8px;
    border: none;
}

.alert-info {
    background: #e3f2fd;
    color: #1976d2;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-warning {
    background: #fff3e0;
    color: #f57c00;
}

.alert-danger {
    background: #fce4ec;
    color: #c2185b;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.pagination > li > a {
    border-radius: 8px;
    margin: 0 3px;
    color: #666;
    border: 1px solid #e0e0e0;
}

.pagination > li > a:hover {
    background: #00A98F;
    border-color: #00A98F;
    color: #fff;
}

.pagination > .active > a {
    background: #00A98F;
    border-color: #00A98F;
    color: #fff;
}

.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dropdown-menu > li > a {
    padding: 10px 20px;
}

.dropdown-menu > li > a:hover {
    background: #f8f9fa;
    color: #00A98F;
}

.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
}

.modal-footer {
    border-top: 1px solid #f0f0f0;
}

.user-nav .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    color: #333 !important;
}

.user-nav .dropdown-toggle:hover,
.user-nav .dropdown-toggle:focus,
.user-nav .dropdown-toggle:active {
    background: transparent !important;
    color: #333 !important;
}

.user-nav .dropdown-toggle i {
    font-size: 18px;
}

.user-nav .dropdown {
    position: relative;
}

.user-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.user-dropdown {
    min-width: 200px;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
    display: none;
    position: absolute;
    right: 0;
    left: auto;
}

.user-dropdown .user-info {
    padding: 15px 20px;
    background: #fafbfc;
    border-radius: 8px 8px 0 0;
}

.user-dropdown .user-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.user-dropdown .user-balance {
    font-size: 13px;
    color: #666;
}

.user-dropdown .user-balance span {
    color: #00A98F;
    font-weight: 500;
}

.user-dropdown li a {
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

.user-dropdown li a i {
    margin-right: 10px;
    width: 16px;
    color: #999;
}

.user-dropdown li a:hover {
    background: #f8f9fa;
    color: #00A98F;
}

.user-dropdown li a:hover i {
    color: #00A98F;
}

.user-dropdown .divider {
    margin: 5px 0;
}

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

.main-nav {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 12px 0;
    width: 100%;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.main-nav.scrolled .navbar-brand {
    color: #333 !important;
}

.main-nav.scrolled .brand-name {
    color: #333;
}

.main-nav.scrolled .navbar-nav > li > a {
    color: #666;
}

.main-nav.scrolled .navbar-nav > li > a:hover {
    color: #00A98F;
    background: transparent;
}

.main-nav.scrolled .btn-login {
    border: 1px solid #00A98F;
    color: #00A98F !important;
}

.main-nav.scrolled .btn-login:hover {
    background: #00A98F;
    color: #fff !important;
    border-color: #00A98F;
}


.main-nav .navbar {
    margin-bottom: 0;
    border: none;
    background: transparent;
    min-height: auto;
}

.main-nav .navbar-header {
    display: flex;
    align-items: center;
}

.main-nav .navbar-brand {
    font-size: 20px;
    font-weight: 500;
    color: #fff !important;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav .navbar-brand i {
    margin-right: 8px;
    font-size: 24px;
    color: #00A98F;
}

.main-nav .brand-logo {
    height: 36px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.main-nav .brand-name {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.main-nav .navbar-nav {
    display: flex;
    align-items: center;
}

.main-nav .navbar-nav > li {
    display: flex;
    align-items: center;
}

.main-nav .navbar-nav > li > a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    padding: 8px 16px;
    transition: all 0.3s;
    font-weight: 400;
}

.main-nav .navbar-nav > li > a:hover {
    color: #00A98F;
    background: transparent;
}

.main-nav .btn-login {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 6px 20px !important;
    color: #fff !important;
    margin-left: 10px;
    transition: all 0.3s;
    font-size: 14px;
    background: transparent;
}

.main-nav .btn-login:hover {
    background: #00A98F;
    border-color: #00A98F;
    color: #fff !important;
}

.main-nav .btn-register {
    background: #00A98F;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 6px 20px !important;
    margin-left: 10px;
    font-weight: 400;
    transition: all 0.3s;
    font-size: 14px;
}

.main-nav .btn-register:hover {
    background: #008f7a;
}

.main-nav .navbar-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    margin-top: 0;
    margin-bottom: 0;
}

.main-nav .navbar-toggle .icon-bar {
    background-color: #666;
}

.site-footer {
    background: #fafbfc;
    color: #333;
    padding: 80px 0 40px;
    margin-top: 0;
    border-top: 1px solid #e8e8e8;
    width: 100%;
}




.site-footer .footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    color: #333 !important;
}

.site-footer .footer-logo:hover {
    color: #00A98F !important;
}

.site-footer .footer-logo i {
    margin-right: 8px;
    font-size: 24px;
    color: #00A98F;
}

.site-footer .footer-logo-img {
    height: 36px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.site-footer .footer-logo-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.site-footer .footer-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.site-footer .footer-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links li {
    margin-bottom: 12px;
}

.site-footer .footer-links a {
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.site-footer .footer-links a:hover {
    color: #00A98F;
}

.site-footer .footer-contact {
    font-size: 14px;
    color: #666;
    line-height: 2;
}

.site-footer .footer-contact i {
    color: #00A98F;
    margin-right: 8px;
    width: 16px;
}

.site-footer .footer-bottom {
    border-top: 1px solid #e8e8e8;
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.hero-banner {
    background: url('/assets/addons/saleshub/img/hero_bg.png') no-repeat center center;
    background-size: cover;
    padding: 0;
    margin-top: -60px;
    padding-top: 60px;
    color: #333;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.banner-content {
    position: relative;
    z-index: 5;
    padding: 80px 0 60px;
    width: 100%;
}




.banner-content h1 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #fff;
}

.banner-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-banner .banner-content .btn-primary {
    background: #00A98F;
    color: #fff;
    border: none;
}

.hero-banner .banner-content .btn-primary:hover {
    background: #008f7a;
}

.hero-banner .banner-content .btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-banner .banner-content .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.hero-banner .hero-stats .stat-item h3 {
    color: #fff;
}

.hero-banner .hero-stats .stat-item p {
    color: rgba(255, 255, 255, 0.7);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

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

.hero-stats .stat-item h3 {
    font-size: 28px;
    font-weight: 400;
    margin: 0;
    color: #00A98F;
}

.hero-stats .stat-item p {
    font-size: 13px;
    margin: 5px 0 0;
    color: #999;
}

.banner-right {
    position: relative;
    height: 350px;
}

.feature-card {
    position: absolute;
    background: transparent;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: none;
    backdrop-filter: none;
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-card .card-icon i {
    font-size: 18px;
    color: #fff;
}

.feature-card h4 {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 4px;
}

.feature-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.feature-card.card-1 {
    top: 20px;
    left: 0;
    animation: float 3s ease-in-out infinite;
}

.feature-card.card-2 {
    top: 60px;
    right: 0;
    animation: float 3s ease-in-out infinite 0.5s;
}

.feature-card.card-3 {
    bottom: 60px;
    left: 20px;
    animation: float 3s ease-in-out infinite 1s;
}

.feature-card.card-4 {
    bottom: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.feature-card.card-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite 2s;
}

.feature-card.card-6 {
    top: 50%;
    right: 50%;
    transform: translateX(50%);
    animation: float 3s ease-in-out infinite 2.5s;
}

.feature-card.card-5:hover {
    transform: translate(-50%, -50%) translateY(-3px);
}

.feature-card.card-6:hover {
    transform: translateX(calc(50% + -3px));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.section {
    padding: 60px 0;
    width: 100%;
}




.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 15px;
    color: #999;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title .line {
    width: 40px;
    height: 2px;
    background: #00A98F;
    margin: 15px auto 0;
    border-radius: 2px;
}

.category-tabs {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}




.category-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tabs li {
    display: inline-block;
}

.category-tabs li a {
    display: block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
    text-decoration: none;
}

.category-tabs li a:hover {
    background: #e6f7f4;
    color: #00A98F;
    border-color: #00A98F;
}

.category-tabs li a.active {
    background: #00A98F;
    color: #fff;
    border-color: #00A98F;
}

.category-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #00A98F;
}

.category-title i {
    margin-right: 8px;
    color: #00A98F;
}

.category-tab {
    margin:25px 0;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    color: #00A98F;
    border: 1px solid #00A98F;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-tab i {
    margin-right: 8px;
    font-size: 16px;
}

.category-tab:hover {
    background: #e6f7f4;
    color: #00A98F;
    border-color: #00A98F;
    transform: translateX(3px);
}

.category-tab.active {
    background: #00A98F;
    color: #fff;
    border-color: #00A98F;
    box-shadow: 0 2px 8px rgba(0, 169, 143, 0.2);
}

.category-tab.active::before {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #fff;
    border-radius: 2px;
}

.category-desc {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.category-desc i {
    color: #00A98F;
    margin-right: 5px;
}

.product-wrapper {
    display: flex;
    gap: 30px;
}

.product-sidebar {
    width: 160px;
    flex-shrink: 0;
}

.product-content {
    flex: 1;
}

.product-section {
    background: #fafbfc;
    width: 100%;
}



.product-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border: 1px solid #f5f5f5;
}

.product-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: #e8e8e8;
}

.product-item .item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    flex-shrink: 0;
}

.product-item .item-icon i {
    font-size: 28px;
    color: #00A98F;
}

.product-item .item-content {
    flex: 1;
}

.product-item .item-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px;
}

.product-item .item-content p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin: 0 0 12px;
}

.product-item .item-tags {
    display: flex;
    gap: 8px;
}

.product-item .item-tags span {
    background: #e6f7f4;
    color: #00A98F;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 400;
}

.product-item .item-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 24px;
    flex-shrink: 0;
}

.product-item .item-price {
    font-size: 22px;
    font-weight: 500;
    color: #00A98F;
    margin-bottom: 10px;
}

.product-item .item-price small {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.product-item .item-btns {
    display: flex;
    gap: 8px;
}

.product-item .item-btns .btn {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
}

.product-item .item-btns .btn-primary {
    background: transparent;
    border: 1px solid #00A98F;
    color: #00A98F;
}

.product-item .item-btns .btn-primary:hover {
    background: #00A98F;
    color: #fff;
}

.product-item .item-btns .btn-outline {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
}

.product-item .item-btns .btn-outline:hover {
    border-color: #00A98F;
    color: #00A98F;
}

.advantage-section {
    background: #fff;
    padding: 80px 0;
    width: 100%;
}




.adv-item {
    text-align: center;
    padding: 40px 30px;
    background: #fafbfc;
    border-radius: 16px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.adv-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.adv-item .adv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.adv-item .adv-icon i {
    font-size: 36px;
}

.adv-item h4 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

.adv-item .adv-icon[style*="#e8ecff"] i {
    color: #00A98F !important;
}

.adv-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.cert-section {
    padding: 80px 0;
    background: #fafbfc;
    width: 100%;
}




.cert-item {
    background: #fff;
    border-radius: 16px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cert-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #00A98F;
}

.cert-item .cert-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #00A98F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.cert-item .cert-icon i {
    font-size: 26px;
    color: #00A98F;
}

.cert-item:hover .cert-icon {
    background: #00A98F;
    box-shadow: 0 4px 12px rgba(0, 169, 143, 0.2);
}

.cert-item:hover .cert-icon i {
    color: #fff;
}

.cert-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.cert-item p {
    font-size: 13px;
    color: #999;
    margin: 0;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0e7ff 100%);
    padding: 100px 0;
    text-align: center;
    color: #333;
    width: 100%;
}



.cta-section h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #666;
}

.cta-section .btn-default {
    background: #00A98F;
    color: #fff;
    border: none;
    padding: 14px 45px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 169, 143, 0.3);
}

.cta-section .btn-default:hover {
    background: #008f7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 169, 143, 0.4);
}

.page-banner {
    background: url('/assets/addons/saleshub/img/bg@3x.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    padding-top: 120px;
    color: #fff;
    text-align: center;
    width: 100%;
}



.page-banner h1 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
}

.page-banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 产品卡片网格布局 */
.product-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.product-card-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #f5f5f5;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-card-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-icon i {
    font-size: 22px;
    color: #00A98F;
}

.product-type-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid;
}

.product-type-web_db {
    background: #f0f9f7;
    color: #00A98F;
    border-color: #c8e6e1;
}

.product-type-web_only {
    background: #f0f7ff;
    color: #2196f3;
    border-color: #c5dbf7;
}

.product-type-software {
    background: #fff8f0;
    color: #ff9800;
    border-color: #ffe0b2;
}

.product-type-api {
    background: #fff0f5;
    color: #e91e63;
    border-color: #f8bbd9;
}

.product-card-body {
    flex: 1;
}

.product-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.product-card-body p {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.product-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-card-tags span {
    font-size: 12px;
    color: #888;
}

.product-card-tags span i {
    color: #00A98F;
    margin-right: 4px;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
}

.product-card-price {
    font-size: 14px;
    color: #666;
}

.product-card-price .price {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.product-card-price small {
    color: #999;
}

.product-card-btns {
    display: flex;
    gap: 8px;
}

.product-card-btns .btn {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
}

.product-card-btns .btn-primary {
    border-color: #00A98F;
    color: #00A98F;
}

.product-card-btns .btn-primary:hover {
    background: #00A98F;
    color: #fff;
}

.product-card-btns .btn-outline {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
}

.product-card-btns .btn-outline:hover {
    border-color: #00A98F;
    color: #00A98F;
    background: rgba(0, 169, 143, 0.08);
}

.product-list {
    padding: 30px 0;
    background: #f5f7fa;
    width: 100%;
}

.product-grid {
    margin: 0 -10px;
}

.product-grid .col-md-6,
.product-grid .col-sm-6 {
    padding: 10px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1px solid #eee;
}

.product-card .product-card-body {
    flex: 1;
    overflow: hidden;
}

.product-card .product-card-footer {
    flex-shrink: 0;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-card-body {
    flex: 1;
    padding-bottom: 15px;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-tags .tag i {
    font-size: 11px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    display: flex;
    align-items: baseline;
}

.product-price .price-value {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.product-price .price-value.free {
    color: #00A98F;
}

.product-price .price-unit {
    font-size: 12px;
    color: #999;
    margin-left: 2px;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.product-card-footer .btn {
    padding: 6px 16px;
    font-size: 13px;
    background: transparent;
    border: 1px solid #00A98F;
    color: #00A98F;
    border-radius: 6px;
}

.product-card-footer .btn:hover {
    background: #00A98F;
    color: #fff;
}

.detail-banner {
    background: url('/assets/addons/saleshub/img/bg@3x.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    padding-top: 120px;
    color: #fff;
    width: 100%;
}



.detail-banner h1 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
}

.detail-banner .desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.detail-banner .btn-group-custom .btn {
    padding: 10px 30px;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 400;
    transition: all 0.3s;
    margin-right: 15px;
}

.detail-banner .btn-success {
    background: #00A98F;
    color: #fff;
    border: none;
}

.detail-banner .btn-success:hover {
    background: #008f7a;
}

.detail-banner .btn-info {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.detail-banner .btn-info:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.detail-body {
    padding: 40px 0;
    background: #f5f7fa;
    width: 100%;
}

.section-block {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00A98F;
}

.section-title i {
    margin-right: 8px;
    color: #00A98F;
}

.section-content {
    color: #666;
    line-height: 1.8;
}

.demo-box {
    background: rgba(0, 169, 143, 0.9);
    border-radius: 6px;
    padding: 35px 25px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.demo-box h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #fff;
}

.demo-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.demo-box .btn-default {
    background: #fff;
    color: #00A98F;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.demo-box .btn-default:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.info-card {
    background: #fff;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.info-card-body {
    color: #333;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .info-label {
    font-size: 14px;
    color: #999;
}

.info-item .info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.info-item .label-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 169, 143, 0.1);
    color: #00A98F;
    border-radius: 4px;
    font-size: 12px;
}

.consult-card {
    background: #fff;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.consult-card .consult-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.consult-card .consult-phone {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.consult-card .btn-consult {
    background: #00A98F;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
}

.consult-card .btn-consult:hover {
    background: #008f7a;
}

.related-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.related-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.related-title i {
    margin-right: 8px;
    color: #00A98F;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #fafbfc;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-item:hover {
    background: #f0f0f0;
}

.related-name {
    font-size: 14px;
    color: #333;
}

.related-price {
    font-size: 13px;
    color: #00A98F;
}

.pricing-section .pricing-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-section .pricing-card:hover {
    border-color: #00A98F;
    background: #e6f7f4;
}

.pricing-section .pricing-card.selected {
    border-color: #00A98F;
    background: #e6f7f4;
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.1);
}

.pricing-section .pricing-card .period {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.pricing-section .pricing-card .price {
    font-size: 24px;
    font-weight: 500;
    color: #00A98F;
}

.pricing-section .pricing-card .price small {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 8px;
}

.pricing-section .pricing-card .original-price {
    display: none;
}

.pricing-section .pricing-card .discount {
    font-size: 12px;
    color: #ff9800;
    margin-top: 5px;
}

.pricing-row {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-sidebar > * {
    margin-bottom: 0;
}

.pricing-row-header {
    margin-bottom: 20px;
}

.pricing-row-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.pricing-row-header h3 i {
    color: #00A98F;
    margin-right: 8px;
}

.pricing-row-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pricing-card-inline {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.pricing-card-inline:hover {
    border-color: #00A98F;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 169, 143, 0.15);
}

.pricing-card-inline.selected {
    border-color: #00A98F;
    background: linear-gradient(135deg, #e6f7f4 0%, #f0faf8 100%);
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.15);
}

.pricing-card-inline .pricing-period {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.pricing-card-inline .pricing-price {
    font-size: 28px;
    font-weight: 500;
    color: #00A98F;
}

.pricing-card-inline .pricing-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-top: 5px;
}

.pricing-card-inline .pricing-discount {
    font-size: 12px;
    color: #ff9800;
    margin-top: 5px;
}

.pricing-card-inline .pricing-desc {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    padding: 6px 0;
    border-top: 1px dashed #eee;
}

.pricing-card-inline .pricing-btn {
    margin-top: 12px;
    padding: 10px 16px;
    font-size: 14px;
}

.consult-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.consult-phone {
    font-size: 20px;
    font-weight: 500;
    color: #00A98F;
    margin-bottom: 15px;
}

.detail-sidebar .table {
    font-size: 14px;
}

.detail-sidebar .table td {
    padding: 12px 10px;
}

.btn-consult {
    background: transparent;
    border: 1px solid #00A98F;
    color: #00A98F;
    border-radius: 8px;
}

.btn-consult:hover {
    background: #00A98F;
    color: #fff;
}

body.manage-body {
    background: #f5f7fa;
    padding-top: 60px;
}

.navbar-inverse {
    background: #fff !important;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-inverse .navbar-brand {
    color: #333 !important;
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.navbar-inverse .navbar-brand i {
    margin-right: 8px;
    color: #00A98F;
}

.navbar-inverse .brand-logo {
    height: 32px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.navbar-inverse .brand-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.navbar-inverse .navbar-nav > li > a {
    color: #666 !important;
    transition: color 0.3s;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: #00A98F !important;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #00A98F;
}

.manage-sidebar {
    position: fixed;
    left: 0;
    top: 60px;
    bottom: 0;
    width: 240px;
    background: transparent;
    border-right: 1px solid #f0f0f0;
    overflow-y: auto;
    z-index: 100;
}

.manage-sidebar .nav-pills {
    padding-top: 8px;
}

.manage-sidebar .nav-pills > li > a {
    color: #595959;
    padding: 12px 20px;
    margin: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.manage-sidebar .nav-pills > li > a:hover {
    background: rgba(0, 169, 143, 0.08);
    color: #00A98F;
}

.manage-sidebar .nav-pills > li.active > a {
    background: #00A98F;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 169, 143, 0.3);
}

.manage-sidebar .nav-pills > li > a i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    font-size: 16px;
}

.manage-sidebar .badge {
    background: #ff4d4f;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

.manage-content {
    margin-left: 240px;
    padding: 25px;
    min-height: calc(100vh - 60px);
}

.page-header {
    margin: 0 0 20px 0;
}

.page-header h4 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.instance-tabs-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-tabs {
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.category-tabs .nav-tabs {
    border: none;
    margin-bottom: -2px;
}

.category-tabs .nav-tabs > li {
    margin-bottom: 0;
}

.category-tabs .nav-tabs > li > a {
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 14px;
    padding: 12px 20px;
    margin-right: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.category-tabs .nav-tabs > li > a:hover {
    color: #00A98F;
    background: transparent;
}

.category-tabs .nav-tabs > li.active > a {
    border: none;
    border-bottom: 2px solid #00A98F;
    color: #00A98F;
    background: transparent;
}

.category-tabs .nav-tabs > li > a i {
    margin-right: 8px;
}

.product-tabs {
    margin-bottom: 15px;
}

.product-tabs .nav-tabs {
    border: none;
    background: #fafbfc;
    border-radius: 6px;
    padding: 4px;
}

.product-tabs .nav-tabs > li {
    margin-bottom: 0;
}

.product-tabs .nav-tabs > li > a {
    border: none;
    color: #666;
    font-size: 13px;
    padding: 8px 16px;
    margin: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.product-tabs .nav-tabs > li > a:hover {
    color: #00A98F;
    background: rgba(0, 169, 143, 0.08);
}

.product-tabs .nav-tabs > li.active > a {
    border: none;
    background: #fff;
    color: #00A98F;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-tabs .nav-tabs > li > a i {
    margin-right: 6px;
    font-size: 12px;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    background: #f0f0f0;
    border-radius: 9px;
    font-size: 11px;
    color: #666;
    margin-left: 8px;
}

.category-tabs .nav-tabs > li.active .tab-count {
    background: rgba(0, 169, 143, 0.15);
    color: #00A98F;
}

.product-tabs .nav-tabs > li.active .tab-count {
    background: #00A98F;
    color: #fff;
}

.product-content {
    padding: 0;
}

.product-content .tab-pane {
    padding: 15px 0;
}

@media (max-width: 768px) {
    .manage-sidebar {
        position: relative;
        width: 100%;
        top: 0;
    }
    
    .manage-content {
        margin-left: 0;
    }
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-card .stat-icon i {
    font-size: 28px;
    color: #fff;
}

.stat-card .stat-value {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.stat-card .stat-btn {
    padding: 6px 20px;
    font-size: 13px;
    border-radius: 8px;
}

.product-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.product-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-stat-card .product-name {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.product-stat-card .product-count {
    font-size: 36px;
    font-weight: 400;
    color: #00A98F;
    margin-bottom: 5px;
}

.product-stat-card .product-unit {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.quick-entry {
    display: block;
    padding: 20px;
    color: #333;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
}

.quick-entry:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.quick-entry .entry-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-entry .entry-icon i {
    font-size: 24px;
}

.quick-entry .entry-label {
    font-size: 13px;
    color: #666;
}

.instance-group {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.instance-group-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.instance-group-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.instance-group-header h4 i {
    color: #00A98F;
    margin-right: 10px;
}

.instance-group-body {
    padding: 20px;
}

.instance-card {
    background: #fff;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    height: 100%;
    margin: 10px 0;
}

.instance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.instance-card .card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    position: relative;
}

.instance-card .card-header-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.instance-card .card-header .status-badge {
    position: relative;
    z-index: 2;
}

.instance-card .card-icon {
    width: 44px;
    height: 44px;
    background: #00A98F;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.instance-card .card-icon i {
    font-size: 20px;
    color: #fff;
}

.instance-card .card-info {
    flex: 1;
}

.instance-card .card-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.instance-card .card-subtitle {
    font-size: 12px;
    color: #999;
}

.instance-card .card-body {
    padding: 16px 20px;
}

.instance-card .domain-box {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.instance-card .domain-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.instance-card .domain-link {
    color: #00A98F;
    font-size: 13px;
    word-break: break-all;
}

.instance-card .config-row {
    display: flex;
    text-align: center;
    margin-bottom: 12px;
}

.instance-card .config-item {
    flex: 1;
    border-right: 1px solid #f0f0f0;
}

.instance-card .config-item:last-child {
    border-right: none;
}

.instance-card .config-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.instance-card .config-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.instance-card .billing-tags-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.instance-card .billing-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.4;
}

.instance-card .billing-tag i {
    font-size: 11px;
}

.instance-card .billing-tag.active {
    opacity: 1;
}

.instance-card .billing-tag-month {
    background: #e3f2fd;
    color: #1976d2;
}

.instance-card .billing-tag-month.active {
    background: #2196f3;
    color: #fff;
}

.instance-card .billing-tag-quarter {
    background: #fff3e0;
    color: #f57c00;
}

.instance-card .billing-tag-quarter.active {
    background: #ff9800;
    color: #fff;
}

.instance-card .billing-tag-year {
    background: #e8f5e9;
    color: #388e3c;
}

.instance-card .billing-tag-year.active {
    background: #4caf50;
    color: #fff;
}

.billing-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.billing-tag-month {
    background: #2196f3;
    color: #fff;
}

.billing-tag-quarter {
    background: #ff9800;
    color: #fff;
}

.billing-tag-year {
    background: #4caf50;
    color: #fff;
}

.instance-card .card-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instance-card .card-actions {
    display: flex;
    gap: 8px;
}

.instance-card .card-actions .btn {
    padding: 4px 12px;
    font-size: 12px;
}

.instance-card .expire-time {
    font-size: 13px;
    color: #666;
}

.instance-card .expire-time i {
    color: #999;
    margin-right: 5px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge i {
    margin-right: 5px;
    font-size: 8px;
}

.status-active {
    background: #e6f7f4;
    color: #00A98F;
}

.status-suspended {
    background: #fff3e0;
    color: #ff9800;
}

.status-pending {
    background: #e3f2fd;
    color: #2196f3;
}

.status-expired {
    background: #f5f5f5;
    color: #999;
}

.group-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
    margin-left: 10px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #00A98F;
    color: #00A98F;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-outline:hover {
    background: #00A98F;
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .empty-icon {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-state .empty-icon i {
    font-size: 36px;
    color: #ccc;
}

.empty-state p {
    color: #999;
    font-size: 16px;
    margin-bottom: 20px;
}

.detail-header {
    background: linear-gradient(135deg, #e6f7f4 0%, #f0f9f7 100%) !important;
    padding: 24px 30px;
    border-radius: 6px;
    color: #333;
    margin-bottom: 20px;
    border: 1px solid #d4edea;
}

.detail-header .header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-header .header-icon i {
    font-size: 26px;
    color: #fff;
}

.detail-header h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 6px;
}

.detail-header .subdomain {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    display: inline-block;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.config-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.config-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e6f7f4 0%, #d4edea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.config-icon i {
    font-size: 20px;
    color: #00A98F;
}

.config-item .config-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.config-item .config-value {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.status-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 30px;
}

.status-card .expire-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.status-card .expire-date {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
}

.status-card .expire-days {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.status-card .expire-days strong {
    color: #5cb85c;
}

.action-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.action-card .card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.action-card .card-body {
    padding: 20px;
}

.action-card .btn-block {
    margin-bottom: 10px;
    border-radius: 8px;
    padding: 10px;
}

.action-card .btn-block:last-child {
    margin-bottom: 0;
}

.order-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.order-table thead th {
    background: #fafbfc;
    border-bottom: 1px solid #eee;
    font-weight: 400;
    color: #333;
    padding: 14px 12px;
    font-size: 14px;
    text-align: center;
}

.order-table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.order-table tbody tr:hover {
    background: #fafbfc;
}

.order-table tbody tr {
    border-bottom: 1px solid #f5f5f5;
}

.order-no {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.amount {
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.order-table .label {
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 4px;
    border: none;
}

.order-table .btn {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin: 2px;
}

.order-table .btn-outline {
    background: transparent;
    border: 1px solid #00A98F;
    color: #00A98F;
}

.order-table .btn-outline:hover {
    background: #00A98F;
    color: #fff;
}

.order-table .btn-default {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #666;
}

.order-table .btn-default:hover {
    background: #e8e8e8;
    border-color: #d0d0d0;
}

.order-table .label-warning {
    background: #fff3e0;
    color: #ff9800;
}

.order-table .label-success {
    background: #e8f5e9;
    color: #4caf50;
}

.order-table .label-default {
    background: #f5f5f5;
    color: #999;
}

.empty-orders {
    text-align: center;
    padding: 60px 20px;
}

.empty-orders i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-orders p {
    color: #999;
    font-size: 16px;
}

.pay-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.pay-card .card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.pay-card .card-body {
    padding: 20px;
}

.order-info-table {
    font-size: 14px;
}

.order-info-table th {
    background: #f8f9fa;
    width: 120px;
    font-weight: 500;
    color: #333;
}

.pay-amount {
    font-size: 24px;
    font-weight: 400;
    color: #e91e63;
}

.payment-method {
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #00A98F;
    background: #f8f9ff;
}

.payment-method.selected {
    border-color: #00A98F;
    background: #f8f9ff;
}

.payment-method input[type="radio"] {
    margin-right: 10px;
}

.btn-pay {
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.recharge-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.recharge-card .card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.recharge-card .card-body {
    padding: 20px;
}

.balance-display {
    font-size: 32px;
    font-weight: 400;
    color: #5cb85c;
}

.btn-recharge {
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-recharge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

.log-table {
    font-size: 14px;
}

.log-table th {
    background: #f8f9fa;
    font-weight: 500;
    color: #333;
}

.profile-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.profile-card .card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.profile-card .card-body {
    padding: 20px;
}

.info-table {
    font-size: 14px;
}

.info-table th {
    background: #f8f9fa;
    width: 120px;
    font-weight: 500;
    color: #333;
}

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

.info-list li {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .info-label {
    flex: 0 0 100px;
    color: #666;
    font-weight: 500;
}

.info-list .info-value {
    flex: 1;
    color: #333;
}

.balance {
    font-weight: 400;
    color: #5cb85c;
}

.btn-submit {
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 500;
}

body.auth-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body.auth-body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 169, 143, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 169, 143, 0.03) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.login-container,
.register-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.auth-panel {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.auth-panel .panel-heading {
    background: #fff;
    border-bottom: none;
    padding: 30px 30px 20px;
}

.auth-panel .panel-heading h4 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.auth-panel .panel-body {
    padding: 20px 30px 30px;
}

.auth-panel .form-group {
    margin-bottom: 20px;
}

.auth-panel .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.auth-panel .form-control {
    height: 46px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.auth-panel .form-control:focus {
    border-color: #00A98F;
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.1);
}

.auth-panel .btn-primary {
    background: linear-gradient(135deg, #00A98F 0%, #008f7a 100%);
    border: none;
    height: 46px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-panel .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 143, 0.4);
}

.auth-panel .btn-success {
    background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
    border: none;
    height: 46px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-panel .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.4);
}

.auth-panel hr {
    margin: 25px 0;
    border-color: #f0f0f0;
}

.auth-panel .text-center {
    font-size: 14px;
    color: #666;
}

.auth-panel .text-center a {
    color: #00A98F;
    font-weight: 500;
}

.auth-panel .text-center a:hover {
    color: #008f7a;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo-section h3 {
    color: #333;
    font-size: 28px;
    font-weight: 500;
    margin: 0;
}

.logo-section .logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00A98F 0%, #008f7a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(0, 169, 143, 0.2);
}

.logo-section .logo-icon i {
    font-size: 36px;
    color: #fff;
}

@media (max-width: 768px) {
    .banner-right {
        display: none;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stats .stat-item {
        flex: 0 0 45%;
    }

    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .product-item .item-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .product-item .item-action {
        margin-left: 0;
        margin-top: 16px;
        align-items: center;
    }

    .product-item .item-tags {
        justify-content: center;
    }
}

/* ============================================
   实例列表-视图切换功能
   ============================================ */

/* 切换按钮容器 */
.view-toggle-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.view-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
}

.view-toggle-btn:hover {
    border-color: #00A98F;
    color: #00A98F;
}

.view-toggle-btn.active {
    background: #00A98F;
    border-color: #00A98F;
    color: #fff;
}

.view-toggle-btn i {
    font-size: 16px;
}

/* 卡片视图样式 - 默认隐藏（默认显示列表视图） */
.instance-card-view {
    display: none;
}

/* 列表视图样式 - 默认显示 */
.instance-list-view {
    display: block;
}

.instance-list-view .instance-list-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.instance-list-view table {
    margin-bottom: 0;
    font-size: 14px;
}

.instance-list-view thead tr {
    background: #fafbfc;
}

.instance-list-view thead th {
    padding: 14px 16px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.instance-list-view tbody tr {
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.instance-list-view tbody tr:hover {
    background: #fafbfc;
}

.instance-list-view tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    color: #666;
}

.instance-list-view .instance-name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.instance-list-view .instance-name-text {
    font-weight: 500;
    color: #333;
}

.instance-list-view .custom-domain-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #e6f7f4;
    color: #00A98F;
    border-radius: 4px;
    font-size: 11px;
}

.instance-list-view .domain-link {
    color: #00A98F;
    word-break: break-all;
}

.instance-list-view .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.instance-list-view .status-active {
    background: #e6f7f4;
    color: #00A98F;
}

.instance-list-view .status-suspended {
    background: #fff3e0;
    color: #ff9800;
}

.instance-list-view .status-pending {
    background: #e3f2fd;
    color: #2196f3;
}

.instance-list-view .status-expired {
    background: #f5f5f5;
    color: #999;
}

.instance-list-view .action-btns {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.instance-list-view .action-btns .btn {
    padding: 4px 12px;
    font-size: 12px;
    white-space: nowrap;
}

.instance-list-view .password-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.instance-list-view .password-cell .pwd-text {
    color: #00A98F;
    cursor: pointer;
}

/* 视图切换时的动画 */
.instance-card-view,
.instance-list-view {
    transition: opacity 0.3s ease;
}

.instance-card-view.hidden,
.instance-list-view.hidden {
    display: none;
}

/* 页面头部布局 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header-left h4 {
    margin: 0;
}

.page-header-right {
    display: flex;
    align-items: center;
}

.view-toggle-btn-group {
    display: flex;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.view-toggle-btn-group .view-toggle-btn {
    border: none;
    border-radius: 0;
    margin: 0;
    width: 36px;
    height: 32px;
}

.view-toggle-btn-group .view-toggle-btn:first-child {
    border-right: 1px solid #e0e0e0;
}

.view-toggle-btn-group .view-toggle-btn.active {
    background: #00A98F;
    color: #fff;
}

.view-toggle-btn-group .view-toggle-btn:hover:not(.active) {
    background: #f5f5f5;
}

/* 视图切换容器 */
.view-switch-wrapper {
    width: 100%;
}

/* ============================================
   登录/注册弹窗样式
   ============================================ */

.auth-modal.modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.auth-modal .modal-dialog {
    width: fit-content;
    margin: 0 auto;
}

.auth-modal .modal-content {
    width: 750px;
    height: 500px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.auth-modal-sidebar {
    width: 32%;
    height: 100%;
    min-width: 160px;
    background: linear-gradient(160deg, #63b1a9 2%, #196a5e 74%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 32px 24px;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.auth-modal-sidebar::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.auth-modal-sidebar::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.auth-sidebar-logo {
    width: 40px;
    height: 40px;
}

.auth-sidebar-logo i {
    font-size: 20px;
    color: #fff;
}

.auth-sidebar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.auth-sidebar-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.auth-sidebar-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.auth-sidebar-name {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
}

.auth-sidebar-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-modal-main {
    width: 68%;
    height: 100%;
    padding: 36px 32px 32px;
    position: relative;
    overflow-y: auto;
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    opacity: 1;
    line-height: 1;
}

.auth-modal-close:hover {
    background: #eee;
    color: #333;
    transform: rotate(90deg);
}

.auth-modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    cursor: pointer;
}

.auth-tab:hover {
    color: #00A98F;
    text-decoration: none;
}

.auth-tab.active {
    color: #00A98F;
    border-bottom-color: #00A98F;
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: flex;
    justify-content: center;
    padding:0 50px;
    height: 330px;
    flex-direction: column;
    animation: authFadeIn 0.3s ease;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-field {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s;
}

.auth-field:focus-within {
    border-color: #00A98F;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.08);
}

.auth-input-icon {
    flex-shrink: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 16px;
    transition: color 0.3s;
}

.auth-field:focus-within .auth-input-icon {
    color: #00A98F;
}

.auth-input {
    flex: 1;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
    outline: none;
    padding: 0 16px 0 0;
    font-family: inherit;
}

.auth-input::placeholder {
    color: #bbb;
}

.auth-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    font-family: inherit;
}

.auth-submit-btn.login-btn {
    background: linear-gradient(135deg, #00A98F 0%, #008f7a 100%);
}

.auth-submit-btn.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 143, 0.3);
}

.auth-submit-btn.register-btn {
    background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
}

.auth-submit-btn.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.3);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.auth-modal-msg {
    text-align: center;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.auth-modal-msg.show {
    display: block;
}

.auth-modal-msg.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.auth-modal-msg.error {
    background: #fce4ec;
    color: #c62828;
}

.auth-modal-main .auth-modal-tabs {
    display: inline-flex;
    width: auto;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
    border-bottom: none;
    gap: 0;
}

.auth-modal-main .auth-tab {
    padding: 7px 24px;
    font-size: 14px;
    flex: none;
    border: none;
    border-radius: 6px;
    color: #888;
    margin: 0;
}

.auth-modal-main .auth-tab:hover {
    color: #00A98F;
}

.auth-modal-main .auth-tab.active {
    background: #fff;
    color: #00A98F;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-bottom: none;
}

.auth-modal-main .auth-field {
    margin-bottom: 14px;
    border-width: 1.5px;
    border-radius: 8px;
    background: transparent;
    border-color: #e0e0e0;
}

.auth-modal-main .auth-field:focus-within {
    background: transparent;
    box-shadow: 0 0 0 2px rgba(0, 169, 143, 0.08);
    border-color: #00A98F;
}

.auth-modal-main .auth-input-icon {
    width: 36px;
    font-size: 14px;
}

.auth-modal-main .auth-input {
    height: 38px;
    font-size: 14px;
}

.auth-modal-main .auth-submit-btn {
    height: 40px;
    font-size: 15px;
    border-radius: 8px;
    margin-top: 6px;
}

.auth-modal-main .auth-submit-btn.login-btn:hover,
.auth-modal-main .auth-submit-btn.register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 169, 143, 0.25);
}

.auth-modal-main .auth-extra {
    margin-bottom: 12px;
    font-size: 13px;
}

.auth-modal-main .auth-checkbox {
    font-size: 13px;
}

.auth-modal-main .btn-forgot {
    font-size: 13px;
}

.auth-modal-main .btn-send-sms {
    height: 28px;
    font-size: 11px;
    padding: 0 10px;
}

@media (max-width: 540px) {
    .auth-modal .modal-dialog {
        width: auto;
        margin: 10px;
    }

    .auth-modal .modal-content {
        width: auto;
        height: auto;
        flex-direction: column;
    }

    .auth-modal-sidebar {
        width: 100%;
        height: auto;
        padding: 28px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .auth-modal-sidebar::before,
    .auth-modal-sidebar::after {
        display: none;
    }

    .auth-sidebar-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .auth-sidebar-logo i {
        font-size: 20px;
    }

    .auth-sidebar-name {
        font-size: 16px;
    }

    .auth-modal-main {
        width: 100%;
        padding: 28px 24px 24px;
        height: auto;
        overflow-y: visible;
    }
}

/* ============================================
   登录/注册页面样式（独立页）
   ============================================ */

.auth-form {
    margin-top: 28px;
}

.auth-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #00A98F;
    cursor: pointer;
}

.btn-forgot {
    font-size: 14px;
    color: #00A98F;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-forgot:hover {
    color: #008f7a;
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.auth-switch a {
    color: #00A98F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-switch a:hover {
    color: #008f7a;
    text-decoration: underline;
}

.auth-back-link {
    text-align: center;
    margin-top: 20px;
    animation: authFadeIn 0.5s ease 0.2s both;
}

.auth-back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-back-link a:hover {
    color: #00A98F;
}

.auth-captcha {
    margin-bottom: 20px;
}

.auth-captcha .input-group {
    display: flex;
    gap: 0;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.auth-captcha .input-group:focus-within {
    border-color: #00A98F;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 169, 143, 0.08);
}

.auth-captcha .form-control {
    flex: 1;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
    outline: none;
    padding: 0 16px;
    font-family: inherit;
    border-radius: 0;
    box-shadow: none;
}

.auth-captcha .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.auth-captcha .input-group-btn {
    flex-shrink: 0;
}

.auth-captcha .btn-captcha {
    height: 48px;
    border: none;
    background: #f0f0f0;
    color: #00A98F;
    font-size: 13px;
    font-weight: 500;
    padding: 0 16px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.auth-captcha .btn-captcha:hover {
    background: #e8e8e8;
    color: #008f7a;
}

.logo-section p {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .auth-panel {
        padding: 32px 24px 28px !important;
    }

    .auth-extra {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .login-container {
        max-width: 100% !important;
    }
}

/* ============================================
   发送短信按钮
   ============================================ */

.btn-send-sms {
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #00A98F 0%, #008f7a 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
}

.btn-send-sms:hover {
    opacity: 0.9;
}

.btn-send-sms:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
    color: #fff;
}
