@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

/* Colors

#172554
#1e3a8a
#2e82f6
#f3f4f6
#ffffff

*/


html {
  height: 100%;
}

body {
    background-color: #f3f4f6;
    color: #172554;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

h1 {
  color: #172554;
  font-size: 2.25rem;
  line-height: 2.5rem;
}

h2 {
    color: #172554;
    font-size: 1.55rem;
    line-height: 2.5rem;
  }

.text-muted {
  color: #2470dc;
}

.form-label {
    color: #172554;
    font-weight: 600;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.form-label i {
    color: #2e82f6;
}

.form-control input::placeholder {
  color: #2470dc;
}

.form-control::placeholder {
    color: #cac2c2;
}

.form-control {
    background-color: #f3f4f6;
    border: 1px solid #eee3e3;
    color: #172554;
}

.panel_dashboard h1 {
    margin: 25px 0;
}

.panel_dashboard span {
    color: #1e3a8a;
}

a.call_back {
    text-decoration: none;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 10px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
  background: #1e3a8a;
  border-radius: 10px;
}

/* Scrollbar Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1e3a8a;
}

.navbar-dark {
  background-color: #172554;
}

.btn-dark:hover {
  background-color: #172554;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
  border-color: transparent;
}

header.navbar.navbar-dark.sticky-top.flex-md-nowrap.p-0.shadow {
    background-color: #172554;
    border-bottom: 1px solid #1e3a8a;
    line-height: 40px;
    position: relative;
}

.header-buttons a {
  line-height: 20px;
  padding: 8px 0px 8px 10px;
}

.header-buttons {
  display: inherit;
  position: relative;
  right: 20px;
}

.header-buttons button {
  color: #2e82f6;
}

.header-buttons button:hover i {
  color: #ffffff;
}

.header-buttons button:hover .dropdown-toggle::after {
  color: #2e82f6;
}



.bg-login {
    background: url(../images/bg.webp);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto auto;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-size: auto auto;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Profile image */

#showImage {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

#showSlide {
  max-width: 300px;
  object-fit: cover;
}

#logoImage {
  max-width: 200px;
  height: 100%;
  object-fit: cover;
}

#profileImage {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

#headerUserImage {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

img.img-thumbnail-product {
    width: 50px;
    max-width: 100%;
}

img.img-thumbnail-product-modal {
    border: 1px solid #f1f1f1;
    float: left;
    margin: 0 20px 20px 0;
    width: 200px;
    max-width: 100%;
}

.product-modal-description {
    display: inline-block;
}

.product-modal-description h3 {
    background: #3d443d;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 35px;
    padding: 8px;
    text-transform: uppercase;
}

img.img-fluid.img-thumbnail.aditional_images {
    width: 150px;
    max-width: 100%;
}

span#title_table_span {
    color: #1e3a8a;
    display: block;
    font-size: 0.7rem;
}

#datatable th {
    line-height: 15px;
}

.order_list_product {
    background-color: #f1f1f1;
    line-height: 35px;
    padding: 10px;
}

.order_list_product ul {
    padding: 0
}

.order_list_product li {
    list-style-type: none;
}

.order_list_product h5 {
    color: #172554;
    font-weight: 700;
}

/* Tags */
.bootstrap-tagsinput .tag {
    margin-right: 2px;
    color: white !important;
    background-color: #0d6efd;
    padding: 0.2rem;
  }

/* Sidebar */

.sidebar {
  background-color: #1e3a8a;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  bottom: 0;
  left: 0;
  padding: 3px 0;
  position: relative;
  top: 0;
  z-index: 100;
}

#sidebarMenu {
  background-color: #1e3a8a;
  min-height: 600px;
}

.sidebar-sticky {
  height: calc(100vh - 48px);
  padding-top: .5rem;
  position: relative;
  top: 0;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  color: #fff;
  font-weight: 400;
  font-size: 0.95em;
}

.sidebar .nav-link:hover {
  color: #2470dc;
}

.sidebar .nav-link i {
    color: #2e82f6;
    margin-right: 10px;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.sidebar .exit {
  background-color: #1e3a8a;
}

span.badge.border.border-light.bg-danger.rounded-circle.text-bg-secondary {
    color: #2e82f6;
    font-size: 16px;
    line-height: 18px;
    min-width: 25px;
    padding: 2px;
}

.sidebar span {
    color: #2e82f6;
    font-size: 1.25rem;
    line-height: 18px;
    margin-bottom: 20px;
    min-width: 25px;
    padding: 2px;
    text-transform: none;
}

/* Pos */

.pos_total_details {
    background-color: #1e3a8a;
    color: #fff;
    margin-bottom: 20px;
    padding: 10px;
}

.lead_form label, select {
    margin-bottom: 25px;
}

#quantity_cart {
    width: 40px;
}

