/* ===========================================
   Hours Calculator - Tool Specific Styles (Teal/Aqua Theme)
   =========================================== */

/* Tool Layout */
.hc-box {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

/* --- Controls and Inputs Container --- */
.hc-controls-container {
    background: #f0fdfa; /* Light Aqua BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #99f6e4;
    margin-bottom: 30px;
}

.hc-input-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

/* Individual Row for Hours/Minutes input */
.hc-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr 20px; /* Hours, Minutes, Delete button space */
    gap: 10px;
    align-items: center;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccfbf1;
}

.hc-input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hc-input-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0d9488; /* Dark Teal Label */
    margin-bottom: 4px;
}

.hc-input {
    padding: 8px;
    border: 1px solid #2dd4bf; /* Medium Teal Border */
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    width: 100%;
    text-align: center;
}

/* Add Row Button */
.hc-add-btn {
    background: #0d9488;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.hc-add-btn:hover {
    background: #0f766e;
}

/* Delete Button */
.hc-delete-btn {
    background: none;
    border: none;
    color: #ef4444; /* Red for delete */
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.hc-delete-btn:hover {
    opacity: 1;
}


/* --- Results Summary --- */
.hc-results {
    margin-top: 30px;
    text-align: center;
}

.hc-summary {
    padding: 25px;
    background: #ecfdf5; /* Lighter Greenish BG */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hc-result-label {
    font-size: 1.1rem;
    color: #0d9488;
    font-weight: 600;
    margin-bottom: 5px;
}

.hc-total-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #14b8a6; /* Primary Teal Highlight */
    line-height: 1.1;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hc-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: #14b8a6;
    align-self: flex-end;
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .hc-input-row {
        grid-template-columns: 1fr 1fr 30px; 
    }
    .hc-total-value {
        font-size: 2.5rem;
    }
}