/* 添加到现有样式文件或在header.php中添加 */

/* 响应式容器 */
.admin-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* 侧边栏样式 */
.sidebar {
    width: 260px;
    background: #1e293b;
    color: #cbd5e1;
    transition: all 0.3s;
    flex-shrink: 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #334155;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.sidebar-menu {
    padding: 1rem 0;
}

.menu-item {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.menu-item:hover, .menu-item.active {
    background: #334155;
    color: white;
}

.menu-item i {
    width: 24px;
    text-align: center;
}

/* 主内容区 */
.main-content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* 标签页导航 */
.tab-container {
    margin-top: 1.5rem;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-link {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 表格响应式处理 */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
}

.card-body {
    padding: 1.5rem;
}

/* 状态标签 */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #fee2e2;
    color: #b91c1c;
}

.status-pending {
    background: #fef3c7;
    color: #b45309;
}

/* 密码强度指示器 */
.password-strength {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.strength-meter {
    height: 100%;
    width: 0%;
    background: #ef4444;
    transition: width 0.3s, background 0.3s;
}

/* 表单提示 */
.form-hint {
    display: block;
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: sticky;
        top: 80px;
        z-index: 90;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        scrollbar-width: none;
    }
    
    .sidebar-menu::-webkit-scrollbar {
        display: none;
    }
    
    .menu-item {
        padding: 0.7rem 1rem;
        white-space: nowrap;
    }
    
    .tab-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

@media (max-width: 576px) {
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .admin-header {
        padding: 0.8rem 1rem;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        margin: 0;
    }
    
    .form-col {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .user-menu .btn-text {
        display: none;
    }
}
/* 旧 */
/* assets/css/style.css */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --text: #1e293b;
    --light-text: #64748b;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --footer-bg: #1e293b;
    --footer-text: #cbd5e1;
    --accent: #f59e0b;
    --success: #10b981;
    --whois: #8b5cf6;
    --whois-dark: #7c3aed;
    --sold: rgba(0,0,0,0.7);
    --filter-btn: #f1f5f9;
    --warning: #ef4444;
    --info: #0ea5e9;
    --reserved: #ec4899;
}

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

body {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    font-family: 'Noto Sans SC', system-ui, sans-serif;
    position: relative;
}

/* 优化导航菜单 */
header {
    background: rgba(255, 255, 255, 0.92);
    padding: 0.6rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    margin-left: -8px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4rem 0.5rem;
    transition: all 0.3s;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
}

nav a:hover, nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* 主体内容 */
main {
    width: 90%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 0 0 1.5rem;
    color: var(--primary);
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
    font-family: 'Poppins', sans-serif;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--primary);
    border-radius: 3px;
}

/* 分类筛选按钮 */
.filters-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.7rem 1.4rem;
    background: var(--filter-btn);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    min-width: 100px;
    justify-content: center;
}

.filter-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

.filter-count {
    background: rgba(255,255,255,0.3);
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ====================== 卡片网格布局 ====================== */
/* 桌面端1100px以上：4列 */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* 平板端768px-1099px：3列 */
@media (max-width: 1099px) {
    .domains-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 移动端481px-767px：双列 */
@media (max-width: 767px) {
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 小屏幕移动端480px内：单列 */
@media (max-width: 480px) {
    .domains-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 3rem;
    }
}

/* ====================== 卡片样式优化 ====================== */
.domain-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 170px;
    position: relative;
    cursor: pointer;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

/* 优化卡片头部 */
.domain-header {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 80px;
}

.domain-name-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

/* 域名样式 */
.domain-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-family: 'Inter', 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    vertical-align: baseline;
}

.domain-extension {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    font-family: 'Inter', 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    vertical-align: baseline;
}

/* 优化金额样式 */
.domain-price-container {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    text-align: right;
}

/* 取消价格下划线 */
.domain-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    display: inline-block;
    padding-bottom: 0.1rem;
    font-family: 'Poppins', sans-serif;
}

/* 保留状态样式 */
.reserved .domain-price {
    color: var(--reserved);
}

/* 优化卡片底部详情区域 */
.domain-details {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 100%;
    padding: 0 1rem;
}

/* 固定尺寸网格容器 */
.description-grid {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
}

/* 优化描述文字 */
.domain-description {
    color: var(--light-text);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    max-height: 2.8em;
    padding: 0 0.5rem;
}

/* ====================== 底部优化 ====================== */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 0 1.8rem;
    margin-top: 4rem;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 取消底部链接下划线 */
