* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #050510;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* 动态背景容器 */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at top left, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(118, 75, 162, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(102, 126, 234, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(118, 75, 162, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #050510 0%, #0a0a1a 50%, #050510 100%);
}

#backgroundCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.9;
        transform: scale(1.05) rotate(2deg);
    }
    66% {
        opacity: 0.95;
        transform: scale(1.02) rotate(-1deg);
    }
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 统计卡片 */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(30, 30, 50, 0.8);
    border: 1px solid rgba(100, 100, 150, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.stat-value.live {
    color: #ff4444;
}

.stat-value.success {
    color: #44ff44;
}

.stat-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
}

/* 头部操作区域 */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(100, 100, 150, 0.2);
    gap: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c8ef5 0%, #8a5fb8 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ffa5ff 0%, #ff6b7c 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

.btn-danger:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn:hover .icon {
    transform: rotate(180deg);
}

.btn-danger:hover .icon {
    transform: scale(1.1);
}

/* 状态栏 */
.status-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(15, 15, 35, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(102, 126, 234, 0.1) inset;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.status-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px 0 0 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.status-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(200, 200, 220, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    min-width: 80px;
}

.status-icon {
    font-size: 14px;
    opacity: 0.8;
}

.status-value {
    font-size: 15px;
    font-weight: 600;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s;
}

.status-monitoring {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8), 
                0 0 16px rgba(0, 255, 136, 0.4);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.status-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.3) 50%, 
        transparent 100%);
    opacity: 0.5;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 表格容器 */
.table-container {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(100, 100, 150, 0.2);
    max-height: 600px;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: rgba(30, 30, 50, 0.9);
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table th {
    padding: 15px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(100, 100, 150, 0.3);
}

.data-table th:first-child {
    text-align: center;
    width: 50px;
}

.data-table td:first-child {
    text-align: center;
    width: 50px;
}

/* 自定义复选框样式 */
.data-table input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 4px;
    background: rgba(20, 20, 40, 0.6);
    transition: all 0.2s ease;
    margin: 0;
    flex-shrink: 0;
}

.data-table input[type="checkbox"]:hover {
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.data-table input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.5),
                inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.data-table input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.data-table input[type="checkbox"]:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.data-table input[type="checkbox"]:active {
    transform: scale(0.95);
}

/* 全选复选框特殊样式 */
.data-table th input[type="checkbox"] {
    width: 22px;
    height: 22px;
    border-width: 2.5px;
}

.data-table th input[type="checkbox"]:checked {
    box-shadow: 0 0 16px rgba(102, 126, 234, 0.6),
                inset 0 0 10px rgba(255, 255, 255, 0.25);
}

.data-table tbody tr {
    cursor: default;
    transition: background 0.2s;
}

.data-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.data-table tbody tr:hover td:first-child {
    background: rgba(102, 126, 234, 0.03);
}

/* 库存数据列宽度 */
.data-table th:nth-child(6),
.data-table td:nth-child(6) {
    min-width: 300px;
    width: 300px;
    max-width: 400px;
}

.data-table td {
    padding: 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(100, 100, 150, 0.1);
    vertical-align: top;
}

.data-table tbody {
    transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
    position: relative;
}

.data-table tbody[style*="position: absolute"] {
    transition: opacity 0.1s ease-in-out, visibility 0s;
}

.data-table tbody tr {
    transition: background 0.2s, opacity 0.2s;
}

.data-table tbody td {
    vertical-align: top;
    padding: 8px 12px;
}

.data-table tbody tr:hover {
    background: rgba(74, 144, 226, 0.1);
}

/* 加密数据样式 */
.encrypted-data {
    position: relative;
    user-select: none;
}

.encrypted-text {
    font-family: 'Courier New', monospace;
    color: #999;
    letter-spacing: 1px;
    font-size: 12px;
}

.session-key {
    max-width: 200px;
    word-break: break-all;
}

/* SteamID64和Session Key合并列样式 */
.steam-session-cell {
    min-width: 280px;
    max-width: 400px;
    padding: 8px 12px;
}

.steam-id-row,
.session-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
}

.steam-id-row:last-child,
.session-key-row:last-child {
    margin-bottom: 0;
}

.steam-id-label,
.session-key-label {
    color: #999;
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.steam-id-value {
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.session-key-row .encrypted-data {
    color: #ccc;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
}

/* Guard按钮样式 */
.guard-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: default;
}

.guard-mobile {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    border: 1px solid #8a2be2;
}

.guard-email {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    border: 1px solid #4a90e2;
}

.guard-off {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

/* TTL指示器样式 */
.ttl-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ttl-bar {
    width: 4px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

.ttl-stable .ttl-bar {
    background: #44ff44;
    box-shadow: 0 0 8px rgba(68, 255, 68, 0.5);
}

.ttl-expiring .ttl-bar {
    background: #ffa500;
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.5);
}

.ttl-expiring .ttl-text {
    color: #ffa500;
}

.ttl-risk .ttl-bar {
    background: #ff4444;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.5);
}

.ttl-risk .ttl-text {
    color: #ff4444;
}

.ttl-text {
    font-size: 12px;
    font-weight: 500;
    color: #e0e0e0;
}

/* 库存相关样式 */
.inventory-cell {
    position: relative;
    min-width: 300px;
    width: 300px;
    max-width: 400px;
}

.inventory-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    user-select: none;
    white-space: nowrap;
}

.inventory-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
}

