/* Reseta estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #343a40;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #FF007F;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6c757d;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #FF007F;
    outline: none;
}

button {
    width: 100%;
    padding: 12px 15px;
    background-color: #FF007F;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e60077;
}

#alarmMessage {
    margin-top: 30px;
    font-size: 18px;
    color: #28a745;
    background-color: #e9f7ef;
    padding: 15px;
    border-radius: 8px;
    display: none; /* Oculto por padrão */
}

#alarmMessage.show {
    display: block; /* Exibido quando há uma mensagem */
}

#alarmList {
    margin-top: 20px;
    text-align: left;
}

.alarm-item {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alarm-item span {
    font-size: 16px;
    color: #343a40;
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #c82333;
}input[type="text"]:focus, input[type="time"]:focus, input[type="date"]:focus {
    border-color: #FF007F;
    outline: none;
}

button {
    width: 100%;
    padding: 12px 15px;
    background-color: #FF007F;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e6006f;
}

input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #FF007F;
    border-radius: 4px;
    margin-right: 10px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

input[type="checkbox"]:checked {
    background-color: #FF007F;
    border-color: #FF007F;
    position: relative;
}

input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

#alarmMessage {
    margin-top: 30px;
    font-size: 18px;
    color: #28a745;
    background-color: #e9f7ef;
    padding: 15px;
    border-radius: 8px;
    display: none; /* Oculto por padrão */
}

#alarmMessage.show {
    display: block; /* Exibido quando há uma mensagem */
}

.alarm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ced4da;
    margin-bottom: 10px;
    background-color: #f8f9fa; /* Cor de fundo leve para o item */
    border-radius: 8px; /* Borda arredondada para o item */
}

.alarm-item:last-child {
    border-bottom: none;
}

.remove-btn {
    background-color: #dc3545; /* Cor vermelha para o botão de remoção */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px; /* Reduz o padding para um botão menor */
    cursor: pointer;
    font-size: 12px; /* Ajusta o tamanho da fonte */
    transition: background-color 0.3s;
    margin-left: 10px; /* Espaço entre o texto e o botão */
}

.remove-btn:hover {
    background-color: #c82333; /* Cor mais escura ao passar o mouse */
}