/* Container do Popup */


.botao-composicao {
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    display: flex;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

/* Conteúdo do Popup */
.popup-content {
    background: rgb(255, 251, 243);
    background: linear-gradient(347deg, rgb(255 185 76) 28%, rgb(255 255 255 / 75%) 100%);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 90vh;
}


.popup-content H2 {
    text-align: center;
}

/* Botão de Fechar */
.fechar-popup {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 55px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 22px;
    background: transparent;
    color: #b50000;
    line-height: 1;
    padding: 8px;
    height: 65px;
    width: 65px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* Itens de Autores */
#autores-wrapper .autor-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

/* Campo de Texto */
#form-envio-composicao input[type="text"],
#form-envio-composicao input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
#form-envio-composicao label {
    display: none;
}

#form-envio-composicao input {
    padding: 25px 10px !important;
    font-family: system-ui;
    font-size: 1.2em !important;
}

input#arquivo_pdf {
    background-color: #fff;
    font-size: 18px !important;
}

/* Botão de Remover Autor */
.remover-autor {
    background: #e53935;
    color: #fff;
    border: none;
    font-size: 18px;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin: 9px;
    position: absolute;
    right: 30px;
}

/* Botões Gerais */
#form-envio-composicao button,
#adicionar-autor {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

#form-envio-composicao button:hover,
#adicionar-autor:hover {
    background-color: #005d8c;
}

.enviar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    padding: 20px !important;
}

/* Mensagem de Status */
#mensagem-status {
    margin-top: 15px;
    font-weight: bold;
    color: #0073aa;
}

/* Responsivo */
@media (max-width: 600px) {
    .popup-content {
        max-width: 100%;
        padding: 20px;
    }

    #autores-wrapper .autor-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .remover-autor {
        align-self: flex-end;
        margin-top: 5px;
    }
}
