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

/* 页面容器 */
.timestamp-tool {
    width: 100%;
    max-width: 896px;
    margin: 0 auto;
}

/* 标题区域 */
.tool-header {
    text-align: center;
    margin-bottom: 24px;
}

.tool-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}

.tool-desc {
    font-size: 16px;
    color: #666666;
}

/* 卡片主体 */
.tool-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
}

/* 子标题 */
.card-subtitle {
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 16px;
}

/* 当前时间戳 */
.current-timestamp {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* 按钮组 */
.button-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* 通用按钮 */
.btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.btn-danger {
    padding: 4px 12px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary {
    padding: 8px 16px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* 图标尺寸 */
.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

/* 模块间距 */
.convert-section {
    margin-bottom: 24px;
}

/* 模块标题 */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.section-title h3 {
    font-size: 18px;
    font-weight: 500;
}

.section-icon {
    color: #6b7280;
}

/* 表单行 */
.form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* 输入框 & 下拉框 */
.form-input {
    width: 232px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.form-select {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

/* 只读输入框 */
.readonly {
    background: #f9fafb;
}

/* 批量转换区域（隐藏） */
.batch-area {
    display: none;
}

.batch-content {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    text-align: center;
    color: #6b7280;
}

/* 简介说明 */
.tool-info {
    margin-top: 32px;
    font-size: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.tool-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333333;
}

.tool-info h4 {
    font-weight: 500;
    margin-bottom: 4px;
    color: #333333;
}

.tool-info p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.tool-info p:last-child {
    margin-bottom: 0;
}

/* 工具图标 */
svg {
    stroke: currentColor;
    fill: none;
}