body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 80%;
    max-width: 800px;
    margin: 3em 0 3em 0;
}

.config {
    margin-bottom: 20px;
}

.config-item {
    margin-bottom: 10px;
}

.config-item label {
    margin-right: 10px;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 10px 2px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #2980b9;
}


#toggle-timer {
    font-size: 1.1em;
}

button.secondary {
    background-color: #4CAF50;
}

button.secondary:hover {
    background-color: #45a049;
}


button.warning {
    background-color: #c0392b;
}

button.warning:hover {
    background-color: #e74c3c;
}

.timer-display {
    font-size: 2.5em;
    margin: 20px 0;
    padding: 2em 0;
}

#status {
    font-size: 1.5em;
    margin-top: 10px;
}

.groups-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.group-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}

.group-title {
    flex: 1;
    text-align: left;
    font-size: 1.1em;
    ;
}

.group {
    background-color: #e7e7e7;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
}

.interval {
    background-color: #d4d4d4;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.interval.active {
    background-color: #a5d6a7;
}

.interval-controls {
    display: flex;
    gap: 5px;
}

.interval-controls button {
    padding: 5px 10px;
    font-size: 14px;
}

.import-export {
    margin-top: 20px;
    font-size: 0.9em;
}

.import-export button {
    background-color: #ccc;
}

.import-export input {
    display: none;
}

.import-export label {
    background-color: #ccc;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
}

#pause-timer {
    background-color: #ff9800;
}