.inventory-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.inventory-text {
    font-size: 12px;
    color: #ccc;
    white-space: nowrap;
}

.inventory-arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.inventory-details {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(20, 20, 40, 0.95);
    border-radius: 6px;
    border: 1px solid rgba(100, 100, 150, 0.3);
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: opacity 0.2s, max-height 0.2s;
}

.inventory-details.inventory-hidden {
    display: none;
}

.inventory-item {
    padding: 4px 0;
    font-size: 12px;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(100, 100, 150, 0.1);
}

.inventory-item:last-child {
    border-bottom: none;
}

.inventory-empty {
    padding: 8px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.no-inventory {
    color: #666;
    font-size: 12px;
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-online {
    background: rgba(68, 255, 68, 0.2);
    color: #44ff44;
    border: 1px solid #44ff44;
}

.status-lobby {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    border: 1px solid #4a90e2;
}

.status-match {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.status-offline {
    background: rgba(150, 150, 150, 0.2);
    color: #999;
    border: 1px solid #999;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.page-btn {
    padding: 8px 16px;
    background: rgba(74, 144, 226, 0.2);
    border: 1px solid #4a90e2;
    border-radius: 6px;
    color: #4a90e2;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.page-btn:hover:not(:disabled) {
    background: rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #ccc;
}

/* 页面跳转 */
.page-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px;
}

.jump-label {
    font-size: 13px;
    color: #999;
}

.page-input {
    width: 60px;
    padding: 6px 10px;
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 13px;
    text-align: center;
    transition: all 0.3s;
}

.page-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(20, 20, 40, 0.95);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.page-input::-webkit-inner-spin-button,
.page-input::-webkit-outer-spin-button {
    opacity: 1;
    cursor: pointer;
}

.jump-btn {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 滚动条样式 */
.table-container::-webkit-scrollbar {
    width: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: rgba(20, 20, 40, 0.5);
}

.table-container::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 150, 0.5);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 100, 150, 0.7);
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 未授权警告对话框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.unauthorized-dialog {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    border: 2px solid #ff4444;
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 68, 68, 0.3);
    animation: slideUp 0.4s ease-out;
}

.warning-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.unauthorized-title {
    color: #ff4444;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unauthorized-feature {
    text-align: center;
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 6px;
    color: #ff6b6b;
    font-size: 15px;
    font-weight: 600;
}

.unauthorized-content {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.unauthorized-content p {
    margin-bottom: 10px;
}

.hwid-display {
    color: #ff4444;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    padding: 12px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.hwid-display span {
    color: #ff8888;
}

.confirm-btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.confirm-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff4444;
    color: #ff4444;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 登出确认对话框样式 */
.logout-dialog {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 16px;
    padding: 40px 50px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    animation: slideUp 0.4s ease-out;
}

.logout-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logout-title {
    color: #667eea;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-message {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.logout-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.logout-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    min-width: 120px;
}

.logout-btn-cancel {
    background: rgba(100, 100, 120, 0.3);
    border: 1px solid rgba(150, 150, 150, 0.5);
    color: #e0e0e0;
}

.logout-btn-cancel:hover {
    background: rgba(100, 100, 120, 0.5);
    border-color: rgba(200, 200, 200, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 100, 120, 0.3);
}

.logout-btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.logout-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #7a8ef5 0%, #8a5fb8 100%);
}

.logout-btn-confirm:active {
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .header-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
    }
    
    .status-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(102, 126, 234, 0.3) 50%, 
            transparent 100%);
    }
    
    .status-item {
        width: 100%;
        justify-content: space-between;
    }
    
    .unauthorized-dialog {
        padding: 30px 40px;
        max-width: 90%;
    }
    
    .warning-icon {
        font-size: 60px;
    }
    
    .unauthorized-title {
        font-size: 20px;
    }
    
    .logout-dialog {
        padding: 30px 40px;
        max-width: 90%;
    }
    
    .logout-icon {
        font-size: 48px;
    }
    
    .logout-title {
        font-size: 20px;
    }
    
    .logout-message {
        font-size: 14px;
    }
    
    .logout-buttons {
        flex-direction: column;
    }
    
    .logout-btn {
        width: 100%;
    }
}
