

.timestamp-live,
.converter-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.time-item label,
.input-group label {
    display: block;
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.value-copy,
.result-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    font-family: monospace;
    font-size: 1.05rem;
    color: #2d3748;
}

.result-line {
    min-height: 2.4rem;
    align-items: center;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
    padding: 0.25rem;
    border-radius: 0.3rem;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.copy-btn.small {
    width: 1.8rem;
    height: 1.8rem;
}

.copy-btn:hover {
    color: #3a8ffe;
    background-color: #ebf8ff;
}

.controls {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-start;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #edf2f7;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.control-btn:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

.divider {
    border: 0;
    border-top: 1px dashed #e2e8f0;
    margin: 1.5rem 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-with-btn {
    display: flex;
    gap: 0.5rem;
}

#inputTimestamp,
#inputDatetime {
    flex: 1;
    padding: 0.5rem 0.8rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.4rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

#inputTimestamp:focus,
#inputDatetime:focus {
    border-color: #3a8ffe;
    box-shadow: 0 0 0 2px rgba(58, 143, 254, 0.15);
}

.convert-btn {
    padding: 0.5rem 1rem;
    background-color: #3a8ffe;
    color: white;
    border: none;
    border-radius: 0.4rem;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.convert-btn:hover {
    background-color: #2a7ae0;
}