/*  Navbar */

.navbar-brand {
    background-color: #1e3a8a;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 500;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.navbar-brand span {
    color: #2e82f6;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1rem;
}

.navbar .navbar-toggler {
  top: 0.8rem;
  right: 1rem;
}

.navbar .form-control {
  border-radius: 0;
  border-bottom: 1px solid #172340;
  border-left: 1px solid #172340;
  padding: .75rem 1rem;
}

.navbar-nav .exit {
  background-color: #0c1427;
  padding: 12px;
}

.navbar-toggler {
  border: 0;
}

.form-control-dark {
  color: #fff;
  background-color: #172554;
  border-color: #1e3a8a;
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.dropdown-menu.show {
  background-color: #172554;
  border-radius: 0;
  width: 100%;
}

.dropdown-item {
  color: #2470dc;
  /* border-bottom: 1px solid #1e3a8a; */
  font-size: 0.8rem;
  padding: 8px 0px 8px 20px;
}

a.view_website  {
  color: #7987a1;
  text-decoration: none;
}

/* Table */

.table {
  color: #172554;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
  color: #fff;
}

.table-sm>:not(caption)>*>* {
  padding: 0.5rem 0.25rem;
}

#datatable {
  color: #fff;
}

#datatable tr {
    color: #172554;
    border: 1px solid #eee3e3;
}

tr.odd:hover td {
  color: #172554;
}

tr.even:hover td {
  color: #172554;
}

.page-item:first-child .page-link {
  background-color: #1e3a8a;
  color: #2e82f6;
  border: 1px solid #1e3a8a;
}

.page-item:last-child .page-link {
  background-color: #1e3a8a;
  color: #fff;
  border: 1px solid #1e3a8a;
}

#datatable_length.dataTables_length {
  margin: 15px 0px 25px;
}

#datatable_filter.dataTables_filter {
  margin: 15px 0px 25px;
}

#datatable_info.dataTables_info {
  margin: 20px 0px;
}

#datatable_paginate.dataTables_paginate.paging_simple_numbers {
  margin: 20px 0px;
}

table.dataTable thead>tr>th.sorting.table_right{
  text-align: right;
}

td.table_right {
  text-align: right;
}

.table_right a {
    text-decoration: none;
    margin: 0px 3px;
}

table.dataTable td, table.dataTable th {
  line-height: 25px;
}

img.image_content  {
  width: 50px;
  height: auto;
  object-fit: cover;
}

form#report {
    margin-bottom: 30px;
}

#report button.btn.btn-primary{
    text-align: center;
    margin: 15px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Editor */

.ck.ck-editor__main>.ck-editor__editable {
  min-height: 300px;
}

.ck.ck-editor__editable_inline{
  color: #000;
}

button.btn.btn-primary.save {
  float: right;
}

.review_images img {
    border: 1px solid #ccc;
    margin: 3px;
    max-width: 100px;
    height: auto;
}

.offcanvas-body {
    line-height: 35px;
}

/* Card */

.card {
  border: 1px solid #f3f4f6;
  box-shadow: 3px 0 10px 0 #f3f4f6;
  -webkit-box-shadow: 3px 0 10px 0 #f3f4f6;
  -moz-box-shadow: 3px 0 10px 0 #f3f4f6;
  -ms-box-shadow: 3px 0 10px 0 #f3f4f6;
  margin-bottom: 25px;
}

.card-body {
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
    box-shadow: 3px 0 10px 0 #f3f4f6;
    -webkit-box-shadow: 3px 0 10px 0 #f3f4f6;
    -moz-box-shadow: 3px 0 10px 0 #f3f4f6;
    -ms-box-shadow: 3px 0 10px 0 #f3f4f6;
  color: #172554;
}

.card-body:hover {
    box-shadow: 3px 0 10px 0 #dbdfe8;
    -webkit-box-shadow: 3px 0 10px 0 #dbdfe8;
    -moz-box-shadow: 3px 0 10px 0 #dbdfe8;
    -ms-box-shadow: 3px 0 10px 0 #dbdfe8;
}

