
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    padding: 0px;
}

.containerr {
  
    height: 1200px;
    max-height: 100%;
    margin: 0 auto;
}

.modal{
    margin-top: 12rem;
}

.table-wrapper {
  
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 1200px;
   /* margin-top: 5px;*/
}

.datetimepicker {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    width: 80%;
}

.datetimepicker input {
    font: inherit;
    color: inherit;
    appearance: none;
    outline: none;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: transparent;
}

.datetimepicker input:hover {
    cursor: pointer;
}

.datetimepicker input[type="date"] {
    width: 10rem;
    padding: 0.25rem 0 0.25rem 0.5rem;
    border-right-width: 0;
}

.datetimepicker input[type="time"] {
    width: 5.5rem;
    padding: 0.25rem 0.5rem 0.25rem 0;
    border-left-width: 0;
}

.datetimepicker span {
    height: 1rem;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
    border-right: 1px solid #ddd;
}


.search-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 10px;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 10px;
}

.search-bar select,
.search-bar input,
.search-bar button {
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 0;
    margin-left: 5px;
}

.search-bar .button-group {
    max-width: 150px;
}

#confirm-button {
    background-color: #25d366;
    color: #fff
}

.form-control.custom-placeholder::placeholder {
    color: #FF9999;
    opacity: 1;
}

.form-control.custom-placeholder:-ms-input-placeholder { 
    color: #FF9999;
}

.form-control.custom-placeholder::-ms-input-placeholder { 
    color: #FF9999;
}

.small-width-column {
    width: 50px;
}

#create-di-modal-toggler {
    background-color: #009CD7 !important;
}

#create-di-modal-toggler:hover {
    background-color: #009CD7 !important;
    color: #fff !important;
}


.search-bar button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #0056b3;
}


/* Estilo da Tabela */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    table-layout: auto; /* Faz com que a tabela seja flexível */
    word-break: break-word; /* Quebra textos longos automaticamente */
}

table th,
table td {
    text-align: left;
    padding: 6px;
    border: 1px solid #ddd;
    max-width: 130px; /* Define uma largura máxima */
    overflow-wrap: break-word; /* Quebra textos muito longos */
}

/* Tornando inputs, selects e buttons mais responsivos */
table td select,
table td input,
table td button {
    width: 100%; /* Ocupa toda a célula */
    padding: 6px;
    font-size: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

table th {
    background-color: #007bff;
    color: white;
}

/*.taskTable table th {
    background-color: #007bff;
    color: white;
}*/


table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.delete-btn:hover, .receipt-btn:hover{
    cursor: pointer;
}

/* Estilos para os diferentes estados */
.status-open {
    color: white;
    background-color: #f0ad4e;
    /* Laranja para 'Aberto' */
    border-radius: 10px;
    /* Cantos arredondados */
    padding: 3px 6px;
    /* Reduz o padding */
    text-align: center;
    font-size: 12px;
    /* Ajusta o tamanho da fonte */
}


.transaction-select{
    width: 30%;
}

.tab-content{

    max-height: 100vh;
}

/* Estilo para o loader */
.loader {
    border: 8px solid #f3f3f3;
    /* Cinza claro */
    border-top: 8px solid #3498db;
    /* Azul */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    /* Centraliza o loader */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}


/* Responsividade */
@media (max-width: 900px) {
    
  /*.search-bar {
        flex-direction: column;
    }*/

    .search-bar select,
    .search-bar input,
    .search-bar button {
        width: 100%;
        margin-bottom: 10px;
    }
  
    .search-bar {
        justify-content: center; /* Centraliza os itens em telas pequenas */
        gap: 5px; /* Reduz o espaçamento entre os itens */
        padding: 10px; /* Reduz o padding */
    }

    .form-group {
        flex: 1 1 100%; /* Faz com que cada item ocupe a linha inteira em telas pequenas */
        min-width: unset; /* Remove a largura mínima */
    }

    .button-group {
        flex: 1 1 100%; /* O botão também ocupa a linha inteira em telas pequenas */
    }

    .button-group button {
        max-width: 100%; /* Garante que o botão ocupe toda a largura disponível */
    }

    table th,
    table td {
        font-size: 14px;
    }
}

/* Responsividade da Tabela em telas pequenas */
@media (max-width: 768px) {
    table th,
    table td {
        font-size: 12px; /* Reduz o tamanho do texto */
        padding: 8px; /* Reduz o padding */
    }


    table {
        table-layout: fixed; /* Força as colunas a terem largura fixa */
    }

    /* Ocultando colunas menos relevantes em telas menores */
    table th:nth-child(3),
    table td:nth-child(3) {
        display: none; /* Oculta a terceira coluna em telas pequenas */
    }
}

/* Para telas muito pequenas (smartphones) */
@media (max-width: 480px) {
    table th,
    table td {
        font-size: 10px; /* Reduz ainda mais o tamanho do texto */
        padding: 6px; /* Reduz o padding */
    }


    /* Ocultando mais colunas se necessário */
    table th:nth-child(4),
    table td:nth-child(4) {
        display: none; /* Oculta a quarta coluna em telas muito pequenas */
    }
}

#dda-create-transaction button{
     
    padding: 5px;
    font-size: 16px;
    height: 10px;
    margin-right: 5px;
    font-family: Arial, sans-serif;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    flex: 1; /* Ocupa o máximo de espaço possível */
    min-width: 150px; /* Garante que os itens não fiquem muito pequenos */
}

