/* tools/development/timestamp/assets/css/timestamp.css */

/* ── Live Clock Section ─────────────────────────────────────────── */
.ts-live-section {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0066ff 100%);
    border-radius: var(--radius-lg);
    color: #fff;
    margin-bottom: 30px;
}

.ts-live-label {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 10px;
}

.ts-live-value {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.1;
    word-break: break-all;
}

.ts-live-datetime {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.75;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* ── Copy current timestamp button ──────────────────────────────── */
.ts-copy-now {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ts-copy-now:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ── Converter Rows ─────────────────────────────────────────────── */
.ts-converter-block {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.ts-converter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color, #0066ff);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.ts-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
}

.ts-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.ts-result-box {
    margin-top: 18px;
    background: #f1f5f9;
    border-left: 4px solid var(--primary-color, #0066ff);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    word-break: break-all;
}

.ts-result-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
}

.ts-result-label {
    font-weight: 600;
    color: #64748b;
    min-width: 70px;
    font-family: inherit;
    font-size: 13px;
}

.ts-result-value {
    color: #1e293b;
    font-size: 15px;
}

.error-message {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 12px;
}

.copied-flash {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: #fff !important;
}
