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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.timer{
    display: none;
}

#progress-fill {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #1976d2 0%, #2196f3 100%);
    opacity: 0.12;
    transition: height 1s linear;
    z-index: 1;
    pointer-events: none;
}

body {
    font-family: Roboto, sans-serif;
    background: #fff;
    color: #222;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 380px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.08);
    border: 1px solid #e8f0ff;
    text-align: center;
}

h1 {
    color: #1565c0;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

input::placeholder {
    color: #aaa;
}

button {
    width: 100%;
    padding: 14px 20px;
    margin: 8px 0;
    background: linear-gradient(90deg, #1976d2 0%, #2196f3 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(90deg, #1565c0 0%, #1976d2 100%);
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.15);
    transform: translateY(-2px);
}

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

.timer{
    display: none;
    flex-direction: column;
    align-items: center;
}

.timer-display {
    display: none;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

#timer-display {
    font-size: 64px;
    font-weight: 700;
    color: black;
    font-family: 'Arial', serif;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

#phase-display {
    font-size: 26px;
    color: black;
    font-weight: 600;
    margin-bottom: 5px;
}

#reps-display {
    font-size: 16px;
    color: black;
    font-weight: 500;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    button {
        padding: 12px 16px;
        font-size: 15px;
    }

    #timer-display {
        font-size: 48px;
        letter-spacing: 2px;
    }

    #phase-display {
        font-size: 20px;
    }
}