:root {
    --avatar-size: 2.5rem;
    /* change this value anything, e.g., 100px, 10rem, etc. */
  }
.bg-image-login {
    background: linear-gradient(0deg, rgba(54, 97, 235, 0.5), rgba(54, 97, 235, 0.5)), linear-gradient(0deg, #3661EB, #3661EB), url(../img/background-wallpaper.jpg);
    background-blend-mode: normal, color, normal;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.bg-left {
    background-color: #F9FAFA;
}

.title-text {
    font-weight: 700;
    font-size: 32px;
    line-height: 41.6px;
    color: #1E1A22;
}

.custom-row {
    justify-content: space-between;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.footer-text {
    padding-top: 50%;
    color: #fff;
}

.amef-brand {
    color: #3661EB;
    font-weight: bolder;
}

.p-10 {
    padding-top: 20%;
    padding-left: 10%;
    padding-right: 10%;
}

.title-crm-text {
    font-size: 20px;
    line-height: 28px;
}

.bg-custom-info {
    background: #D1F8FA;
}

.bg-custom-danger {
    background: #FEE7E7;
}


/*.bg-gradient-primary {*/
/*    background-color: #072989 !important;*/
/*    background-image: linear-gradient(180deg,#072989 10%, #072989 100%) !important;*/
/*    background-size: cover;*/
/*}*/

.bg-hover-red {
    background: #ff0000;
}

.bg-custom-hover-blue-crm {
    background: #244175;
}

.bg-custom-crm {
    background: #162848;
    border-bottom: 1px solid #244175;
}

.bg-hover-pagination-link-active {
    background-color: #162848 !important;
}

.custom-eye{
    position: absolute;
    top: 28%;
    right: 4%;
    cursor: pointer;
    color: lightgray;
}

.icon-dashboard
{
color: #d8e2f3 !important;
font-size: 44px;
}

.bg-amef{
    background-color:#2653d41a;
}

.page-item.active .page-link  {
    background-color: #EBF0F9;
    color: black !important;
  }

  .chat-messages {
    display: flex;
    flex-direction: column;
   
}

.chat-message-left,
.chat-message-right {
    display: flex;
    flex-shrink: 0
}

.chat-message-left {
    margin-right: auto
}

.chat-message-right {
    flex-direction: row-reverse;
    margin-left: auto
}
.circle {
    background-color: #ccc;
    border-radius: 50%;
    height: var(--avatar-size);
    text-align: center;
    width: var(--avatar-size);
  }
  
  .initials {
    font-size: calc(var(--avatar-size) / 2.5); /* 50% of parent */
    line-height: 1;
    position: relative;
    top: calc(var(--avatar-size) / 4); /* 25% of parent */
  }
  .trumbowyg-box .trumbowyg-editor {
    min-height: 300px ;
    margin: 0 auto;
    word-wrap: break-word;
  }
  .pointer {cursor: pointer;}

  #noti-count {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #000;
    color: #fff;
    padding: 5px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    width: 24px;
    height: 23px;
    text-align: center;
}
#noti-count div {
    margin-top: -3px;
    font-size: 13px;
}


.card-header .fa {
    transition: .1s transform ease-in-out;
  }
  .card-header .collapsed .fa {
    transform: rotate(90deg);
  }
  

  .timeline {
    border-left: 3px solid #727cf5;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    background: rgba(114, 124, 245, 0.09);
    margin: 0 auto;
    letter-spacing: 0.2px;
    position: relative;
    line-height: 1.4em;
    font-size: 0.824em;
    padding: 50px;
    list-style: none;
    text-align: left;
    max-width: 65%;
}

@media (max-width: 767px) {
    .timeline {
        max-width: 98%;
        padding: 25px;
    }
}

.timeline h1 {
    font-weight: 300;
    font-size: 1.12em;
}

.timeline h2,
.timeline h3 {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.timeline .event {
    border-bottom: 1px dashed #e8ebf1;
    padding-bottom: 25px;
    margin-bottom: 25px;
    position: relative;
}

@media (max-width: 767px) {
    .timeline .event {
        padding-top: 30px;
    }
}

.timeline .event:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.timeline .event:before,
.timeline .event:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .event:before {
    left: -207px;
    content: attr(data-date);
    text-align: right;
    font-weight: 100;
    font-size: 0.72em;
    min-width: 120px;
}

@media (max-width: 767px) {
    .timeline .event:before {
        left: 0px;
        text-align: left;
    }
}

.timeline .event:after {
    -webkit-box-shadow: 0 0 0 3px #727cf5;
    box-shadow: 0 0 0 3px #727cf5;
    left: -55.8px;
    background: #fff;
    border-radius: 50%;
    height: 9px;
    width: 9px;
    content: "";
    top: 5px;
}

@media (max-width: 767px) {
    .timeline .event:after {
        left: -31.8px;
    }
}

.rtl .timeline {
    border-left: 0;
    text-align: right;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    border-right: 3px solid #727cf5;
}

.rtl .timeline .event::before {
    left: 0;
    right: -170px;
}

.rtl .timeline .event::after {
    left: 0;
    right: -55.8px;
}

.expanded-row {
    background-color: #f0f9ff !important;
    transition: background-color 0.3s ease;
}

.pulse-bg {
    animation: pulseBg 1s ease;
}

@keyframes pulseBg {
    0%   { background-color: #e3f2fd; }
    50%  { background-color: #bbdefb; }
    100% { background-color: #e3f2fd; }
}

.details-row > td {
    padding: 0 !important;
}

.details-row .p-3 {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.tabel-income-details {
    width: 100%;
    border-collapse: collapse;
   
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}



.tabel-income-details th,
.tabel-income-details td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.tabel-income-details tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.tabel-income-details tbody tr:hover {
    background-color: #edf4ff;
    transition: background-color 0.3s ease;
}

.tabel-income-details th {
    font-weight: 600;
}

@media (max-width: 768px) {
    .tabel-income-details,
    .tabel-income-details thead,
    .tabel-income-details tbody,
    .tabel-income-details th,
    .tabel-income-details td,
    .tabel-income-details tr {
        display: block;
    }

    .tabel-income-details thead {
        display: none;
    }

    .tabel-income-details tr {
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
        background-color: white;
    }

    .tabel-income-details td {
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .tabel-income-details td::before {
        position: absolute;
        top: 10px;
        left: 16px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #666;
        font-size: 13px;
    }

    .tabel-income-details td:nth-of-type(1)::before { content: "Model"; }
    .tabel-income-details td:nth-of-type(2)::before { content: "Serie"; }
    .tabel-income-details td:nth-of-type(3)::before { content: "Conexiune"; }
    .tabel-income-details td:nth-of-type(4)::before { content: "Urmatoarea Revizie"; }
    .tabel-income-details td:nth-of-type(5)::before { content: "Regim"; }

}

th.no-sort:after {
    display: none !important;
}
th.no-sort:before {
    display: none !important;
}
#contract_income_details {
  border-collapse: collapse;
}

#contract_income_details th,
#contract_income_details td {
  padding: 0.4rem;
}

#contract_income_details thead,
#contract_income_details tfoot {
  background: #eee;
}

#contract_income_details thead {
  position: sticky;
  top: 0;
  border-bottom: 2px solid #ccc;
  z-index: 10; /* ca să stea deasupra celorlalte rânduri */
}

#contract_income_details tfoot {
  position: sticky;
  bottom: 0;
  border-top: 2px solid #ccc;
  background: #eee;
  z-index: 10;
  font-size:12px
}

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030; /* peste alte elemente, dar sub navbar */
  border-top: 1px solid #ccc;
}

  .icon-wave {
      position: relative;
      display: inline-block;
    
    }

    .icon-wave::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      border: 1px solid #030303;
      border-radius: 50%;
      transform: translate(-50%, -50%);
      animation: wave 1.9s ease-out infinite;
      opacity: 0.6;
    }

    @keyframes wave {
      0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
      }
      100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
      }
    }
  



    .custom-modal {
    position: absolute;
    top: 100px;
    left: 100px;
    width: 400px;
    min-width: 200px;
    min-height: 150px;
    border: 1px solid #888;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
    resize: none;
}

.custom-modal-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.custom-modal-content {
    padding: 15px;
    overflow: auto;
    max-height: 800px;
}

.custom-modal-resize {
    width: 15px;
    height: 15px;
    background: transparent;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: se-resize;
}

.custom-modal-resize {
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: se-resize;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 2px;
}

.resize-icon {
    font-size: 14px;
    color: #999;
    user-select: none;
}

.h25{
    height: 25px !important;
}
.w150{
    width: 150px !important;
}
.dataTables_wrapper {
  overflow-x: hidden;
  max-width: 100%;
}

.pickr, 
.pcr-button { 
	height: 100% !important; 
}