/* ===========================================
Dubai Marathon Countdown - Tool Specific Styles
=========================================== */

/* Tool Layout */
.dmc-box {
 max-width: 900px;
 margin: 0 auto;
 text-align: center;
}

/* Info Header */
.dmc-info-header {
    background: #f0fff0; /* Light Mint/Greenish White */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #c2e0c2;
    margin-bottom: 30px;
}
.dmc-info-header h2 {
    font-size: 1.8rem;
    color: #008000; /* Dark Green */
    margin-bottom: 10px;
    border-bottom: 2px solid #a2d6a2;
    padding-bottom: 8px;
}
.race-date, .race-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.race-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    border-top: 1px dotted #ccc;
    padding-top: 10px;
}


/* --- Results Section --- */

.dmc-results-section {
 margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.dmc-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 #008000; /* Marathon Green */
}
.dmc-card-title {
 font-size: 1rem;
 text-transform: uppercase;
 color: #006400;
 margin-bottom: 15px;
 font-weight: 700;
}

.dmc-value-main {
 font-size: 3rem;
 font-weight: 800;
 color: #008000;
 line-height: 1.1;
 margin-bottom: 5px;
}

.countdown-value .unit-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4CAF50;
    text-transform: capitalize;
}

.dmc-countdown-detail {
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dotted #ccc;
}

/* Pace Box - Teasing another tool */
.pace-box {
    border: 2px solid #3333ff; /* Blue for technology/tools */
    text-align: left;
}
.pace-box .dmc-card-title {
    color: #000080;
    text-align: center;
}
.pace-text {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
    text-align: center;
}
.pace-btn {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: #3333ff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}
.pace-btn:hover {
    background: #1a1aff;
}


/* Responsive Styling */
@media (max-width: 768px) {
    .dmc-results-section {
        flex-direction: column;
        gap: 15px;
    }
    .dmc-result-box {
        flex-basis: 100%;
    }
}