body {
    font-family: 'Poppins', sans-serif;
    background: #f3f4f6;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card styling */
.timer-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 340px;
}

/* Circle container */
.circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.progress-ring__background {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 12;
}

.progress-ring__progress {
    fill: none;
    stroke: #22c55e; /* Default green for Workout */
    stroke-width: 12;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
    stroke-dasharray: 565; /* 2πr (2 * π * 90) */
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear, stroke 0.5s ease;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circle-text #time {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 5px 0;
    color: #1e293b;
}

.circle-text #phase {
    font-size: 1.2rem;
    color: #64748b;
}

/* Buttons */
button {
    font-family: 'Poppins', sans-serif;
    padding: 10px 20px;
    margin: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-size: 200% 200%;
}

/* Start (Green Gradient) */
#start {
    background: linear-gradient(135deg, #16a34a, #22c55e, #4ade80);
    color: white;
}

/* Pause (Yellow-Orange Gradient) */
#pause {
    background: linear-gradient(135deg, #f59e0b, #facc15, #fde047);
    color: white;
}

/* Reset (Red Gradient) */
#reset {
    background: linear-gradient(135deg, #dc2626, #ef4444, #f87171);
    color: white;
}

/* Hover Effect */
button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

/* Click (active) Effect */
button:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
