/* Clock Header Styles - Glassmorphism + Neumorphism Theme */
.clock-header {
    text-align: center;
    padding: 20px 15px 15px;
    margin: 15px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.3), -20px -20px 60px rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.05); */
    position: relative;
    overflow: hidden;
}

.clock-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s;
}

.clock-header:hover::before {
    left: 100%;
}

.current-time {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.2;
    
    /* Text shadow for depth */
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    
    /* Letter spacing for modern look */
    letter-spacing: 1px;
    
    position: relative;
    z-index: 1;
}

.current-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    font-weight: 500;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Subtle text shadow */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    
    position: relative;
    z-index: 1;
}

/* Light mode - Glassmorphism + Neumorphism */
body.light-mode .clock-header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Light mode neumorphic shadows */
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.15),
        -20px -20px 60px rgba(255, 255, 255, 0.7),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

body.light-mode .current-time {
    color: #000000;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(0, 0, 0, 0.2);
    font-weight: 800;
}

body.light-mode .current-date {
    color: #333333;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clock-header {
        margin: 10px;
        padding: 15px 10px 12px;
        border-radius: 15px;
    }
    
    .current-time {
        font-size: 28px;
    }
    
    .current-date {
        font-size: 12px;
    }
}

/* Animation for time updates */
.current-time, .current-date {
    transition: all 0.3s ease;
}

.timeline-slider {
    width: calc(100% + 5px);
    height: 10px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    position: relative;
    display: block;
    margin: -18px 4px 12px 0px;
    cursor: pointer;
    outline: none;
    z-index: 100;
}