.form-group label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

.form-group select,
.form-group input {
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%; /* Faz com que o campo preencha todo o espaço disponível */
}

.button-group button {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 150px; /* Limita o tamanho máximo do botão */
}

.purple-button, .green-button, .blue-button {
    color: #4B4B4B !important;
}

.purple-button.active, .purple-header, #create-transaction, #create-transaction-modal-toggler {
    background-color: #7664FA !important;
    color: #FFF !important;
}

.blue-button.active {
    background-color: #009CD7 !important;
    color: #FFF !important
}

.green-button.active, .green-header{
    background-color: #008000 !important;
    color: #FFF !important;
}

#purple-accordion.accordion-button:not(.collapsed) {
    background-color: #B3A6FD !important;
    color: #FFF !important;
}


#red-accordion.accordion-button:not(.collapsed) {
    background-color: #FFB3B3 !important;
    color: #FFF !important;
}


.accordion-button:focus {
    box-shadow: none !important;
}

.red-header, .red-button{
    background-color: #A90709 !important;
    color: #FFF !important;
}

.link-badge {
    word-wrap: break-word;
    white-space: normal;
    text-decoration: none; 
}

.green-badge{
    color: #008000;
}

.link-badge:hover {
    text-decoration: underline; 
}

.task-badge {
    background-color: transparent;
    border: 2px solid #008000;
    font-size: inherit !important;
    font-weight: normal !important;
}


.important-date-badge {
    background-color: transparent;
    border: 2px solid #009CD7;
    font-size: inherit !important;
    font-weight: normal !important;
    text-align: left !important;

}

.blue-badge {
    color: #009CD7;
}

.programmer-header-table, .programmer-transaction-button, .blue-header{
    background-color: #009CD7 !important;
    color: #FFF !important;
}

.create-batch-transaction-button{
    background-color: #7664FA !important;
    color: #FFF !important;
}

.di-search-button, .di-create-button{
    background-color: #009CD7 !important;
    color: #FFF!important;
}

.transaction-search-button{
    background-color: #7664FA !important;
    color: #FFF!important;
}

.dropdown-item:hover{
    cursor: pointer;
}

.dda-create-transaction{
    background-color: #A90709 !important;
    color: #FFF !important;
}

.purple-badge {
    color: #7664FA;
}

