
/* ===========================================
Hourly Rate Calculator - Tool Specific Styles
=========================================== */

/* Tool Layout */
.hrc-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Controls Layout */
.hrc-controls {
 display: flex;
 gap: 30px;
 flex-wrap: wrap;
 margin-bottom: 20px;
}

.hrc-section {
 flex: 1 1 45%;
 padding: 25px;
 border-radius: 12px;
}

/* Specific Section Styling */
.financial-needs {
 background: #fefce8; /* Light Yellow */
 border: 1px solid #fde68a;
}

.time-input {
 background: #f0fdf4; /* Light Green */
 border: 1px solid #d1fae5;
}

.hrc-section-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #78350f; /* Dark Brown/Yellow for Financial */
 margin-bottom: 20px;
 padding-bottom: 8px;
 border-bottom: 1px solid rgba(0,0,0,0.1);
}
.time-input .hrc-section-title {
 color: #065f46; /* Dark Green for Time */
}

/* Inputs */
.hrc-input-group {
 margin-bottom: 20px;
 display: flex;
 flex-direction: column;
}

.hrc-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
 margin-bottom: 6px;
}

.hrc-input {
 padding: 10px;
 border: 1px solid #d1d5db;
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 100%;
}

.hrc-help-text {
 font-size: 0.8rem;
 color: #6b7280;
 margin-top: 5px;
}

/* Calculate Button */
.hrc-btn-calc {
 width: 100%;
 padding: 15px 20px;
 font-size: 1.2rem;
 font-weight: 700;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 background: #f59e0b; /* Primary Amber/Gold Button */
 color: white;
 transition: background 0.2s;
 margin-top: 10px;
}
.hrc-btn-calc:hover {
 background: #d97706;
}

/* --- Results Section --- */

.hrc-results-section {
 margin-top: 30px;
 text-align: center;
}

.hrc-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 border: 2px solid #f59e0b;
}

.hrc-card-title {
 font-size: 1.1rem;
 text-transform: uppercase;
 color: #b45309; /* Darker Amber */
 margin-bottom: 10px;
 font-weight: 700;
}

/* Main Rate Display */
.hrc-value-main {
 font-size: 3.5rem;
 font-weight: 800;
 color: #f59e0b;
 line-height: 1;
 margin-bottom: 25px;
}

/* Breakdown Display */
.hrc-breakdown {
 display: flex;
 justify-content: center;
 gap: 25px;
 flex-wrap: wrap;
 padding-top: 20px;
 border-top: 1px dashed #e5e7eb;
}

.hrc-breakdown-item {
 text-align: center;
 flex: 0 0 45%;
}

.hrc-breakdown-number {
 font-size: 1.8rem;
 font-weight: 700;
 color: #1f2937;
 line-height: 1.2;
}
.hrc-breakdown-unit {
 font-size: 0.9rem;
 color: #4b5563;
 text-transform: uppercase;
 margin-top: 5px;
}
.hrc-note {
    margin-top: 20px;
    font-style: italic;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive Styling */
@media (max-width: 768px) {
 .hrc-controls {
  flex-direction: column;
  gap: 15px;
 }
 .hrc-section {
  flex-basis: 100%;
 }
 .hrc-value-main {
  font-size: 3rem;
 }
 .hrc-breakdown {
  gap: 15px;
  flex-direction: column;
 }
 .hrc-breakdown-item {
  flex-basis: 100%;
 }
}