/* Custom styles for enhanced coffee theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* Custom progress ring animation */
.progress-ring {
    transition: stroke-dashoffset 0.3s ease-in-out;
}

/* Coffee steam animation */
@keyframes steam {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-10px) scale(1.1); opacity: 0.5; }
    100% { transform: translateY(-20px) scale(1.2); opacity: 0; }
}

.steam::before {
    content: '☁️';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: steam 2s infinite;
    font-size: 1.5rem;
}

/* Subtle coffee beans background pattern */
.coffee-pattern {
    background-image: radial-gradient(circle at 20px 20px, rgba(139, 69, 19, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
}

/* Hover effects for buttons */
button {
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:active {
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Flag emoji sizing */
.flag-emoji {
    font-size: 3rem;
    line-height: 1;
}

/* Timer glow effect when running */
.timer-glow {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Responsive text scaling */
@media (max-width: 768px) {
    .timer-display {
        font-size: 2.5rem;
    }
}

/* Custom range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #D1D5DB;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F59E0B;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F59E0B;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Notification permission styling */
.notification-prompt {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 2px solid #F59E0B;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}