.date-gauge-container {
    max-width: 600px;
    margin: 10px auto;
    font-family: Arial, sans-serif;
}

.gauge-title {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.date-gauge {
    position: relative;
    padding: 40px 0 40px 0;
}

.gauge-track {
    position: relative;
    height: 8px;
    background-color: #e0e0e0;
    background: #787aff;
    border-radius: 4px;
    margin: 0 35px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.gauge-fill {
    height: 100%;
    background: linear-gradient(
        to right,
        #787AFF,
        #FFFAA3 40%,
        #FF6C5E
    );
    border-radius: 4px;
    transition: width 0.3s ease;
}

.date-marker {
    position: absolute;
    top: -12px;
    transform: translateX(-50%);
    z-index: 10;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background-color: #FF5722;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.marker-dot2 {
    width: 4px;
    height: 16px;
    position: absolute;
    top: 8px;
    left: -2px;
    background-color: black;
    margin: 0 auto;
}

.marker-dot3 {
    width: 0px;
    height: 0px;
    position: absolute;
    top: 8px;
    left: -8px;
    border-style: solid;
    border-width: 0 8px 13.9px 8px;
    border-color: transparent transparent black transparent;
    transform: rotate(0deg);
}

.marker-dot3:hover::before {
    content: attr(data-date);
    display: inline-block;
    background-color: #333;
    color: #fff;
    font-size: 11px;
    padding: 6px;
    border-radius: 4px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.marker-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.marker-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
}

.marker-label2 {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-66%);
    background-color: #fff;
    color: black;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.marker-label2b {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-33%);
    background-color: #fff;
    color: black;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.date-label {
    position: absolute;
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.date-label2 {
    position: absolute;
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.start-date {
    left: 0;
    top: 15px;
}

.end-date {
    right: 0;
    top: 15px;
}

.gauge-info {
    text-align: center;
    margin-top: 15px;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gauge-track {
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .gauge-track {
        margin: 0 10px;
    }

    .date-label {
        font-size: 10px;
    }

    .marker-label {
        font-size: 10px;
        padding: 3px 6px;
    }
}
