/* Base.html */
:root {
    --bg-color: #f4f7fa; /* Define your custom color here */
    --secondary-color: #ffffff; /* You can define multiple custom colors */
    --font-color: #4b485b; 
    --sidebar-bg1:rgb(9,26,87);
    --sidebar-bg2:  linear-gradient(0deg, rgba(9,26,87,1) 0%, rgba(26,44,109,1) 100%);
    --sidebar-color: #1a2c6d;
    --topbar-color: #3559df;
    --default-shadow: rgba(0, 0, 0, 0.2) 0px 3px 8px;  
}

html, body{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    
}

body {
    font-family: 'Lato',  sans-serif;
  }

.form-select, .form-control{
    color: var(--font-color);
}

.form-group{
    margin-bottom:15px;
    color: var(--font-color)
}
.form-group.required label::after {
    content: " *";
    color: red;
}

.form-group.required input {
    border: 1px solid red; /* Adjust styling as needed */
}
/* SIDEBAR & TOPBAR */
.topbar-wrapper{
    height: 7%;
    background-color: var(--topbar-color);
}
#sidebar-wrapper{
    height: 100vh; 
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--sidebar-bg1) !important;
    background: var(--sidebar-bg2) !important;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 5px 28px;

    transition: width 0.3s ease; /* Adjust the duration and easing as needed */
   
}

main {
    transition: margin-left 0.3s ease; /* Adjust the duration and easing as needed */
}
#mySidebar{
    transition: width 0.3s ease; /* Adjust the duration and easing as needed */
}
.sidebar-closed{
    transition: width 0.3s ease; /* Adjust the duration and easing as needed */

}
a.nav-link.active{
    background-color: #2f53dd  !important;
}
a.nav-link:hover{
    background-color: #243faa   !important;
}

nav.d-flex{
    background: var(--sidebar-bg1) !important;
    background: var(--sidebar-bg2) !important;
}
.nav-link.dropdown-toggle::after {
    float: right; /* Float the arrow to the right */
    margin-left: 5px; /* Adjust this margin as needed for spacing */
    line-height: inherit; /* Vertically align the arrow in the middle */
    margin-top: 10px;
}

.sidebar-closed .sidebar-text,
.sidebar-closed .nav-link.dropdown-toggle::after,
.sidebar-closed .dropdown-toggle-split {
    display: none;
 
}

.sidebar-closed li.nav-item,
.sidebar-closed{
    text-align: center; /* Align content (icons) to the center */
    padding-left: 0 !important; /* Remove left horizontal padding */
    padding-right: 0 !important; /* Remove right horizontal padding */
}

.sidebar-closed .sidebar-logo{
    display:block;
    margin: 0 auto !important;
}
.sidebar-closed .nav-pills,
.sidebar-closed .nav-link{
    border-radius: 0;
}

.sidebar-closed .nav-link.text-white .icon {
    display: flex;
    align-items: center; 
    margin-right: 8px;
}

.sidebar-closed #dropdownUser1{
    justify-content: center;
}

.sidebar-closed #dropdownUser1 img{
    margin-right: 0 !important;
}

.page-content-wrapper {
    width: 100%; 
    margin-left: 280px;
    padding: 30px;
    background-color: var(--bg-color);
}
.icon{
    fill: #ffffff; 
    width: 16px;  
    height: 16px;
    margin-right: 12px;
    padding: 1px 2px;
}
.sidebar-logo{
    width: 32px;
    height: 32px;
    border-radius: 25%;
}

.fs-4{
    font-size: 1.2rem !important;
}
li.nav-item{
    margin-bottom: 10px;
}
li.nav-dropdown-item{
    padding-left: 30px;
}

ul.nav.flex-column{
    padding-top:10px;
}

