/* ===========================================
Thanksgiving Countdown - Tool Specific Styles
=========================================== */

/* Tool Layout */
.tdc-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Form and Input Styling */
.tdc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.tdc-section {
 padding: 25px;
 border-radius: 12px;
}

.input-settings {
 background: #fff7ed; /* Light Orange/Cream */
 border: 1px solid #fed7aa;
}

.tdc-section-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #9a3412; /* Dark Brown/Orange Title */
 margin-bottom: 20px;
 padding-bottom: 8px;
 border-bottom: 2px solid #fdba74;
}

.tdc-input-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tdc-input-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}
.tdc-input-group.full-width {
    flex-basis: 100%;
}

.tdc-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
 margin-bottom: 6px;
}

.tdc-input, .tdc-select {
 padding: 10px;
 border: 1px solid #fdba74;
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 100%;
 background-color: white;
}

.tdc-btn-calc {
 width: 100%;
 padding: 15px 20px;
 font-size: 1.2rem;
 font-weight: 700;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 background: #ea580c; /* Primary Orange Button */
 color: white;
 transition: background 0.2s;
 margin-top: 10px;
}
.tdc-btn-calc:hover {
 background: #c2410c;
}

/* --- Results Section --- */

.tdc-results-section {
 margin-top: 20px;
 text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.tdc-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 flex: 1 1 45%;
    min-width: 280px;
}

/* Main Date Box */
.main-date-box {
    border: 2px solid #ea580c;
}

.tdc-card-title {
 font-size: 1rem;
 text-transform: uppercase;
 color: #9a3412;
 margin-bottom: 10px;
 font-weight: 700;
}

.tdc-value-main {
 font-size: 3rem;
 font-weight: 800;
 color: #ea580c;
 line-height: 1.1;
 margin-bottom: 5px;
}
.tdc-unit {
    font-size: 1rem;
    color: #4b5563;
}

/* Countdown Box */
.countdown-box {
    border: 2px solid #65a30d; /* Olive Green */
}
.countdown-box .tdc-card-title {
    color: #3f6212;
}
.countdown-box .tdc-value-main {
    color: #65a30d;
}

.countdown-value {
    font-size: 3.5rem;
}
.countdown-value .unit-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4d7c0f;
}

.tdc-countdown-detail {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    margin-top: 10px;
}

/* Related Dates Section */
.tdc-related-dates {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    background: #f0fdfa; 
    border-radius: 8px;
    border: 1px solid #99f6e4;
    text-align: center;
}
.tdc-related-title {
    font-size: 1.2rem;
    color: #0d9488;
    margin-bottom: 10px;
}

.date-item {
    padding: 10px 0;
}
.date-name {
    display: block;
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 5px;
}
.date-value.black-friday {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a; /* Black */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .tdc-input-row {
        flex-direction: column;
        gap: 15px;
    }
    .tdc-input-group {
        flex-basis: 100%;
    }
    .tdc-results-section {
        flex-direction: column;
        gap: 15px;
    }
    .tdc-result-box {
        flex-basis: 100%;
    }
}