.timestamp-tool-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.timestamp-tool-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.converter-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.converter-section h2 {
    color: #444;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.8rem;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

.input-group input[type="text"],
.input-group input[type="date"],
.input-group input[type="time"],
.input-group select {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input[type="text"]:focus,
.input-group input[type="date"]:focus,
.input-group input[type="time"]:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.input-group input[type="text"] {
    flex: 1;
    min-width: 200px;
}

.input-group button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#convertToDateBtn,
#convertToTimestampBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#convertToDateBtn:hover,
#convertToTimestampBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

#nowTimestampBtn,
#nowDateBtn {
    background: #f0f0f0;
    color: #555;
}

#nowTimestampBtn:hover,
#nowDateBtn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.result-group {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 1.5rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: #666;
    min-width: 140px;
}

.result-value {
    flex: 1;
    font-family: 'Consolas', 'Monaco', monospace;
    color: #333;
    word-break: break-all;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.copy-btn:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background: #10b981;
}

.info-section {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 1.5rem;
}

.info-section h3 {
    color: #065f46;
    margin-bottom: 1rem;
}

.info-section ul {
    padding-left: 1.5rem;
}

.info-section li {
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timestamp-tool-container {
        padding: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .input-group label {
        min-width: auto;
    }
    
    .input-group input[type="text"] {
        min-width: auto;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
    }
}