/* ===========================================
Exercise Duration Calculator - Tool Specific Styles
=========================================== */

/* Tool Layout */
.edc-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Controls Layout */
.edc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edc-section {
 padding: 25px;
 border-radius: 12px;
}

/* Section Styling */
.user-activity {
 background: #fff7ed; /* Light Orange */
 border: 1px solid #fbd38d;
}

.goals-time {
 background: #f0f9ff; /* Light Blue */
 border: 1px solid #bae6fd;
}

.edc-section-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #9a3412; /* Dark Orange Title */
 margin-bottom: 20px;
 padding-bottom: 8px;
 border-bottom: 2px solid #fdba74;
}
.goals-time .edc-section-title {
    color: #1e40af; /* Dark Blue Title */
    border-bottom-color: #93c5fd;
}

/* Input Rows and Groups */
.edc-input-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.edc-input-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.edc-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
 margin-bottom: 6px;
}

.edc-input, .edc-select {
 padding: 10px;
 border: 1px solid #fdba74;
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 100%;
 background-color: white;
}
.goals-time .edc-input, .goals-time .edc-select {
    border-color: #93c5fd;
}

.edc-help-text {
 font-size: 0.8rem;
 color: #4b5563;
 margin-top: 5px;
}

/* Time Input Styling */
.edc-time-input {
    display: flex;
    align-items: center;
    gap: 5px;
}
.edc-time-input input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #93c5fd;
    border-radius: 4px;
}

/* Calculate Button */
.edc-btn-calc {
 width: 100%;
 padding: 15px 20px;
 font-size: 1.2rem;
 font-weight: 700;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 background: #f97316; /* Primary Orange Button */
 color: white;
 transition: background 0.2s;
 margin-top: 10px;
}
.edc-btn-calc:hover {
 background: #ea580c;
}

/* --- Results Section --- */

.edc-results-section {
 margin-top: 30px;
 text-align: center;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.edc-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 flex: 1 1 40%;
}

.duration-result {
    border: 2px solid #f97316;
}
.calorie-result {
    border: 2px solid #10b981;
}

.edc-card-title {
 font-size: 1.1rem;
 text-transform: uppercase;
 margin-bottom: 10px;
 font-weight: 700;
}
.duration-result .edc-card-title {
    color: #c2410c;
}
.calorie-result .edc-card-title {
    color: #047857;
}

/* Main Display */
.edc-value-main {
 font-size: 3.5rem;
 font-weight: 800;
 line-height: 1.1;
 margin-bottom: 5px;
}
.duration-result .edc-value-main {
    color: #f97316;
}
.calorie-result .edc-value-main {
    color: #10b981;
}

.edc-unit {
    font-size: 1rem;
    color: #4b5563;
}

.edc-summary-note {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #6b7280;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .edc-input-row {
        flex-direction: column;
        gap: 15px;
    }
    .edc-input-group {
        flex-basis: 100%;
    }
    .edc-results-section {
        flex-direction: column;
    }
    .edc-result-box {
        flex-basis: 100%;
    }
    .edc-value-main {
  font-size: 2.8rem;
 }
}