.transaction-badge {
    text-align: left !important;
    background-color: transparent;
    border: 2px solid #7664FA;
    font-size: inherit !important;
    font-weight: normal !important;
}

.programmer-footer {
    padding-top: 20px;
}

.loading-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
}

.checkbox-programmer {
    appearance: none;
    width: 1px;
    height: 1px;
    border: 2px solid transparent;
    border-radius: 4px;
    background-color: white;
    position: relative;
    cursor: pointer;
  }
  
  .checkbox-programmer.blue-border {
    border-color: #009CD7; 
  }
  
  .checkbox-programmer.red-border {
    border-color: red;
  }
  
  
  .checkbox-programmer:checked {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  .checkbox-programmer:checked::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background-color: white;
    clip-path: polygon(0% 50%, 25% 75%, 100% 0%, 75% 25%, 25% 100%);
  }

  #detailModalBody table {
    margin-top: 10px;
    font-size: 14px;
}

.small-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
}


/* Estilo do Calendário */

 #important-data-calendar-view-component-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 800px;
  max-height: 1200px;
  box-sizing: border-box;
} 

#important-data-calendar-view-component-container .tui-full-calendar {
  overflow: auto;
}

.calendar-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.calendar-button:active {
    background-color: #388e3c;
    transform: scale(0.98);
}

#nextAndPreviusButtonCalendar button, #rangePreviewButtonCalendar button {
    margin: 0 5px;
}

.calendar-button {
    background-color: #009CD7;
    color: white;
    border: none;
    padding: 5px 5px;
    font-size: 14px;
    border-radius: 8px;
    min-width: 70px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.calendar-button:hover {
    background-color: #7664FA;
    transform: scale(1.05);
}

.calendar-button:active {
    background-color: #e9e9e9;
    transform: scale(0.98);
}

.calendar-button.active {
    background-color: #7664FA;
    color: white;
    font-weight: bold;
    border: 2px solid #7664FA;
}

#nextAndPreviusButtonCalendar button, #rangePreviewButtonCalendar button {
    margin: 0 5px;
}

.calendar-view-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    padding: 10px;
}

.calendar-view-button:hover {
    color: #7664FA;
}

#importantDataTypeView {
    display: flex;
    gap: 10px;
}


#importantDateTableViewDiv {
    display: block;
}

#importantDateCalendarViewDiv {
    display: none;
}

.calendar-view-button {
    color: #536b76;
    transition: color 0.3s;
}

.calendar-view-button.active {
    color: #7664FA;
    font-weight: bold;
}

#nextAndPreviusButtonCalendar,
#rangePreviewButtonCalendar {
  display: flex; 
  align-items: center; 
}

#nextAndPreviusButtonCalendar {
  flex: 2;
}



#rangePreviewButtonCalendar {
  flex: 1;
  justify-content: flex-end;
}

#selectCategoryCalendar{
    margin-left: 5px;
}

td.disabled {
    cursor: not-allowed;
    color: #ccc;
    opacity: 0.6;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    padding: 5px !important;
    border: 1px solid #ccc !important;
    text-align: left;
    cursor: pointer;
}

.dropdown-toggle-light-color {
    background-color: #fff !important;
    color: black !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-item {
    padding: 8px;
    display: flex;
    align-items: center;
}

.dropdown-item label {
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.dropdown-item p {
    width: 100%;
    text-align: start;
    margin: 0;
}

.dropdown-item input {
    margin: 0;
    margin-right: 5px;
    width: auto !important;
}

.custom-dropdown.open .dropdown-menu {
    display: block;
}

.important-date-outlook-invite {
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    padding: 15px;
    background: #f9f9f9;
    width: 100%;
    max-width: 500px;
}

.important-date-invite-field {
    margin-bottom: 10px;
}

.important-date-invite-field label {
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}

.important-date-invite-field input, 
.important-date-invite-field textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    background: #fff;
    resize: none;
}