/* Dashboard */
span.blue-container{
    padding: 4px 10px;
    position: relative;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #04a9f5;
    color: #fff !important;
    border-radius: 15px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .2);
    font-size: 12px;
}
span.status-container{
    border-radius: 15px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .2);
    padding: 4px 10px;
    font-size: 12px;
    color: #fff !important;
    min-width: 50%;
    display: inline-block;
    text-shadow: var(--default-shadow);
}
.in-process{
    background-color: #17a2b8 !important;
}
.pending{
    background-color: #6c757d !important;
}
.waiting{
    background-color: #ffbf00 !important;
}
span.status-container.active{
    background-color: #28a745 !important;
}
.deleted{
    background-color: #dc3545 !important;
}

/* Tables */

thead{
    text-align: center !important;
}
table{
    width: 100% !important;
}
.table td{
    padding: 1.05rem .75rem !important;
}
input.form-control.form-control-sm,
select.form-select.form-select-sm{
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    padding-left: 0.5rem !important;
    padding-right: 2rem !important;
}
td{
    vertical-align: middle;
    text-align: center !important;
    color: var(--font-color) !important; 
}

/* Custom styling for the submenu */
.submenu-trigger::after {
    content: "▼";
    margin-left: 75px;
    transition: transform 0.1s ease-in-out;
    font-size: 0.8rem;
}

.dt-button-down-arrow{
    display :none ;
}


/* Carga de imagen */

.avatar-wrapper {
    position: relative;
    height: 150px;
    width: 150px;
    margin: 20px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 1px 1px 15px -5px black;
    transition: all .3s ease;
}

.avatar-wrapper:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.avatar-wrapper:hover .profile-pic {
    opacity: .5;
}

.avatar-wrapper .profile-pic {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: all .3s ease;
}

.avatar-wrapper .profile-pic:after {
    font-family: FontAwesome;
    content: "\f007";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    font-size: 190px;
    background: #ecf0f1;
    color: #34495e;
    text-align: center;
}

