/* <--------------------------------------------------------- ROOT ---------------------------------------------------------> */

:root {


    /**************************************** COLORS ****************************************/
    --hero-font-color: "linear-gradient(97.52deg, #EC3238 0%, #FAC691 33.85%, #EC3238 65.1%, #FAC691 100%);";
    --primary-color: #ec3238;
    --hover-color-btn: #ab1735;
    --hover-color-btn-secondary: #0c4894;
    --secondary-color: #fac691;
    --black: #000000;
    --white: #ffffff;

    /**************************************** TRANSITIONS ****************************************/
    --transition-superfast: all 0.15s linear;
    --transition-fast: all 0.25s linear;
    --transition-medium: all 0.35s linear;
    --transition-slow: all 0.5s linear;
}

.home-section{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pagination {
    display: flex;
    list-style: none;
    padding-left: 0;
    align-items: center;
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #dee2e6;
    transition: background-color 0.3s, color 0.3s;
}

.pagination li a:hover {
    background-color: #007bff;
    color: #fff;
}

.pagination li.active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li.disabled span {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.pagination li.prev span, .pagination li.next a {
    padding: 8px 16px;
}

.pagination li.prev a, .pagination li.next a {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination li.prev a:hover, .pagination li.next a:hover {
    background-color: #007bff;
    color: white;
}
.img-article{
    width: -webkit-fill-available;
    height: auto;
    border: 1px solid;
    padding: 10px;
}
.button-wrapper{
    justify-content: space-between;
}

@media(max-width: 900px) {
    .articles-card{
        width: max-content;
    }
}
.ml-auto{
    margin-left: auto !important;
}

.ml-2{
    margin-left: 5px !important;
}

.articles-card{
    width:fit-content!important;
}
.roles-container-content form{
    display: grid;
    grid-template: auto / 1fr auto;
    width:100%;
    align-items: center;
    gap: 0.5rem;
}

.roles-container-content form label{
    grid-column : 1/3;
    font-weight: bold;
}

.help-block{
    color: coral;
    font-weight: 500;
    font-style: italic;
    margin-top: 5px;
}
.grabbing{
    cursor: grabbing!important;
}
.pointer{
    cursor: pointer!important;
}

.h-200px{
    height: 300px !important;
    width: auto;
}
.cursor-pointer{
    cursor: pointer!important;
}

.cursor-not-allowed:hover{
    cursor: not-allowed!important;
}


/* ******** Notificari ********** */

@keyframes bellShake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(6deg); }
    60% { transform: rotate(-6deg); }
    70% { transform: rotate(4deg); }
    80% { transform: rotate(-4deg); }
    90% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}


.nav-item.item-notification .shake .fa-bell {
    display: inline-block;
    animation: bellShake 0.8s ease-in-out;
    animation-iteration-count: infinite;
}

.nav-item.item-notification .shake .fa-bell:hover {
    animation: bellShake 0.8s ease-in-out 2;
}

.container-notifications{
    position: absolute;
    bottom: 2.5rem;
    right: 0.5rem;
}

.toast {
    display: block; 
    transform: translateX(100%); 
    transition: transform 0.5s ease-in-out; 
    opacity: 0; 
}

.toast.show {
    transform: translateX(0); 
    opacity: 1; 
}







/* <----------------------------------- START DARK MODE ------------------------------------------------> */
.theme-switcher-box-with-icons .theme-switcher-icon-btn {
  display: flex;
  width: 55px;
  height: 26px;
  border: 1px solid var(--black);
  border-radius: 50px;
  background: transparent;
  position: relative;
  background: rgb(255, 255, 255, 10%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dark-mode .theme-switcher-box-with-icons .theme-switcher-icon-btn {
  border: 1px solid var(--white);
  background: rgb(0, 0, 0, 10%);

}

.theme-switcher-box-with-icons .theme-switcher-icon-btn .light-dark-mode-btn {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: var(--black);
  position: absolute;
  top: 3px;
  left: 3px;
  transition: ease-in-out 0.7s;
  -webkit-transition: ease-in-out 0.7s;
  -moz-transition: ease-in-out 0.7s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn
  .sun {
  display: none;
}

.dark-mode
  .theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn
  .sun {
  display: initial;
}

.dark-mode
  .theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn
  .moon {
  display: none;
}

.theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn
  .moon {
  display: initial;
}

.theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn
  .sun
  path {
  stroke: var(--black);
}

.theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn
  .moon
  path {
  stroke: var(--white);
}

.dark-mode
  .theme-switcher-box-with-icons
  .theme-switcher-icon-btn
  .light-dark-mode-btn {
  background: var(--white);
  position: absolute;
  left: 32px;
  transition: ease-in-out 0.7s;
  -webkit-transition: ease-in-out 0.7s;
  -moz-transition: ease-in-out 0.7s;
}

button:focus {
  outline: none;
}

header.fixed
  #main-navbar-collapse
  .theme-switcher-box-with-icons
  .theme-switcher-icon-btn {
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

/* <----------------------------------- END DARK MODE ------------------------------------------------> */

/* ***************** START SETTINGS DATK MODE ************** */

.dark-mode li {
    color: var(--white);
  }
  body {
    transition: background-color 0.3s;
  }
  
  .page-slide-inner:before {
    transition: background-color 0.3s;
  }
  
  .dark-mode .page-slide-inner:before {
    background-color: rgba(0, 0, 0, 0.15);
  }
  
  .dark-mode .page-header-background:after {
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  body.dark-mode {
    background-color: var(--black);
    color: #898989 !important;
  }
  
  .dark-mode p {
    color: var(--white);
  }

  .dark-mode .breadcrumbs-container-top {
    background: #241c2a !important;
  }

  .dark-mode .breadcrumbs-container-top .back-button a {
    color: var(--white)!important;
  }

    .dark-mode .breadcrumbs-container-top .breadcrumbs a {
        color: var(--white) !important;
    }

    .dark-mode .breadcrumbs-container-top .breadcrumbs .current {
        color: antiquewhite !important;
    }

    .dark-mode .breadcrumbs-container-top .breadcrumbs svg {
        fill: var(--white) !important;
    }

    .dark-mode .breadcrumbs-container-top .breadcrumbs svg path {
        stroke: var(--white) !important;
    }

    .dark-mode .breadcrumbs-container-top .back-button .icon-wrapper svg {
        fill: var(--white) !important;
    }

    .dark-mode .breadcrumbs-container-top .back-button .icon-wrapper svg path {
        stroke: var(--white) !important;
    }



  .dark-mode .module-text p{
    color: var(--white)!important;
    background-color: var(--black)!important;
  }

  
  .dark-mode em {
    color: var(--white);
  }
  
  .dark-mode :is(h1,h2,h3,h4,h5,h6,strong) {
    color:var(--white)
  }
  
  .dark-mode .title-section h2::before {
    border-bottom: 1px solid var(--white);
  }
  
  .dark-mode .title-section h2::after {
    border-bottom: 1px solid var(--white);
  }
  
  
  .dark-mode a {
    color: var(--white);
  }
  

  
  .dark-mode .btn-primary {
    border: 1px solid var(--white);
  }
  
  .same_bg p, .same_bg em, .same_bg h1, .same_bg .btn {
    color: #fff !important;
  }
  .same_bg .btn  {
    border-color: #fff !important;
  }
  
  
  .dark-mode .acasa-section-1 .acasa-section-1-text .module-text p em {
    color: var(--white);
  }
  
  
  .dark-mode header.fixed {
    background: rgb(0, 0, 0, 40%);
  }
  
  
  
  
  .dark-mode .btn-primary:hover {
    color: var(--white);
  }
  
  .dark-mode .btn-primary:hover {
    background: rgb(255, 255, 255, 10%);
  }

  
  .dark-mode .radio input[type="radio"] {
    background-color: var(--black);
  }
  
  
  .dark-mode .checkout-row .form-content .form-group .form-control,
  .dark-mode .create-account .form-group .form-control,
  .dark-mode .other-address .form-group .form-control {
    border-bottom: 1px solid rgb(255, 255, 255, 30%);
    color: #898989;
  }
  .dark-mode input:-webkit-autofill,
  .dark-mode input:-webkit-autofill:hover,
  .dark-mode input:-webkit-autofill:focus,
  .dark-mode input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px black inset !important;
    color: var(--white);
  }
  
  .dark-mode input:-webkit-autofill {
    -webkit-text-fill-color: var(--white) !important;
  }
  
  .dark-mode .checkout-row .form-content .form-group .form-control:focus,
  .dark-mode .create-account .form-group .form-control:focus,
  .dark-mode .other-address .form-group .form-control:focus {
    border-color: var(--primary-color);
  }

  .dark-mode .table tr,
  .dark-mode .table td,
  .dark-mode .table th,
  .dark-mode .table thead,
  .dark-mode .table tbody {
    color: var(--white)!important;
    background-color: var(--black)!important;
  }

  .table tr,
  .table td,
  .table th,
  .table thead,
  .table tbody {
    color: var(--black)!important;
    background-color: var(--white)!important;
  }

  .dark-mode .grid-view{
    background: var(--black);
  }
  .dark-mode .container nav[aria-label="breadcrumb"]{
    background: darkslategray;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
  } 

  .dark-mode ol.breadcrumb{
    padding: 5px;
    margin: 0;
  }

  .dark-mode .pagination li.active a{
    background-color: darkslategray;
    color: white;
    border-color: darkslategray;
  }

  .dark-mode .pagination li.next a{
    background-color: darkslategray;
  }

  .dark-mode .pagination li.prev a{
    background-color: darkslategray;
  }

  .dark-mode .pagination li.disabled span {
    background-color: darkslategray;
  }

  .dark-mode .grid-view select,
  .dark-mode .grid-view input{
    background-color: darkslategray;
    color: var(--white);
  }

  .dark-mode footer{
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
  }
  .dark-mode footer .text-center{
    color: antiquewhite;
  }

  .dark-mode .accordion-header button{
    background-color: #545353;
    color: lightgoldenrodyellow;
  }

  .dark-mode .accordion-item .card{
    background: darkslategray;
    border-color: lightgray;
  }
  .dark-mode .accordion-body{
    background: black;
  }
  
  .dark-mode .articles-card{
    background: black;
    color: lightblue;
    border-color: whitesmoke;
  }

  .dark-mode .product-card{
    background: black;
    border-color: white;
  }

  .dark-mode hr{
    border-color: white;
  }

  .dark-mode .control-label{
    color: antiquewhite;
  }
  .dark-mode .card-header{
    border-color: white;
  }

  .dark-mode .cards-container{
    background: black;
    border-color: white;
  }

  .dark-mode .card-container{
    background: black;
    border-color: white;
    color: white;
  }
  .dark-mode .card-container input{
    background-color: darkslategray;
  }

  .dark-mode .modal-content{
    background: black;
    border-color: whitesmoke;
  }

  .dark-mode .modal-content input,
  .dark-mode .modal-content select,
  .dark-mode .modal-content textarea{
    background-color: darkslategray;
    color: white;
  }

  .dark-mode .product-card .card-body{
    background: black;
    color: antiquewhite;
  }

  .dark-mode .product-card .card-body .signature{
    background: white;
    color: antiquewhite;
  }

  .dark-mode .product-card img{
    background: darkslategray;
  }

  .dark-mode .user_details li{
    color: white;
    border-color: white;
    background: black;
  }

  .dark-mode .user_details li input,
  .dark-mode .user_details li select{
    color: white;
    background-color: darkslategray;
  }

  .dark-mode .product-card .card-header{
    background: black;
    border-color: white;
  }

  .dark-mode .product-card .card-title-darked{
    background: black;
    border-color: white;
    color: white;
  }

  .dark-mode .product-card textarea,
  .dark-mode .product-card input,
  .dark-mode .product-card select{
    color: white;
    background-color: darkslategray;
  }

  .dark-mode .swal2-modal{
    background: gray;
  }

/* ***************** END SETTINGS DATK MODE ************** */