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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

header {
    margin-bottom: 50px;
    border-bottom: 2px solid #333;
}

#timer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#timer-display {
    font-size: 80px;
    font-weight: bold;
    color: #e74c3c;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

#settings-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    width: 300px;
}

#settings-section h2 {
    margin-bottom: 20px;
}

input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="number"]:focus {
    border-color: #3498db;
    outline: none;
}

footer {
    margin-top: 50px;
    font-size: 14px;
    color: #777;
}

#settings-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
}

#settings-header-container h2 {
    margin: 0;
}

#settings-header-container button {
    background-color: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

#settings-header-btns-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#settings-header-container button:hover {
    color: #3498db;
}

.modal {
    background-color: white;
    border: #ccc solid 0.1px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 50vw;
    min-height: fit-content;
    display: none;
    z-index: 1001;
    position: fixed;
    flex-direction: column;
    gap: 20px;
}

#modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    border-bottom: solid 0.1px #ccc;
    padding: 10px 20px;
}

#close-modal-btn {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

#close-modal-btn:hover {
    color: #e74c3c;
}

#modal-header-content {
    font-size: 1.2rem;
    font-weight: bold;
}

#modal-body {
    padding: 20px;
    display: flex;
    justify-content: start;
}

#modal-body p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 10px;
}

#modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    border-top: solid 0.1px #ccc;
    gap: 12px;
}

#modal-deny-btn {
    background-color: transparent;
    color: black;
    border: solid 0.1px #ccc;
}

#modal-deny-btn:hover {
    background-color: #f4f4f4;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}