.avatar-wrapper .upload-button {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.avatar-wrapper .upload-button .fa-arrow-circle-up {
    position: absolute;
    font-size: 175px;
    top: -10px;
    left: -10px;
    text-align: center;
    opacity: 0;
    transition: all .3s ease;
    color: #0186c2;
}

.avatar-wrapper .upload-button:hover .fa-arrow-circle-up {
    opacity: .9;
}


/* IMAGEN REDONDA */

.image-rounded {
    object-fit: contain;
    border-radius: 50%;
    height: 100px;
    width: 100px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}


/*.b-brand .b-bg {
  /*background: linear-gradient(-135deg,#46b5ff 0%,#0067AC 100%) !important;*/


/* background: #fff !important;
  width: 50px;
  height: 50px;
}*/

.logo-login {
    border-radius: 30px;
    width: 300px;
}

.logo-menu {
    border-radius: 7px;
    width: 47px;
    height: 47px;
}


/*.pcoded-navbar .header-logo img{
  border-radius: 7px;
  width: 47px;
  height: 47px;
}

.pcoded-navbar.navbar-collapsed .header-logo .logo-thumb {
  left: calc((74px/2) - 20px);
}

.pcoded-navbar .header-logo {
  padding: 10px 20px 10px 15px !important;
}*/

.zoomA {
    /*width: 600px;*/
    /*height: auto;*/
    transition-duration: 1s;
    transition-timing-function: ease;
}

.zoomA:hover {
    transform: scale(3.0);
    border-radius: 16%;
    margin-left: -75px;
}


/* select2 arriba de modal */

.select2-container {
    /*z-index: 1072;*/
}


/* select2 style */

.select2-container--default,
.select2-container--single,
.select2-selection--multiple {
    background: #f4f7fa !important;
    padding: 5px 10px !important;
    height: auto !important;
    display: block !important;
    /*width: 100% !important;*/
    line-height: 1.5 !important;
    color: #495057 !important;
    border: 1px solid #ced4da !important;
    border-radius: .25rem !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.select2-container--focus {
    color: #495057;
    background-color: #fff;
    border: 1px solid #80bdff;
    border-radius: .25rem;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.select2-container--open {
    /*width: 100%;*/
}

.select2-container--default .select2-selection--single {
    background-color: #f4f7fa !important;
    border: none !important;
}


/* Nav bar sobre el select2 */

.pcoded-navbar {
    z-index: 1074 !important;
}

.pcoded-navbar.mob-open~.pcoded-header:before,
.pcoded-navbar.mob-open~.pcoded-main-container:before,
.pcoded-navbar.navbar-collapsed:hover~.pcoded-header:before,
.pcoded-navbar.navbar-collapsed:hover~.pcoded-main-container:before {
    z-index: 1073 !important;
}

.with-wrap {
    white-space: normal!important;
}

.tooltip2 {
    position: relative;
    display: inline-block;
}

.tooltip2 .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 130%;
    left: 50%;
    margin-left: -105px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip2 .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip2:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.color-red {
    color: red;
}

.error {
    color: red;
}

.color-green {
    color: green;
}

.std-table-div{
    padding: 30px;
}
.table-wrap td {
    white-space: normal;
    word-wrap: break-word;
}

.text-wrap {
    white-space: normal;
    word-wrap: break-word;
}

.color-red {
    color: red;
}

.error{
    color: red;
}

#addButton{
    margin-bottom:10px;
}


/* DASHBOARD */
/*MODAL*/
.modal-header{
    background: linear-gradient(65deg, rgb(43, 103, 255) 0%, rgb(0, 221, 255) 100%) !important;
    color:white;
    
}

/* TOASTS */
.toast-header-bg{
    font-weight: bolder;
    color: white;
    padding: 15px;
}

.toast-body-bg{
    font-weight: bolder;
    background-color:white;
    padding: 15px;
}

.toast-success{
    background-color: #33a200;
}

.toast-failure{
    background-color: #a60000;
}

.toast-warning{
    background-color: #000;
}

/* CARDS */
.card-container {
    display: flex;
    justify-content: space-around;
}
.card {
    width: 23.5%;
    padding: 20px;
    position: relative; 
    box-shadow: var(--default-shadow);
}

.card-info{
    cursor: pointer;
}
.card-header{
    background-color: white;
}

.card-input {
    width: 100% !important;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
    border: none;
    border-radius: 0px;
}

.card-input .card-header h5::after {
    content: "";
    background-color: #04a9f5;
    position: absolute;
    left: 0px;
    top:20px;
    width: 4px;
    height: 20px;
  }

  .dt-button{
    margin-right: 20px !important;
    
  }
div.card.card-input ul.nav.nav-tabs li.nav-item{
    margin-bottom: 0;
    background-color: white;
  }

  a#step-one-tab.nav-link.active,
  a#step-two-tab.nav-link.active{
    background-color: rgb(255, 255, 255) !important;
  }
  a#step-one-tab.nav-link:hover,
  a#step-two-tab.nav-link:hover{
    background-color:white !important;
  }

  div.card.card-input div.card-header h5 span.status-container{
    min-width: auto;
    border:none;
    margin-left: 15px;
    border-radius: 0;

  }

  .daterangepicker td.active, .daterangepicker td.active:hover{
    color: white !important;
  }
#updateWaitingForInfo{
    background-color: #ffbf00;
    color: white;
    box-shadow: var(--default-shadow);
    text-shadow: var(--default-shadow);
    border: none;
    padding: 7px;
    transition: 0.2s ease-in-out;
    display:grid;
    justify-content: right;
    margin-left: auto;
    margin-bottom: 19px;
}
#updateWaitingForInfo:hover {
    background: #9b7b00;
    transition: 0.2s ease-in-out;
  }
.card-title{
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--font-color);
}
.card-text{
    font-weight: bold;
    font-size: 2rem;
}
.card-block{
    padding: 1.875rem 1.25rem;
}
.form-textarea{
    height:5rem;
}
.small-quantity{
    font-size: 1.25rem;
    color: var(--font-color);
}
.icon-wrapper {
    display: flex;
    align-items: center;
}

