/* Reset básico para remover margens e paddings padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
}

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

h2 {
    color: #333;
    margin-bottom: 24px;
    font-size: 24px;
}

input[type="text"],
input[type="password"],
input[type="number"],
select {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
}

button {
    background-color: #007AFF;
    color: white;
    border: none;
    padding: 14px;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    font-size: 18px;
    margin-top: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #005BB5;
}

label {
    display: block;
    text-align: left;
    margin-top: 16px;
    font-size: 16px;
    color: #555;
}

.activity-form {
    max-width: 500px;
    margin: auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.container ul {
    list-style-type: none;
    padding: 0;
    margin-top: 24px;
}

.container li {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    background-color: #fff;
}

.remove-button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none;
}

.remove-button img {
    width: 24px;
    height: 24px;
}

.remove-button:hover {
    opacity: 0.7;
}

span {
    margin-left: 10px;
    font-weight: bold;
    color: inherit;
}

.back-button-container {
    margin-top: 24px;
    margin-bottom: 24px;
}

.back-button {
    display: inline-block;
    background-color: #007AFF;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #005BB5;
}

.modal-content {
    border-radius: 16px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos para o modal */
.modal-body {
    padding: 0;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 16px;
    font-size: 18px;
}

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

.list-group-item-action:hover {
    background-color: #f2f2f2;
}

/* Estilos para melhorar a aparência em dispositivos móveis */
@media (max-width: 600px) {
    h2 {
        font-size: 22px;
    }

    button {
        font-size: 16px;
        padding: 12px;
    }

    input[type="text"],
    input[type="password"],
    input[type="number"],
    select {
        font-size: 14px;
        padding: 12px;
    }

    .container li {
        font-size: 16px;
        padding: 14px;
    }
}