.card .card-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 30px 0;
  text-transform: normal;
}

h2.card-title  {
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.card.dashboard {
  text-align: center;
}

.card.dashboard h2 {
    color: #1e3a8a;
  margin: 10px 0px;
}

.card.dashboard:hover h3 {
  color: #172554;
  transition: all;
  transition-duration: 0.5s;;
}
.card.dashboard i {
    color: #d4dcf4;
    font-size: 2.3rem;
}

.card.dashboard:hover i {
    color: #1e3a8a;
}

.card.dashboard a {
    color: #172554;
    text-decoration: none;
}

.dashboard_statistics .card {
    padding:0;
}

.dashboard_statistics:hover .card-details i  {
    color: #1e3a8a;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.dashboard_statistics .card-body {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 3px 0 10px 0 #f3f4f6;
    -webkit-box-shadow: 3px 0 10px 0 #f3f4f6;
    -moz-box-shadow: 3px 0 10px 0 #f3f4f6;
    -ms-box-shadow: 3px 0 10px 0 #f3f4f6;
    color: #111;
    padding:0;
}

.dashboard_statistics .card-title {
    background-color: #fff;
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    padding: 10px;
    text-transform: none;
}

.dashboard_statistics .card-details {
    align-items: center;
    color: #fff;
    display: flex;
    padding: 30px 20px;
    justify-content: space-between;
}

.dashboard_statistics .card-details i {
    color: #2e82f6;
    float: left;
    font-size: 3rem;
}

.dashboard_statistics .card-details h3 {
    color: #111;
    font-size: 1.5rem;
}

.dashboard_statistics .card-footer {
    background-color: #fff;
    border-color: #f1f1f1;
}

.dashboard_statistics .card-footer a {
    color: #2545a1;
    font-size: 0.8rem;
    text-decoration: none;
}

.dashboard_statistics .card-footer a:hover {
    color: #2e82f6;
}


footer {
  background-color: #1e3a8a;
    border-bottom: 1px solid #172340;
    color: #2e82f6;
}

.ml { position: fixed; left: 0px; bottom: 90px; z-index:1080; max-width:380px; font-size:.95rem; line-height:1.35; }
.ml .ml-toggle{ display:flex; align-items:center; gap:.5rem; background:#0d6efd; color:#fff; border:0; border-radius:999px; padding:.5rem .85rem; box-shadow:0 4px 14px rgba(0,0,0,.18); cursor:pointer; }
.ml .ml-card{ display:none; background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:.75rem; margin-top:.5rem; box-shadow:0 10px 28px rgba(0,0,0,.22); overflow:hidden; }
.ml.expanded .ml-card{ display:block; }
.ml .ml-head{ display:flex; align-items:center; justify-content:space-between; padding:.6rem .8rem; background:#f8f9fa; border-bottom:1px solid rgba(0,0,0,.06); }
.ml .ml-badge{ display:inline-block; background:#212529; color:#fff; padding:.15rem .5rem; border-radius:999px; font-size:.75rem; text-transform:capitalize; }
.ml .ml-close{ background:transparent; border:0; color:#6c757d; cursor:pointer; }
.ml .ml-body{ padding:.85rem; }
.ml .ml-prompt{ font-weight:600; margin-bottom:.5rem; }
.ml .ml-answer{ background:#f6fff6; border:1px solid #e7f7e7; border-radius:.5rem; padding:.5rem .6rem; }
.ml .ml-footer{ display:flex; justify-content:flex-end; gap:.5rem; padding:.6rem .8rem; border-top:1px solid rgba(0,0,0,.06); background:#fff; }

.kanban-grid { align-items: stretch; }
.kanban-column .kanban-header {
padding: .6rem .9rem;
border-top-left-radius: .5rem;
border-top-right-radius: .5rem;
z-index: 1;
}
.pipeline-stage { border-bottom-left-radius: .5rem; border-bottom-right-radius: .5rem; }
.opp-card { position: relative; transition: transform .08s ease, box-shadow .08s ease; }
.opp-card:hover { transform: translateY(-1px); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.opp-card .left-accent {
position:absolute; left:0; top:0; width:4px; height:100%; border-top-left-radius:.5rem; border-bottom-left-radius:.5rem;
}
.opp-card-body { border-radius: .5rem; background:#fff; }
.drag-handle { cursor: grab; padding-top:.25rem; }
.gu-mirror .drag-handle { cursor: grabbing; }
.pipeline-stage.gu-over { outline: 2px dashed rgba(0,0,0,.15); outline-offset: -6px; }
.shadow-xs { box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; padding: 24px 8px; gap:.25rem; }
.empty-illustration { font-size: 1.4rem; }
.extra-small { font-size: .75rem; }

/* densitate compactă */
.compact .opp-card .card-body { padding: .5rem .6rem !important; }
.compact .kanban-header { padding: .45rem .7rem; }
.compact .badge { transform: scale(.95); }

/* Chat NPL */

.chat-container {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    bottom: 20px;
    right: 10px;
    position: fixed;
    z-index: 999;
    width: 90%;
    max-width: 350px;
    overflow: auto;
}

.chat-container i {
    font-size: 1.5rem;
    margin: 0 10px;
}

span#toggle-chat {
    padding: 10px;
    line-height: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#chat-card {
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0;
    width: 100%;
    max-height: 80vh;
}

.card-body.chat-card {
    background-color: #f1f1f1;
    border-radius: 8px;
    margin: 2px;
    padding: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-header {
    background-color: #fff;
    padding: 15px;
    position: sticky;
    top: 0;
    text-align: center;
    z-index: 1;
}

.chat-header .fa-solid.fa-robot {
    font-size: 3rem;
    color: #539165;
}

#close-chat {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
}

#close-chat:hover {
    color: #539165;
}

.chat-header .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 7px 0px;
}

.chat-header .card-subtitle {
    color: #afaaaa;
}

#response {
    line-height: 30px;
    padding: 10px;
    min-height: 100px;
}

.chat-footer {
    background-color: #fff;
    padding: 10px;
    position: sticky;
    bottom: 0;
    z-index: 1;
}

#chat-form input {
    border: 0;
    width: calc(100% - 80px);
    min-height: 35px;
    padding: 10px;
    margin-right: 10px;
}

#chat-form button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

#chat-form button:hover i {
    color: #539165;
}

img.chat-avatar {
    border-radius: 12px;
    max-width: 50px;
    margin-left: 10px;
}

img.chat-header-avatar {
    width: 90px;
    border-radius: 12px;
}

ul#suggestions-list, li#suggestions-list {
    display:none;
    background-color:#fff;
    list-style:none;
    padding:5px;
    margin:0;
    width: 100%;
}

span.suggestions_list  {
    background-color: #2e82f6;
    color: #fff;
    display: block;
    padding: 2px 0px 2px 10px;
}

span.suggestions_list:hover  {
    background-color: #1e3a8a;
}

.table_right, .table_right td, .table_right tr, th.table_right.sorting {
    text-align: right;
}

i.fa-solid.fa-envelope-circle-check {
    color: #28a745;
}

/* Statistici */
#totalInvoicesValuePerMonthChart, #expiringHostingsChart {
    min-height: 365px;
    width: 100%;
}

#dailyLeadsChart, #monthlyLeadsChart, #agentLeadsMonthlyChart, #totalCallsByDayChart, #callsByAgentDailyChart, #offersSentByAgentDailyChart, #offersSentByAgentMonthlyChart, #prospectsByAgentMonthlyChart, #total_time_chart, #monthly_time_chart {
    max-height: 500px;
    width: 100%;
}

/* Stiluri media query pentru dispozitive mobile */
@media (max-width: 600px) {
    .chat-container {
        left: 5%;
        right: 5%;
        width: 90%;
        bottom: 10px;
    }

    #chat-card {
        max-height: 96vh;
        overflow-y: auto;
    }

    .chat-header .fa-solid.fa-robot {
        font-size: 2.5rem;
    }

    #close-chat {
        right: 15px;
        top: 10px;
    }
}

/* end Chat NPL */

/* Media Query */

@media (min-width: 992px) {
    span#toggle-chat {
        justify-content: space-around;
    }
}

@media (max-width: 767.98px) {
  .sidebar {
    padding: 30px 0px;
    top: 0rem;
  }

  .navbar-brand {
    border-right: 0;
    font-size: 1.25rem;
  }

  .header-buttons {
    line-height: 0;
    position: absolute;
    right: 60px;
  }

  .header-buttons a {
    padding: 5px 10px;
  }

  button.btn.messages, .view_website {
    display: none;
  }
}