.icon-container {
    position: absolute;
    top: 27px;
    right: 25px;
    padding: 17px;
    border-radius: 50%;
}
.icon-container i {
    font-size: 35px;
    color: rgb(0, 0, 0);
}
#card-completed_tasks{
   /* border: 2px solid #008a09; */
    border: 0;

    /*background: #e4ffed;*/
}
#completed-tasks-icon{
    background-color: #00bd0c82;    
}
#card-waiting{
   /* border: 2px solid rgb(189, 154, 0); */
   border:0;
   /* background-color: #fffcf3;*/
}
#waiting-tasks-icon{
    background-color: rgba(221, 181, 0, 0.733);
}
#card-current{
   /* border: 2px solid rgb(0, 113, 189);*/
        border:0;
   /* background-color: #f3f8ff;*/
}
#current-tasks-icon{
    background-color: rgba(0, 96, 221, 0.58);
}
#card-preparers{
   /* border: 2px solid rgb(189, 0, 0);*/
   border:0;
    /* background-color: #fff3f3;*/
}
#preparers-tasks-icon{
    background-color: rgba(221, 0, 0, 0.58);
}
.split-table-body {
    display: flex;
    margin-top: 2rem;
}

.table-wrapper {
    width: 75%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--default-shadow);
}

.charts-and-goodies {
    width: 25%;
    padding: 20px;
    background-color:white;
    border-radius: 10px;
    margin-left: 2rem;
    box-shadow: var(--default-shadow);
}
.selectors{
    margin-bottom: 25px;
}
.progress{
    border-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 8px;
}

.progress-bar{
    width: 0%;
}
.progress-container{
    margin-top: 25px;
    cursor: pointer;
}
.progress-text{
    display:grid;
    justify-items: right;    
}
.fill-progress {
    width: 100%; /* Set the final width to 100% */
}

th{
    text-align: center !important;
}

/* CRM / SERVICES */

.step-container{
    margin: 5px ;
    border: 1px #e3e3e3 solid;
    padding: 20px;
}

.form-control, .input-group-text, .form-select{
    padding: .55rem 1rem !important;
    background-color: #f4f7fa;
    border: 1px #d2d2d2 solid;
}

#tax-refund{
    color: rgb(64, 201, 64);
}

#tax-debt{
    color:rgb(226, 52, 52);
}

.tax-header-text{
    font-size: 1.1rem;
    margin-bottom: 1px;
    color:#66f;
}

.form-container{
    margin-bottom: 10px;
}
/* RADIOBOX */
.radio-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  
  .radio-container label {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
  }
  
  .radio-container  label input {
    position: absolute;
    left: -9999px;
  }
  
  .radio-container label input:checked + span {
    background-color: #66f;
    color: white;
  }
  
  .radio-container label input:checked + span:before {
    box-shadow: inset 0 0 0 0.4375em #1919ff;
  }
  
  .radio-container label span {
    display: flex;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 99em;
    transition: 0.25s ease;
    color: #000;
  }
  
  .radio-container label span:hover {
    background-color: #d6d6e5;
  }
  
  .radio-container label span:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    margin-right: 0.375em;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.125em #66f;
  }
/* CHECKBOX (COMMON BLUE) 30 */
.clear {
    clear: both;
  }
  
  .checkbox-wrapper-30 {
    display: block;
    cursor: pointer;
    width: 17px;
    height: 17px;
    border: 3px solid rgba(255, 255, 255, 0);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 0px 2px #1237ff;
  }
  
  .checkbox-wrapper-30 div {
    width: 34px;
    height: 34px;
    background-color: #1237ff;
    top: -52px;
    left: -52px;
    position: absolute;
    transform: rotateZ(45deg);
    z-index: 100;
  }
  
  .checkbox-wrapper-30 input[type=checkbox]:checked + div {
    left: -10px;
    top: -10px;
  }
  
  .checkbox-wrapper-30 input[type=checkbox] {
    position: absolute;
    left: 50px;
    visibility: hidden;
  }
  
  .transition {
    transition: 300ms ease;
  }

