
@keyframes boxshowing_modal {
    0%   { backdrop-filter: blur(0px); }
    100% { backdrop-filter: blur(3px); }
}

@keyframes showing_modal {
    0%   { transform: scale(.0); }
    100% { transform: scale(1); }
}

@keyframes boxclosing_modal {
    0%   { backdrop-filter: blur(3px); }
    100% { backdrop-filter: blur(0px); }
}

@keyframes closing_modal {
    0%   { transform: scale(1); }
    100% { transform: scale(.0); }
}

.generic-modal
{
    z-index: 5000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: boxshowing_modal 1.3s ease-out;
}

.generic-modal.close
{
    animation: boxclosing_modal .14s ease-in;
}

.generic-modal.show
{
    display: flex;
}

.generic-modal .box-modal
{
    display: flex;
    flex-direction: row;
    animation: showing_modal .14s ease-out;
}

.generic-modal .box-modal .boxtype2
{
    border: 0px solid blue;
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
}

.generic-modal .box-modal.close
{
    animation: closing_modal .14s ease-in;
}

.generic-modal .box-modal .modal
{
    padding: 20px 30px 20px 30px;
    background-color: white;
    min-width: 400px;
    min-height: 200px;
    border-radius: 20px;
    box-shadow: 0px 45px 70px 20px rgba(0, 0, 0, 0.09);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.generic-modal .box-modal .modal.type2
{
    padding: 20px 20px 20px 20px;
    background-color: white;
    min-width: 150px;
    min-height: 150px;
}

.generic-modal .box-modal .modal .icon
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.generic-modal .box-modal .modal .icon img
{
    width: 38px;
    height: 38px;
}

.generic-modal .box-modal .modal .title
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:black;
    font-size: 15px;
    font-weight: bold;
}

.generic-modal .box-modal .modal .subtitle
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.generic-modal .box-modal .modal .options
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.generic-modal .box-modal .modal .options.type2
{
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}


.generic-modal .box-modal .modal .options.type3
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 8px;
}
.generic-modal .box-modal .modal .options.type3 label
{
    font-size: 12px;
    color: #7c7c7c;
}


.generic-modal .box-modal .modal .options .bcancel
{
    font-family: "Inter-light";
    width: 120px;
    height: 40px;
    background-color: #e8e8e8;
    border: 1px solid #e8e8e8;
    font-weight: bold;
    border-radius: 8px;
    color: black;
    margin-left: 8px;
    margin-right: 8px;
}

.generic-modal .box-modal .modal .options .bcancel:hover
{
    background-color: #f4f4f4;
    cursor: pointer;
}

.generic-modal .box-modal .modal .options .bcancel.hide
{
    display: none;
}

.generic-modal .box-modal .modal .options .bconfirm
{
    font-family: "Inter-light";
    width: 130px;
    height: 40px;
    background-color: #0782FF;
    font-weight: bold;
    border-radius: 8px;
    color: white;
    margin-left: 8px;
    margin-right: 0px;
    border: 0px solid black;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.generic-modal .box-modal .modal .options .bconfirm:hover
{
    background-color: #52a8ff;
    cursor: pointer;
}

.generic-modal .box-modal .modal .options .bconfirm.red
{
    background-color: #ff4343;
}

.generic-modal .box-modal .modal .options .bconfirm.red:hover
{
    background-color: #ff7575;
    cursor: pointer;
}

.generic-modal .box-modal .modal .options .bconfirm.disabled
{
    background-color: #e8e8e8;
    color: #b8b8b8;
    cursor: not-allowed;
    font-family: "Inter-light";
    width: 120px;
    height: 40px;
    font-weight: bold;
    border-radius: 8px;
    margin-left: 8px;
    margin-right: 8px;
    border: 0px solid black;
}



.generic-modal .box-modal .bclose
{
    margin-left: 14px;
    background-color: white;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    fill: grey;
}

.generic-modal .box-modal .bclose:hover
{
    fill: black;
    cursor: pointer;
}



.tooltipWorkspace {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: default;
  font-weight: normal;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tooltipWorkspace .iconLock {
  width: auto;
  max-height:23px;
  filter: drop-shadow(0 0 5px #FFD700);
}

/* Balão */
.tooltipWorkspace-text {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);

  background-color: #0782FF;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;

  font-size: 13px;
  white-space: nowrap;

  transition: opacity 0.2s ease;
  z-index: 999;
  line-height: 1.3;

  border: 2px solid #0771db;

  box-shadow: 0px 0px 15px 5px #8b8b8b8a;
}

/* Setinha */
.tooltipWorkspace-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: #0782FF transparent transparent transparent;
}

/* Exibir ao passar o mouse */
.tooltipWorkspace:hover .tooltipWorkspace-text {
  visibility: visible;
  opacity: 1;
}
/* Balão inferior */
.tooltipWorkspace-text.bottom {
    bottom: auto;
    top: 125%;
}

/* Setinha inferior */
.tooltipWorkspace-text.bottom::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #0782FF transparent;
}

