/* 时间戳转换工具专用样式 - 框架统一风格 */
.timestamp-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 2.5rem 0 2rem 0;
    background: #f8fafc;
}

.timestamp-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timestamp-card h2 {
    font-size: 1.18rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.1rem;
    letter-spacing: 0.01em;
}

.timestamp-card .output-content {
    font-size: 1.08rem;
    color: #2563eb;
    font-family: 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', monospace;
    white-space: pre-line;
    font-weight: 500;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    width: 100%;
    text-align: left;
}

.timestamp-convert-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 2rem 2.5rem 1.5rem 2.5rem;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timestamp-convert-card h2 {
    font-size: 1.13rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.1rem;
    letter-spacing: 0.01em;
}

.tool-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: flex-start;
}
.tool-actions .btn {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    height: 2.2rem;
    min-width: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tool-actions .btn:hover {
    background: #1749b1;
}
.tool-actions .btn:last-child {
    background: #ef4444;
}
.tool-actions .btn:last-child:hover {
    background: #b91c1c;
}
.input-area {
    margin-bottom: 1.1rem;
    width: 100%;
}
.input-area textarea {
    width: 100%;
    min-height: 60px;
    max-height: 160px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #f8fafc;
    font-size: 1.18rem;
    font-weight: 600;
    color: #1e293b;
    padding: 1rem 1.2rem;
    font-family: 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', monospace;
    resize: vertical;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}
.input-area textarea:focus {
    border: 2px solid #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
    background: #fff;
    color: #111827;
}
.input-error {
    color: #ef4444;
    font-size: 0.97rem;
    margin-top: 6px;
    min-height: 20px;
}
.output-area {
    margin-bottom: 1.1rem;
    width: 100%;
}
.output-content {
    background: #f1f5f9;
    color: #222;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 1.08rem;
    min-height: 32px;
    font-family: 'SF Mono', 'Menlo', 'Consolas', 'Liberation Mono', monospace;
    word-break: break-all;
    margin-bottom: 4px;
    width: 100%;
}
.output-status {
    font-size: 0.97rem;
    color: #888;
    min-height: 18px;
}
.examples {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.97rem;
    color: #444;
    margin-top: 1.1rem;
    line-height: 1.7;
    width: 100%;
}
.examples h3 {
    font-size: 1.01rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.examples code {
    background: #e0e7ef;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.97em;
}

@media (max-width: 700px) {
    .timestamp-main {
        padding: 1.2rem 0 1rem 0;
    }
    .timestamp-card, .timestamp-convert-card {
        max-width: 99vw;
        padding: 1.1rem 2vw 0.7rem 2vw;
    }
    .tool-actions .btn {
        font-size: 0.98rem;
        padding: 0.5rem 0.7rem;
        min-width: 70px;
        height: 2rem;
    }
    .input-area textarea {
        font-size: 1rem;
        padding: 0.7rem 0.7rem;
    }
    .output-content {
        font-size: 1rem;
        padding: 0.7rem 0.7rem;
    }
    .examples {
        font-size: 0.95rem;
        padding: 0.5rem 0.5rem;
    }
} 