/* Live Customer Odometer Dashboard Style */

.odometer-page-container {
    background: radial-gradient(circle at center, #f0f9ff 0%, #e0f2fe 60%, #bae6fd 100%) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #0f172a;
    overflow: hidden;
    position: relative;
}

/* Back Button */
.odometer-back-btn {
    align-self: flex-start;
    z-index: 10;
    color: #0284c7 !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.odometer-back-btn:hover {
    color: #0369a1 !important;
}

/* Header Clock Section */
.odometer-header-clock {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.odometer-clock-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #0284c7;
    margin-bottom: 5px;
    opacity: 0.9;
}

.odometer-clock-time {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    color: #0f172a;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 25px;
    border-radius: 12px;
    border: 1px solid rgba(2, 132, 199, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Main Display Section */
.odometer-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.odometer-main-label {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #0369a1;
    margin-bottom: 30px;
    text-align: center;
    opacity: 0.85;
}

/* Odometer Counter Wrapper */
.odometer-counter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5vw;
    max-width: 98%;
    margin: 0 auto;
}

/* Odometer Digit Box */
.odometer-digit-container {
    position: relative;
    width: 6vw;
    height: 9vw;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff 0%, #f1f5f9 50%, #e2e8f0 50.1%, #cbd5e1 100%);
    border: 0.15vw solid rgba(2, 132, 199, 0.4);
    border-radius: 1vw;
    box-shadow: 0 0.8vw 2vw rgba(0, 0, 0, 0.08), inset 0 0.15vw 0.4vw rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    user-select: none;
}

/* Odometer Roll Strip */
.odometer-digit-strip {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 90vw; /* 10 digits * 9vw height */
}

/* Individual digit item in strip */
.odometer-digit {
    height: 9vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7.5vw;
    font-weight: 900;
    font-family: 'Outfit', 'Trebuchet MS', sans-serif;
    color: #0f172a;
    text-shadow: 0 0.1vw 0.2vw rgba(255, 255, 255, 0.8);
}

/* Separator Comma Style */
.odometer-separator {
    width: 2vw;
    height: 9vw;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 7.5vw;
    font-weight: 900;
    font-family: 'Outfit', 'Trebuchet MS', sans-serif;
    color: #0284c7;
    padding-bottom: 1vw;
}

/* 3D cylindrical shader and divider line overlay */
.odometer-digit-container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.12) 100%);
    pointer-events: none;
    z-index: 5;
    border-radius: 0.85vw;
}

.odometer-digit-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 0.05vw);
    height: 0.1vw;
    background: rgba(0, 0, 0, 0.06);
    z-index: 6;
}

/* Footer Section */
.odometer-info-footer {
    text-align: center;
    margin-top: 3vw;
    width: 100%;
    z-index: 5;
}

.odometer-footer-msg {
    font-size: 1.5vw;
    font-weight: 600;
    color: #0369a1;
    background: rgba(2, 132, 199, 0.12);
    border: 0.1vw solid rgba(2, 132, 199, 0.25);
    padding: 0.8vw 2.2vw;
    border-radius: 3vw;
    display: inline-block;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.odometer-latest-date {
    font-size: 1.1vw;
    color: #0284c7;
    margin-top: 0.8vw;
    letter-spacing: 0.1vw;
    font-weight: 500;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .odometer-digit-container {
        width: 60px;
        height: 90px;
        border-radius: 10px;
        border-width: 1.5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }
    .odometer-digit-strip {
        height: 900px;
    }
    .odometer-digit {
        height: 90px;
        font-size: 4.5rem;
    }
    .odometer-separator {
        width: 20px;
        height: 90px;
        font-size: 4.5rem;
        padding-bottom: 10px;
    }
    .odometer-clock-time {
        font-size: 2.2rem;
        padding: 6px 15px;
    }
    .odometer-main-label {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    .odometer-footer-msg {
        font-size: 1rem;
        padding: 8px 20px;
        border-radius: 20px;
    }
    .odometer-latest-date {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .odometer-digit-container {
        width: 40px;
        height: 60px;
        border-radius: 6px;
    }
    .odometer-digit-strip {
        height: 600px;
    }
    .odometer-digit {
        height: 60px;
        font-size: 2.8rem;
    }
    .odometer-separator {
        width: 12px;
        height: 60px;
        font-size: 2.8rem;
        padding-bottom: 6px;
    }
    .odometer-clock-time {
        font-size: 1.6rem;
    }
}
