/* ===========================================
Easter Date & Countdown - Tool Specific Styles
=========================================== */

/* Tool Layout */
.ecd-box {
 max-width: 900px;
 margin: 0 auto;
}

/* Form and Input Styling */
.ecd-form {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.year-input {
 background: #fdf2f8; /* Light Pink */
 border: 1px solid #fbcfe8;
 padding: 25px;
 border-radius: 12px;
}

.ecd-section-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #be185d; /* Dark Pink Title */
 margin-bottom: 15px;
 padding-bottom: 5px;
 border-bottom: 2px solid #f472b6;
}

.ecd-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ecd-label {
 font-size: 0.95rem;
 font-weight: 600;
 color: #1f2937;
}

.ecd-input {
 padding: 10px;
 border: 1px solid #f472b6;
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 120px;
 text-align: center;
 background-color: white;
}

.ecd-btn-calc {
 padding: 10px 15px;
 font-size: 1rem;
 font-weight: 600;
 border: none;
 border-radius: 6px;
 cursor: pointer;
 background: #ec4899; /* Primary Pink Button */
 color: white;
 transition: background 0.2s;
}
.ecd-btn-calc:hover {
 background: #db2777;
}

/* --- Results Section --- */

.ecd-results-section {
 margin-top: 20px;
 text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.ecd-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
 flex: 1 1 300px;
    min-width: 280px;
}

/* Main Date Box */
.main-date-box {
    border: 2px solid #ec4899;
}

.ecd-card-title {
 font-size: 1rem;
 text-transform: uppercase;
 color: #be185d;
 margin-bottom: 10px;
 font-weight: 700;
}

.ecd-value-main {
 font-size: 3rem;
 font-weight: 800;
 color: #ec4899;
 line-height: 1.1;
 margin-bottom: 5px;
}
.ecd-unit {
    font-size: 1.1rem;
    color: #4b5563;
}

/* Countdown Box */
.countdown-box {
    border: 2px solid #4f46e5;
}
.countdown-box .ecd-card-title {
    color: #4338ca;
}
.countdown-box .ecd-value-main {
    color: #4f46e5;
}

.countdown-value {
    font-size: 3.5rem;
}
.countdown-value .unit-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6366f1;
}

.ecd-countdown-detail {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    margin-top: 10px;
}

/* Related Dates Section */
.ecd-related-dates {
    width: 100%;
    margin-top: 30px;
    padding: 30px;
    background: #f0fdf4; /* Light Green for context */
    border-radius: 10px;
    border: 1px solid #d1fae5;
}

.ecd-related-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 20px;
    border-bottom: 2px solid #a7f3d0;
    padding-bottom: 8px;
}

.ecd-date-grid {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.date-item {
    flex: 1 1 45%;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d1fae5;
}

.date-name {
    display: block;
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 5px;
}
.date-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}
.ash-wednesday {
    color: #78350f; /* Brown */
}
.pentecost {
    color: #b45309; /* Deep Orange */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .ecd-input-group {
        flex-direction: column;
    }
    .ecd-label {
        width: 100%;
        text-align: center;
    }
    .ecd-input {
        width: 100%;
    }
    .ecd-results-section {
        flex-direction: column;
        gap: 15px;
    }
    .ecd-result-box {
        flex-basis: 100%;
    }
    .ecd-date-grid {
        flex-direction: column;
    }
}