body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    min-height: 100vh;
}

.clock-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.clock-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    text-align: center;
    transition: all 0.3s ease;
}

.time-section {
    margin-bottom: 30px;
}

#MyClockDisplay {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2d3436;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
}

#date-display {
    font-size: 1.1rem;
    color: #636e72;
    margin-top: 5px;
}

.color-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

#random-color {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#random-color:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

#random-color svg {
    transition: transform 0.3s ease;
}

#random-color:hover svg {
    transform: rotate(30deg);
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-picker-wrapper label {
    font-size: 0.9rem;
    color: #636e72;
    margin: 0;
}

#pick-color {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
}

#pick-color::-webkit-color-swatch-wrapper {
    padding: 0;
}

#pick-color::-webkit-color-swatch {
    border: 2px solid #dfe6e9;
    border-radius: 8px;
}

#pick-color::-moz-color-swatch {
    border: 2px solid #dfe6e9;
    border-radius: 8px;
}

.navbar-brand {
    color: #000; /* Set the text color as needed */
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .clock-card {
        padding: 30px 20px;
        min-width: 280px;
    }

    #MyClockDisplay {
        font-size: 2.8rem;
    }
}
