/* 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.6);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.modal-header {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.modal button {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.modal button.close {
    background-color: #FF5722;
    color: white;
}

.modal button.submit {
    background-color: #4CAF50;
    color: white;
}

.modal button.close:hover,
.modal button.submit:hover {
    opacity: 0.85;
}

/* Estilo dos inputs */
input[type="text"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

label {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

/* Estilo para os checkbox */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.checkbox-group label {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4CAF50;
}

.checkbox-group label:hover {
    color: #4CAF50;
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-content {
        padding: 15px;
    }

    .modal-header {
        font-size: 22px;
    }

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

    button {
        font-size: 14px;
        padding: 10px 18px;
    }

    .checkbox-group label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        padding: 10px;
    }

    .modal-header {
        font-size: 20px;
    }

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

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

#btnAdicionarFotos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: 150px;
    border: 2px dashed #bbb;
    background-color: #f9f9f9;
    color: #777;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    gap: 10px;
    margin: 10px auto;
}

#btnAdicionarFotos:hover {
    background-color: #f1f1f1;
    border-color: #888;
}

#btnAdicionarFotos i {
    font-size: 40px;
    color: #bbb;
    transition: color 0.3s;
}

#btnAdicionarFotos:hover i {
    color: #666;
}

#btnAdicionarFotos span {
    font-size: 14px;
    color: #777;
}