/* --- Unix Converter Wrapper (Matches Stopwatch/Pomodoro Theme) --- */
#uc-wrapper {
    font-family: 'Press Start 2P', monospace; /* Fallback to monospace */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: #111827; /* Gray 900 */
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 2px solid #374151; /* Gray 700 */
    color: white;
}

/* --- Display Area (Current Time) --- */
.uc-display-container {
    background-color: #000;
    border: 4px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

/* Glass reflection effect */
.uc-display-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

.uc-time {
    font-size: 2rem;
    color: #10b981; /* Green */
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 5px;
    word-break: break-all;
}

.uc-status {
    font-size: 0.7rem;
    color: #9ca3af;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Controls / Inputs --- */
.uc-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.uc-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uc-input-group label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    margin-left: 2px;
}

.uc-input {
    background-color: #000;
    border: 2px solid #374151;
    color: #00FFFF; /* Cyan */
    padding: 12px;
    font-family: 'Press Start 2P', monospace, sans-serif; /* Easier for editing */
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.uc-input:focus {
    border-color: #00FFFF;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

/* --- Action Buttons --- */
.uc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 10px 0;
}

.uc-btn {
    padding: 12px 10px;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow: 0 4px 0 rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.uc-btn:active {
    transform: translateY(4px);
    box-shadow: none;
}

.uc-btn.convert {
    background-color: #3b82f6; /* Blue */
    color: white;
    border-bottom: 4px solid #2563eb;
}

.uc-btn.now {
    background-color: #f59e0b; /* Yellow */
    color: #78350f;
    border-bottom: 4px solid #d97706;
}

.uc-btn.copy {
    background-color: #4b5563; /* Gray */
    color: white;
    border-bottom: 4px solid #374151;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .uc-time { font-size: 1.5rem; }
    #uc-wrapper { padding: 15px; }
}