.custom-col-auto {
    padding-right: 5px; /* Adjust the padding as needed */
    padding-top: 10px;
    padding-bottom: 10px;
}
.custom-col {
    padding-left: 5px; /* Adjust the padding as needed */
}
/* CHECKBOX (UNIQUE GREEN) 31 */
.checkbox-wrapper-31:hover .check {
    stroke-dashoffset: 0;
  }

  .checkbox-wrapper-31 {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 10px;
  }
  .checkbox-wrapper-31 .background {
    fill: #444444;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
  }
  .checkbox-wrapper-31 .stroke {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    stroke-dashoffset: 100;
    stroke-dasharray: 100;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
  }
  .checkbox-wrapper-31 .check {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    stroke-dashoffset: 22;
    stroke-dasharray: 22;
    transition: ease all 0.6s;
    -webkit-transition: ease all 0.6s;
  }
  .checkbox-wrapper-31 input[type=checkbox] {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    opacity: 0;
    -appearance: none;
    -webkit-appearance: none;
  }
  .checkbox-wrapper-31 input[type=checkbox]:hover {
    cursor: pointer;
  }
  .checkbox-wrapper-31 input[type=checkbox]:checked + svg .background {
    fill: #0d9700;
  }
  .checkbox-wrapper-31 input[type=checkbox]:checked + svg .stroke {
    stroke-dashoffset: 0;
  }
  .checkbox-wrapper-31 input[type=checkbox]:checked + svg .check {
    stroke-dashoffset: 0;
  }

  /* GLOBAL */ 

.btn-primary {
    width: auto; 
}
.view, .delete{
    border-radius: 50%;
    width: 45px;
    height: 45px;
    margin-right: 8px;
    padding: 10px 12px;
    border:0;
}

.view{
    background: rgb(1,131,232);
    background: radial-gradient(circle, rgba(1,131,232,1) 0%, rgba(0,157,255,1) 50%, rgba(0,213,255,1) 100%);
}

.delete{
    background: rgb(232,1,101);
    background: radial-gradient(circle, rgba(232,1,101,1) 0%, rgba(255,0,63,1) 50%, rgba(255,0,0,1) 100%); 
}
#addButton {
    height: 40px; /* Set a fixed height for the button */
    display: flex; /* Enable Flexbox layout */
    align-items: center; /* Vertically center children */
    justify-content: center; /* Horizontally center children */
}

.button-content {
    display: flex; /* Enable Flexbox layout for the content */
    align-items: center; /* Vertically center the content */
}

.button-symbol {
    margin-right: 10px; /* Add some spacing between the symbol and text */
}

.button-text {
    font-size: 16px;
}

.btn-save {
    outline: none;
    cursor: pointer;
    border: none;
    padding: 0.4rem 1.2rem;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    position: relative;
    display: inline-block;
    letter-spacing: 0.05rem;
    font-weight: 700;
    font-size: 17px;
    border-radius: 500px;
    overflow: hidden;
    background: #66ff66;
    color: ghostwhite;
    width:auto;
   }
   
   .btn-save span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
   }
   
   .btn-save:hover span {
    color: black;
   }
   
   .btn-save::before,
   .btn-save::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
   }
   
   .btn-save::before {
    content: "";
    background: #0054ae;
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
   }
   
   .btn-save:hover::before {
    transform: translate3d(100%, 0, 0);
   }

   .btn-label {
	position: relative;
	left: -12px;
	display: inline-block;
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 3px 0 0 3px;
    }

    .btn-labeled {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 10px;

    }
   
.button-container{
    display:grid;
    justify-content: center;
}

.footer{
    margin-top: 25px;
    color: #8a8a8a;
    letter-spacing: 1px;
}