/* ===========================================
Halloween Countdown - Tool Specific Styles
=========================================== */

/* Tool Layout */
.hdc-box {
 max-width: 900px;
 margin: 0 auto;
 text-align: center;
}

/* Fixed Date Display */
.hdc-date-display {
    padding: 30px 20px;
    background: #4b5563; /* Dark Gray Background */
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.date-header {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
}

.date-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff9900; /* Halloween Orange */
    margin: 10px 0;
}

.date-note {
    font-size: 1rem;
    color: #d1d5db;
}


/* --- Results Section --- */

.hdc-results-section {
 margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.hdc-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;
}

/* Countdown Box */
.countdown-box {
    border: 2px solid #ff9900; /* Orange */
}

.hdc-card-title {
 font-size: 1rem;
 text-transform: uppercase;
 color: #b45309; /* Darker Orange */
 margin-bottom: 10px;
 font-weight: 700;
}

.hdc-value-main {
 font-size: 3rem;
 font-weight: 800;
 color: #ff9900;
 line-height: 1.1;
 margin-bottom: 5px;
}

.countdown-value {
    font-size: 3.5rem;
}
.countdown-value .unit-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e59024;
}

.hdc-countdown-detail {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    margin-top: 10px;
}

/* Related Dates Box (Green/Purple theme) */
.related-dates-box {
    border: 2px solid #6b21a8; /* Deep Purple */
    text-align: left;
}
.related-dates-box .hdc-card-title {
    color: #6b21a8;
    text-align: center;
}

.related-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.related-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dotted #e9d5ff;
}
.related-list li:last-child {
    border-bottom: none;
}

.date-name {
    font-weight: 600;
    color: #374151;
}
.date-value {
    font-weight: 700;
    color: #a78bfa; /* Light Purple */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .hdc-results-section {
        flex-direction: column;
        gap: 15px;
    }
    .hdc-result-box {
        flex-basis: 100%;
    }
}