.footer-links a {
    color: #94a3b8;
    text-decoration: none; /* 取消下划线 */
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #334155;
    width: 100%;
    max-width: 600px;
    font-family: 'Noto Sans SC', sans-serif;
}

/* ====================== 响应式设计 ====================== */
@media (max-width: 1200px) {
    .domains-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .domains-grid {
        gap: 1.5rem;
    }
    
    .filters-container {
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
        min-width: 90px;
    }

    /* 平板设备卡片高度 */
    .domain-card {
        height: 160px;
    }
    
    .domain-header {
        height: 75px;
    }
    
    .domain-name {
        font-size: 1.35rem;
    }
    
    .domain-extension {
        font-size: 1.05rem;
    }
    
    .domain-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.4rem 0;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
        gap: 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        padding: 0.7rem;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .domain-price-container {
        bottom: 0.5rem;
    }
    
    .filters-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    
    .filters-container::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        white-space: nowrap;
        min-width: auto;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .domains-grid {
        gap: 1.5rem;
        margin: 0 auto 3rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        padding: 0 1rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-links {
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
    
    /* 移动设备卡片高度 */
    .domain-card {
        height: 155px;
    }
    
    .domain-header {
        height: 70px;
    }
    
    .domain-name {
        font-size: 1.3rem;
    }
    
    .domain-extension {
        font-size: 1.0rem;
    }
    
    .domain-price {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* 小屏幕移动设备卡片高度 */
    .domain-card {
        height: 150px;
    }
    
    .domain-header {
        height: 65px;
    }
    
    .domain-name {
        font-size: 1.25rem;
    }
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    max-width: 450px;
    scrollbar-width: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.0rem;
    right: 1.0rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-domain {
    font-size: 2.0rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    font-family: 'Inter', 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    display: inline-block;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.modal-description {
    color: var(--light-text);
    margin-bottom: 0.9rem;
    line-height: 1.5; 
    font-size: 1.0rem;
    font-family: 'Noto Sans SC', sans-serif;
    max-height: 120px;
    overflow-y: auto;
    padding: 0.5rem;
    scrollbar-width: none;
}

.modal-description::-webkit-scrollbar {
    display: none;
}

.domain-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    text-align: left;
    background: #f8fafc;
    padding: 1.0rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text);
}

.info-item i {
    width: 24px;
    text-align: center;
    color: var(--info);
}

.info-label {
    font-weight: 600;
    min-width: 75px;
    color: var(--light-text);
}

.info-value {
    font-weight: 500;
}

.expiring-soon {
    color: var(--warning);
    font-weight: 600;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modal-btn {
    padding: 0.9rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.0rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.btn-whois {
    background: var(--whois);
    color: white;
}

.btn-whois:hover {
    background: var(--whois-dark);
    transform: translateY(-3px);
}

.btn-visit {
    background: var(--success);
    color: white;
}

.btn-visit:hover {
    background: #0da271;
    transform: translateY(-3px);
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-family: 'Noto Sans SC', sans-serif;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 咨询悬浮按钮 */
.consult-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
    background: rgba(37, 99, 235, 0.85);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
}

.consult-btn:hover {
    background: rgba(29, 78, 216, 0.9);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* 已售标记 */
.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sold-text {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    transform: rotate(-25deg);
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.domain-card.sold:hover .sold-overlay {
    opacity: 1;
}

.domain-card.sold .sold-overlay {
    opacity: 0.9;
}

/* 向上滑动按钮 */
.back-to-top {
    position: fixed;
    bottom: 77px;
    right: 25px;
    width: 42px;
    height: 42px;
    background: rgba(37, 99, 235, 0.85);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 998;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(29, 78, 216, 0.9);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* 后台管理样式 */
.admin-container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-title {
    color: var(--primary);
}

.logout-btn {
    padding: 0.5rem 1rem;
    background: var(--warning);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.domain-form {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.form-group {
    flex: 1 0 200px;
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-group textarea {
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.submit-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.reset-btn {
    padding: 0.8rem 1.5rem;
    background: var(--light-text);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.domains-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.domains-table th, .domains-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.domains-table th {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.domains-table tr:hover {
    background: #f8fafc;
}

.action-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.edit-btn {
    background: var(--info);
}

.delete-btn {
    background: var(--warning);
}

/* 登录页面样式 */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.login-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 1.2rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.login-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.login-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background: var(--primary-dark);
}

.error {
    color: var(--warning);
    text-align: center;
    margin-bottom: 1rem;
}
/* 添加在CSS文件的底部区域 */
.copyright a {
    text-decoration: none !important;
    color: #94a3b8;
    transition: color 0.3s;
}