/* Customization Login */
.login-page{
/*background-image: url(/images/bg.jpg);*/
background: linear-gradient(
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.8)
    ),
    url("/spasoft/images/bg.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
height: 100%;
width: 100%;
}

.bg_form{
/*background-image: url(/images/bg.jpg);*/
background:rgba(255,255,255,1);
background-position: 70% 130%;
background-size: contain;
background-repeat: no-repeat;
height: 100%;
width: 100%;
}

.logo{
display: block;
text-align: center;
margin-bottom: 1rem;
}

.logo img {
width: 450px;
max-width: 300px;  
animation: fadeIn 2s ease-in-out forwards;
opacity: 0;
}

.logo .slogan {
font-family: "Open Sans", sans-serif;
font-size: 10px;
text-align: center;
display: block;
}

@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

.shadow_form {
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22) !important;
}

.form-bg {
background-color: rgba(255, 255, 255, 1) !important;
}

.bg_image {
/*background: url("/spasoft/images/bg_form.jpg");*/
background: url("/spasoft/images/bg.jpg");
background-size: cover;
background-position: left center;
/* height: 500px;
width: 500px;*/
/* -webkit-clip-path: polygon(98% 17%, 100% 34%, 98% 51%, 100% 68%, 98% 84%, 100% 100%, 0 100%, 0 0, 100% 0);
clip-path: polygon(98% 17%, 100% 34%, 98% 51%, 100% 68%, 98% 84%, 100% 100%, 0 100%, 0 0, 100% 0);*/
}


.col-left,
.col-right {
width: 55%;
padding: 45px 35px;
display: flex;
}

.col-left {
width: 45%;
background: #4CAF50;
-webkit-clip-path: polygon(98% 17%, 100% 34%, 98% 51%, 100% 68%, 98% 84%, 100% 100%, 0 100%, 0 0, 100% 0);
clip-path: polygon(98% 17%, 100% 34%, 98% 51%, 100% 68%, 98% 84%, 100% 100%, 0 100%, 0 0, 100% 0);
}

@media(max-width: 575.98px) {
.container {
flex-direction: column;
box-shadow: none;
}

.col-left,
.col-right {
width: 100%;
margin: 0;
padding: 30px;
-webkit-clip-path: none;
clip-path: none;
}
}
/*input.form-control{
padding: 11px;
border: none;
border: 2px solid #405c7cb8;
border-radius: 30px;
background-color: #fff;
font-family: Arial, Helvetica, sans-serif;
box-shadow: 5px 5px 13px #c5c5c5, -5px -5px 13px #ffffff !important;

}
input.form-control:focus{
box-shadow: none !important;
outline: 0px !important;
background-color: transparent;
}*/
button.login-btn{
background: #b400ff;
color: #fff;
border: none;
padding: 10px;
border-radius: 30px;
}

#btnLogin{
background: #010e21;
color: #fff;
}

/* Media Queries */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.right-shadow{
    width:unset;
    height: unset;
}

}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
.right-shadow{
    width:500px;
    height: 500px;
}

}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.right-shadow{
    width:500px;
    height: 500px;
}

}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
.right-shadow{
    width:500px;
    height: 500px;
}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
.right-shadow{
    width:500px;
    height: 500px;
}

}

.nav-treeview {
display: none; /* Hide by default */
}

.menu-open .nav-treeview , .nav-link.active .nav-treeview{
display: block; /* Show when menu-open is added */
}


.navbar-white, .main-sidebar {
background-color: #021428;
color: #fff;
}

.navbar-white .fas {
color: #fff;
}

.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*="navbar"]) {
background-color: #fff !important;
}

.brand-link{
height: 60px;
display: flex;
align-items: center;
}

.brand-link img{
width:150px;
height: 60px;
}

/* Customizing button */
.btn-ico {
width: 40px;
height: 40px; 
line-height: 20px;
display: inline-block !important;
}

