/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, 'SF Pro Display', 'Segoe UI', Roboto, BlinkMacSystemFont, sans-serif;
}

/* 整体背景色 */
body {
    background-color: #f0e7ff;
    background-image: linear-gradient(135deg, #f0e7ff 0%, #d8e7ff 50%, #ffebfd 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 颜色变量 */
:root {
    --primary-color: #360A7D;
    --primary-light: #764F94;
    --primary-dark: #270659;
    --background-color: #f0e7ff;
    --card-background: #ffffff;
    --text-color: #000C60;
    --text-secondary: #64698E;
    --success-color: #4caf50;
    --border-radius: 20px;
    --card-shadow: 0 10px 25px rgba(54, 10, 125, 0.07), 0 6px 12px rgba(54, 10, 125, 0.04);
    --card-hover-shadow: 0 14px 30px rgba(54, 10, 125, 0.1), 0 10px 20px rgba(54, 10, 125, 0.06);
    --header-shadow: 0 4px 20px rgba(54, 10, 125, 0.05);
    --subtle-border: #f0f0f5;
}

/* 导航栏 */
.header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 100;
    box-shadow: var(--header-shadow);
    border-bottom: 1px solid var(--subtle-border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--primary-color);
    margin-right: 30px;
}

.logo-text {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #774DBA;
    text-transform: lowercase;
    text-shadow: 0px 2px 4px rgba(119, 77, 186, 0.15);
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(119, 77, 186, 0), rgba(119, 77, 186, 0.5), rgba(119, 77, 186, 0));
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 30px 0;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.nav-link strong {
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 26px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.action-button {
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background-color: rgba(54, 10, 125, 0.06);
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.action-button:hover {
    background-color: rgba(54, 10, 125, 0.12);
    transform: translateY(-2px);
}

.login-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #E6E8F0;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-button:hover {
    border-color: #D1D5E8;
    background-color: #F9FAFC;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.login-button i {
    color: #A7AFCB;
    font-size: 16px;
    transition: all 0.3s ease;
}

.login-button:hover i {
    color: var(--primary-color);
}

.main-content {
    width: 100%;
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 10px;
}

.site-description {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.site-description-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-title {
    color: #360A7D;
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.page-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: flex-end;
    align-items: center;
}

.page-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.page-button:hover,
.page-button.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(54, 10, 125, 0.2);
}

.page-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-indicator {
    font-size: 14px;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
}

.status-monitor {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    position: relative;
    cursor: help;
    padding: 0px 0px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.status-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.status-item[data-status="online"] .status-dot {
    background-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.status-badge-head[data-status="online"] .status-dot {
    background-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.status-item[data-status="offline"] .status-dot {
    background-color: #f44336;
    box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
}

.status-item[data-status="unstable"] .status-dot {
    background-color: #ff9800;
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: max-content;
    z-index: 10;
}

.status-item:hover .status-tooltip {
    opacity: 1;
    visibility: visible;
}

.frosted-container {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.account-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(54, 10, 125, 0.03);
    transition: all 0.5s ease;
    cursor: pointer;
    border: 1px solid rgba(54, 10, 125, 0.05);
    position: relative;
    padding: 24px;
}

.account-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 2px 6px rgba(54, 10, 125, 0.06);
    background-color: rgba(255, 255, 255, 0.85);
}

.account-id {
    font-size: 24px;
    font-weight: 800;
    color: rgb(75, 85, 99);
    margin-bottom: 12px;
    text-align: left;
}

.account-type {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: rgba(243, 232, 255, 0.85);
    color: rgb(75, 85, 99);
    font-size: 16px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.status-badge-head {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgb(75, 85, 99);
    width: fit-content;
    border: 3px solid transparent;
    background: rgba(255, 255, 255, 0.5);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(75, 85, 99);
    margin: 0 auto 15px;
    width: fit-content;
    border: 3px solid transparent;
    background: rgba(223, 223, 223, 0.5);
}

.status-badge.busy {
    background-color: rgba(254, 226, 226, 0.7);
    color: rgb(75, 85, 99)
}

.usage-container {
    margin-top: 12px;
}

.usage-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.usage-percent {
    font-weight: 600;
    color: var(--primary-color);
}

.progress-bar {
    height: 8px;
    background-color: rgba(54, 10, 125, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #764F94, #a388c3);
    border-radius: 10px;
}

.start-button {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
}

.account-card:hover .start-button {
    opacity: 1;
    transform: translateY(0);
}

.start-button:hover {
    background-color: var(--primary-dark);
}

.pagination-container {
    display: none;
}

@media (max-width: 1400px) {
    .grid-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1400px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-navigation {
        gap: 20px;
    }

    .nav-link {
        font-size: 12px;
        padding: 25px 0;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
        height: auto;
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .nav-link {
        white-space: nowrap;
        padding: 10px 0;
    }

    .nav-link::after {
        bottom: 6px;
    }

    .main-content {
        margin-top: 160px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .header-actions {
        gap: 8px;
    }

    .action-button span,
    .login-button span {
        display: none;
    }

    .action-button,
    .login-button {
        padding: 10px;
    }

    .action-button i,
    .login-button i {
        font-size: 18px;
        margin: 0;
    }
}

hr.custom-line {
  border: 0;
  height: 1px;
  background-color: rgba(223, 223, 223, 1);
  margin: 10px 0;
}

.status-dot-sta{
    border-left: 2px solid var(--text-secondary);
    padding: 0px 10px;
}

.hero-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-color);
    text-align: center;
}

.hero-description {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: center;
    margin-top: 10px;
}