/* Estilo geral dos botões */
.button {
    border-style: none;
    height: 40px;
    padding: 6px 12px;
    background-color: black;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow 0.6s ease;
}

/* Variações de cores para os botões */
.button.blue {
    background-color: #149ce0;
}

button.green {
    background-color: #13CE66;
}

button.red {
    background-color: #FF4949;
}

/* Efeito de hover nos botões */
.button:hover {
    box-shadow: inset 200px 0 0 #00000055;
}

/* Estilo específico para botões mobile */
@media (max-width: 480px) {
    .button.mobile {
        color: transparent;
        font-size: 0;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        position: fixed;
        top: 90vh;
        left: 80vw;
    }

    .button.mobile::before {
        content: "+";
        color: black;
        font-size: 2rem;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Estilo da tabela de registros */
.records {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.records th,
.records td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.records th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.records tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.records tbody tr:hover {
    background-color: #f1f1f1;
}

/* Estilo do modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
}

.modal-close {
    cursor: pointer;
    font-size: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-field {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}