.btn_shadow {
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1) !important;
transition: all 0.3s ease 0s !important;
&:hover {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-4px) !important;
}
}

.btn-border {
border: none !important;
border-radius: 50% !important;
}

.pagecontent input {
font-size: 16px;
padding: 12px 16px 14px 16px;
border: 1px solid #757575;
border-radius: 4px;
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add::before{
content: "\f067";
font-family: fontAwesome;
cursor: pointer;
}

.btn-excel::before{
content: "\f1c3";
font-family: fontAwesome;
cursor: pointer;
}

.btn-csv::before{
content: "\f1c3";
font-family: fontAwesome;
cursor: pointer;
}


/* Customizing 30/09/2024 */
#dvp_hidden{
display: none !important;
}

input[type="hidden"]#branch_id {
display: none;
}

form#EditView h4 {
display:none !important;
}

.bg-dark-blue{
background-color: #021428 !important;
}

.discountmodal {
border: 1px solid #cccccc;
background-color: #eeeeee;
}
.ac_results {
padding: 0px;
border: 1px solid rgb(2 20 39 / var(--tw-bg-opacity));
background-color: white;
overflow: hidden;
z-index: 999999;
}
.ac_results ul {
width: 100%;
list-style-position: outside;
list-style: none;
padding: 0;
margin: 0;
}
.ac_results li {
margin: 0px;
padding: 10px 6px;
cursor: pointer;
display: block;
overflow: hidden;
}
.ac_loading {
background: white url("../images/ajax-loader.gif") right center
no-repeat;
}
.ac_odd {
background-color: #eee;
}
.ac_over {
background-color: rgb(2 20 40 / var(--tw-bg-opacity));
color: white;
}

/* a[title=""] , table tr td a[title=""], a{
    color: blue;
  } */

table tr td, table tr {
    font-size: 0.9rem !important;
}

table tr td.dataLabel {
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

table tr td.dataField{
    padding: 0.2rem !important;
}
/*}*/

table tr td , table tr td{
    padding: 0.75rem;
}

#groupTabs {
    display: flex;
    max-width: fit-content;
    margin-left: 20px;
    gap: 10px;
  
    li {
      /*flex: 1;*/
      padding: 10px 20px;
      text-align: center;
      cursor: pointer;
      background: #f1f1f1;
      border: none;
      outline: none;
      font-size: 15px;
      color: #989797;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      margin-right: 2px;
      border: 1px solid #e7e7e7;

      a{
        color: #777 !important;
      }
  
      &:last-child {
        margin-right: 0;
      }
  
      &.active {
        background: #fff;
        border: 1px solid transparent;
        border-bottom: 2px solid #007bff;
        font-weight: bold;
        color: #333;
        position: relative;
        top: 1px;
      }
  
      &:hover:not(.active) {
        border: 1px solid transparent;
        background-color: #e2e1e1;
        border-bottom: 2px solid #989797;
      }
    }
  }


.required,.has-error{
  color: rgb(239 68 68);
  }
  .flatpickr-input[readonly] {
      --tw-border-opacity: 0.8;
      background-color: rgb(226 232 240 / var(--tw-border-opacity));
  }
  a[title=""] , table tr td a[title=""], a {color:blue};
  
#fumodal{z-index:10011 !important}
#fumodal_content{overflow: auto !important; height: 500px !important;}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
}


/** Style the menu sidebar active background **/
#navbar-nav li .opacity-100 ul li a.active {
    background: rgba(255,255,255,0.6) !important;
    color: blue !important;
    border-radius: 8px;
}

#navbar-nav ul li, #navbar-nav .dropdown-content ul li {
    padding: 0.2rem !important;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark transparent background */
  z-index: 999; /* Ensure it's above everything */
  display: none; /* Hidden by default */
}

#winCreateApp {
  min-width: 300px !important;
  min-height: 150px !important;
  width: auto !important;
  height: auto !important;
}

#campaign .card-body.p-2:first-of-type {
  display: none;
}