/* ===========================================
Summer Olympics Countdown - Tool Specific Styles
=========================================== */

/* Tool Layout */
.soc-box {
 max-width: 900px;
 margin: 0 auto;
 text-align: center;
}

/* Info Header */
.soc-info-header {
    background: #e6f7ff; /* Lighter Blue/White */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #99d6ff;
    margin-bottom: 30px;
}
.soc-info-header h2 {
    font-size: 1.8rem;
    color: #007bff; /* Primary Blue */
    margin-bottom: 10px;
    border-bottom: 2px solid #a3e0ff;
    padding-bottom: 8px;
}
.host-city {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.dates {
    font-size: 0.95rem;
    color: #555;
}


/* --- Results Section --- */

.soc-results-section {
 margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.soc-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 - General */
.countdown-box {
    border: 2px solid #0056b3; /* Primary Blue */
}
.soc-card-title {
 font-size: 1rem;
 text-transform: uppercase;
 color: #004d99;
 margin-bottom: 15px;
 font-weight: 700;
}

.soc-value-main {
 font-size: 2.5rem;
 font-weight: 800;
 color: #007bff;
 line-height: 1.1;
 margin-bottom: 5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.countdown-value span {
    display: block;
    line-height: 1.1;
}

.countdown-value .unit-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4682b4;
    text-transform: capitalize;
}

.soc-countdown-detail {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dotted #ccc;
}

/* In Progress Box */
.in-progress-box {
    border: 2px solid #28a745; /* Green for Live */
}
.in-progress-box .soc-card-title {
    color: #1e7e34;
}
.in-progress-text {
    font-size: 3.5rem;
    color: #28a745;
}


/* Lookahead Box (Gold/Yellow theme) */
.lookahead-box {
    border: 2px solid #ffc107; /* Yellow/Gold */
    text-align: left;
}
.lookahead-box .soc-card-title {
    color: #b38800;
    text-align: center;
}

.lookahead-item {
    padding: 10px 0;
    border-bottom: 1px dotted #ffe082;
}
.lookahead-item:last-child {
    border-bottom: none;
}

.lookahead-year {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffc107;
}
.lookahead-city {
    font-size: 0.95rem;
    color: #555;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .soc-results-section {
        flex-direction: column;
        gap: 15px;
    }
    .soc-result-box {
        flex-basis: 100%;
    }
    .soc-value-main {
        font-size: 2rem;
    }
    .soc-value-main span {
        font-size: 2.5rem;
    }
}