* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #f1f5f9;
    color: #0f172a;
}

.app {
    width: min(600px, 100%);
    margin: auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: #2563eb;
}

#pacer-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 10px 0;
}

#distance-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}

#time-inputs {
    display: flex;
    gap: 3px;
    text-align: center;
    /* justify-content: center; */
    align-items: center;
}

.time-input {
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    max-width: 60px;
    text-align: center;
}

button {
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

#pace-list {
    list-style: none;
    padding: 0;
}

#pace-list > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;

    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;

    border-radius: 8px;
}

#pace-list-content {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

/* #pace-list > button {
    justify-content: flex-end;
} */