:root {
    --bg-color: #000000;
    --card-bg: #1C1C1E;
    --text-primary: #FFFFFF;
    --text-secondary: #8E8E93;
    --accent-blue: #0A84FF;
    --accent-green: #30D158;
    --accent-red: #FF453A;
    --border-radius: 20px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body {
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#editBtn {
    background-color: var(--accent-blue);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.12, 0, 0.39, 0), opacity 0.2s ease;
}

#editBtn:active {
    transform: scale(0.96);
    opacity: 0.8;
}

#editBtn.active {
    background-color: var(--accent-red);
}

main {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.table-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    padding: 12px 8px;
    border-bottom: 1px solid #2C2C2E;
}

td {
    padding: 16px 8px;
    border-bottom: 1px solid #2C2C2E;
    font-size: 16px;
}

tr:last-child td {
    border-bottom: none;
}

.name-cell {
    font-weight: 500;
    width: 40%;
}

.time-cell {
    width: 30%;
    position: relative;
}

.time-display {
    color: var(--accent-green);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    opacity: 0.9;
}

.time-display.hidden {
    display: none;
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--accent-blue);
    background-color: #2C2C2E;
    border-radius: 6px;
    border: none;
}

.clear-btn {
    background-color: var(--accent-red);
    color: white;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.clear-btn:hover {
    opacity: 0.8;
}

.hidden {
    display: none;
}