@media (max-width: 768px)
{
    .generic-modal .box-modal {
        position: relative;
    }

    .generic-modal .box-modal .bclose {
        position: absolute;
        top: 10px;
        right: 10px;
        margin-left: 0 !important;
        z-index: 2;
    }

    .generic-modal .box-modal .modal{
        min-width: 0px !important;
        width: 80vw !important;
    }

    #modalapp_NovoProjeto .modal.type2 {
        width: 75vw !important;
        height: auto !important;
        max-height: 88vh !important;
        overflow-y: auto !important;
    }

    #modalapp_NovoProjeto .np-layout-wrapper {
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
    }

    #modalapp_NovoProjeto #listaOpcoesNovoProjeto {
        width: 100% !important;
        height: 200px !important;
        grid-template-columns: repeat(1, 1fr) !important;
    }

    #modalapp_NovoProjeto .np-desc-panel {
        width: 100% !important;
        padding-left: 0 !important;
        padding-top: 14px;
        border-top: 1px solid #ebebeb;
        margin-top: 4px;
    }

    #modalapp_Box_GeraImagemIA {
        top: 0 !important;
        min-height: 0 !important;
    }

    #modalapp_GeraImagemIA .modal.type2 {
        width: 92vw !important;
        max-width: 92vw !important;
        height: auto !important;
        max-height: 90vh !important;
        padding: 16px !important;
    }

    #modalapp_GeraImagemIA .boxtype2 {
        height: auto !important;
        min-height: 0 !important;
    }

    #modalapp_GeraImagemIA .modalAiImageBody {
        margin-bottom: 8px !important;
        height: auto !important;
    }

    #modalapp_GeraImagemIA .modalAiImageSplit {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
        height: auto !important;
    }

    #modalapp_GeraImagemIA #txtPromptGerarImagemIA {
        width: 100% !important;
        min-height: 150px !important;
        height: 150px !important;
        margin-right: 0 !important;
        font-size: 16px !important;
    }

    #modalapp_GeraImagemIA .modalAiImagePanel {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 10px;
    }

    #modalapp_GeraImagemIA #imgGeraImagemIA_Preview {
        height: 170px !important;
    }

    #modalapp_GeraImagemIA .options.type2 {
        justify-content: center !important;
        padding-top: 8px;
    }

    #modalapp_GeraImagemIA #modalapp_bConfirm_GeraImagemIA,
    #modalapp_GeraImagemIA #modalapp_bConfirm_Loading {
        width: 100% !important;
        max-width: 220px;
    }

    #modalapp_Box_UploadImage {
        top: 0 !important;
        min-height: 0 !important;
    }

    #modalapp_UploadImage .modal.type2 {
        width: 92vw !important;
        max-width: 92vw !important;
        height: auto !important;
        max-height: 90vh !important;
        padding: 16px !important;
    }

    #modalapp_UploadImage .boxtype2 {
        height: auto !important;
        min-height: 0 !important;
    }

    #modalapp_UploadImage .modalUploadImageBody {
        margin-bottom: 8px !important;
        height: auto !important;
    }

    #modalapp_UploadImage .modalUploadImageSplit {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
        height: auto !important;
    }

    #modalapp_UploadImage .modalUploadImagePreviewWrap {
        width: 100% !important;
        height: 180px !important;
        min-height: 180px !important;
        flex: none !important;
    }

    #modalapp_UploadImage #imgUploadImage_Preview {
        height: 100% !important;
    }

    #modalapp_UploadImage .modalUploadImagePanel {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #modalapp_UploadImage .modalUploadImagePanel .inputGroup2,
    #modalapp_UploadImage .modalUploadImagePanel .inputGroup2 input {
        width: 100% !important;
    }

    #modalapp_UploadImage .options.type2 {
        justify-content: center !important;
        padding-top: 8px;
    }

    #modalapp_UploadImage #modalapp_bConfirm_UploadImage,
    #modalapp_UploadImage #modalapp_bConfirm_UploadImageLoading {
        width: 100% !important;
        max-width: 220px;
    }
}