body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.timestamp-tool {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.timestamp-tool h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 当前时间显示区域 */
.current-time-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.current-time-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.time-info {
    flex: 1;
}

.current-datetime {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.current-timestamps {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.timestamp-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.timestamp-item label {
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.timestamp-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    color: #495057;
    font-weight: 500;
}

/* 表单样式 */
.form-section {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

.input-group {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-control {
    border: none;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    background: transparent;
}

.form-control:focus {
    box-shadow: none;
    border: none;
}

.clear-btn {
    border: none;
    border-left: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: #e9ecef;
    color: #495057;
}

/* 快速选择按钮 */
.quick-select {
    margin-bottom: 1.5rem;
}

.quick-select label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
}

.quick-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* 按钮样式 */
.actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    background: white;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* 结果显示区域 */
.result-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.result-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.result-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.result-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.result-item label {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
    font-size: 0.9rem;
    min-width: 100px;
}

.result-value {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #2c3e50;
    font-weight: 500;
    flex: 1;
    margin: 0 1rem;
    word-break: break-all;
}

.copy-btn-mini {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.copy-btn-mini:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 时间戳提示 */
.form-text {
    margin-top: 0.5rem;
}

#timestampHint {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Tab样式增强 */
.nav-tabs {
    border: none;
    justify-content: center;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 12px;
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-tabs .nav-link:hover:not(.active) {
    background: #f8f9fa;
    color: #495057;
}

/* 复制成功提示 */
.copy-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.copy-tooltip.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timestamp-tool {
        padding: 1.5rem;
    }
    
    .current-time-display {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .current-timestamps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timestamp-item {
        justify-content: space-between;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .actions button {
        width: 100%;
    }
    
    .result-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .result-item label {
        min-width: auto;
        text-align: left;
    }
    
    .result-value {
        margin: 0;
        text-align: center;
        padding: 0.5rem;
        background: #f8f9fa;
        border-radius: 6px;
    }
} 