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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-in;
}

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

.header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-align: center;
    transition: transform 0.3s ease;
}

.header:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

h1 {
    font-size: 2.5em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    margin: 15px 0;
    color: #666;
    font-size: 1.1em;
}

.status {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.data-container {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f0f0;
}

.data-header h2 {
    color: #667eea;
    font-size: 1.6em;
    font-weight: 600;
}

.refresh-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.refresh-btn:active {
    transform: translateY(0);
}

.callback-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #667eea;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.callback-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.callback-time {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 12px;
    font-weight: 500;
}

.callback-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.85em;
    margin-bottom: 15px;
    font-weight: 600;
}

.status-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.data-row {
    margin: 10px 0;
    padding: 12px;
    background: white;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.data-row:hover {
    background: #f8f9fa;
}

.data-label {
    font-weight: 700;
    color: #555;
    margin-right: 10px;
    font-size: 0.95em;
}

.data-value {
    color: #333;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.no-data {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.no-data-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-data h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #666;
}

.no-data p {
    font-size: 1.1em;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.8em;
    }

    .data-header {
        flex-direction: column;
        gap: 15px;
    }

    .refresh-btn {
        width: 100%;
    }

    .callback-item {
        padding: 15px;
    }
}
