/* ===========================================
Fuel Cost Trip Calculator - Tool Specific Styles
=========================================== */

/* Tool Layout */
.fctc-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Controls Layout */
.fctc-controls {
 display: flex;
 gap: 30px;
 flex-wrap: wrap;
 margin-bottom: 20px;
}

.fctc-section {
 flex: 1 1 45%;
 padding: 25px;
 border-radius: 12px;
 background: #f0faff; /* Light Blue Background */
 border: 1px solid #bfdbfe;
}

.financials {
    background: #f7fee7; /* Light Green */
    border-color: #d9f99d;
}

.fctc-section-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #1e40af; /* Dark Blue Title */
 margin-bottom: 20px;
 padding-bottom: 8px;
 border-bottom: 2px solid #93c5fd;
}
.financials .fctc-section-title {
    color: #4d7c0f; /* Dark Olive Title */
    border-bottom-color: #bef264;
}

/* Inputs */
.fctc-input-group {
 margin-bottom: 15px;
 display: flex;
 flex-direction: column;
}

.fctc-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
 margin-bottom: 6px;
}

.fctc-input {
 padding: 10px;
 border: 1px solid #93c5fd;
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 100%;
 background-color: white;
}
.fctc-help-text {
 font-size: 0.8rem;
 color: #4b5563;
 margin-top: 5px;
}

/* Checkbox Group */
.fctc-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.fctc-checkbox-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #4d7c0f;
}

/* Calculate Button */
.fctc-btn-calc {
 width: 100%;
 padding: 15px 20px;
 font-size: 1.2rem;
 font-weight: 700;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 background: #22c55e; /* Primary Green Button */
 color: white;
 transition: background 0.2s;
 margin-top: 10px;
}
.fctc-btn-calc:hover {
 background: #16a34a;
}

/* --- Results Section --- */

.fctc-results-section {
 margin-top: 30px;
 text-align: center;
}

.fctc-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 border: 2px solid #22c55e;
}

.fctc-card-title {
 font-size: 1.1rem;
 text-transform: uppercase;
 color: #166534; /* Darker Green */
 margin-bottom: 10px;
 font-weight: 700;
}

/* Main Rate Display */
.fctc-value-main {
 font-size: 4rem;
 font-weight: 800;
 color: #22c55e;
 line-height: 1;
 margin-bottom: 5px;
}
.fctc-note {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Breakdown Display */
.fctc-breakdown {
 display: flex;
 justify-content: center;
 gap: 25px;
 flex-wrap: wrap;
 padding-top: 20px;
 border-top: 1px dashed #d1fae5;
}

.fctc-breakdown-item {
 text-align: center;
 flex: 1 1 200px;
 padding: 15px;
    border-radius: 8px;
    background: #f0fdf4;
}

.fctc-breakdown-number {
 font-size: 1.8rem;
 font-weight: 700;
 color: #16a34a;
 line-height: 1.2;
}

.fctc-breakdown-unit {
 font-size: 0.9rem;
 color: #4b5563;
 text-transform: uppercase;
 margin-top: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
 .fctc-controls {
  flex-direction: column;
  gap: 15px;
 }
 .fctc-section {
  flex-basis: 100%;
 }
 .fctc-value-main {
  font-size: 3rem;
 }
 .fctc-breakdown {
  flex-direction: column;
 }
}