/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
  --bs-font-sans-serif: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
}

html,
body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo img {
width: 40px;
height: 34px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

#createEmployeeForm .select2-container .select2-selection--single{
    block-size: 3rem !important;
}


#createEmployeeForm .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: calc(2.875rem - var(--bs-select-border-width) * 2) !important;
    font-size: 1.0625rem !important;
}



.popover {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(67, 89, 113, .15);
}

.popover-header {
    font-weight: 600;
    background: #f8f9fa;
    border-bottom: 1px solid #ebeef2;
    padding: .75rem 1rem;
}

.popover-body {
    padding: 1rem;
    min-width: 240px;
}

.popover-summary .badge {
    font-size: .75rem;
    padding: .35rem .6rem;
}

.popover-summary hr {
    margin: .75rem 0;
    border-color: #ebeef2;
}

.popover-summary small {
    display: block;
    line-height: 1.5;
}



/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 254px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}


/* .gradient-bg{
     background: linear-gradient(
        270deg,
        #FFD55D 0%,
        #B77CFF 50%,
        #5BD1FF 100%
    ) !important;
} */
.gradient-bg{
background: #0F172A !important;
box-shadow: -8px 0px 20.4px 0px #00000038;
}

.text-black{
    color: #000 !important;
}


.gradient-text {
    background: linear-gradient(270deg, #FFD55D 0%, #B77CFF 50%, #5BD1FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}






.menu-item .open{
color: #fff !important;
}




.agent-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
  }

  .agent-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f2f2f8;
  }




   .upload-box {
        border: 1px dashed #d8d6de;
        border-radius: 0.75rem;
        min-height: 46px;
        padding: 0.5rem 0.75rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
    }



     .upload-thumb-wrap {
        position: relative;
        width: 100px;
        height: 100px;
        border-radius: 0.5rem;
        border: 1px solid #e9e7ef;
        background: #f8f7fa;
    }

    .upload-thumb-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0.5rem;
    }

    .remove-thumb-btn {
        position: absolute;
        top: -6px;
        right: -6px;
        width: 22px;
        height: 22px;
        border: 1px solid #ea5455;
        border-radius: 50%;
        background: #fff;
        color: #ea5455;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        font-size: 12px;
    }


  .pending-action-item {
    border-radius: 0.875rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
  }

  .pending-action-item + .pending-action-item {
    margin-top: 0.75rem;
  }

  .table-card .card-header {
    padding-bottom: 0.75rem;
  }

  .mini-table th,
  .mini-table td {
    white-space: nowrap;
    vertical-align: middle;
  }

  .timeline .timeline-item .timeline-point {
    width: 10px;
    height: 10px;
  }

  .timeline .timeline-item .timeline-event {
    padding-bottom: 1rem;
  }

  @media (max-width: 991.98px) {
    .dashboard-stat-card .stat-value {
      font-size: 1.25rem;
    }
  }



  .card{
    border-radius:16px;
}

.shadow-sm{
    box-shadow:0 4px 20px rgba(15,23,42,.06)!important;
}

.fw-normal{
    color:#6b7280;
    font-weight:400!important;
}

.detail-label{
    font-size:12px;
    text-transform:uppercase;
    color:#8a8ea3;
    font-weight:600;
    margin-right:4px;
}

.info-label{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.5px;
    color:#9ca3af;
    font-weight:600;
    display:block;
    margin-bottom:6px;
}

.summary-box{
    background:#f8f9fc;
    border-radius:12px;
    padding:18px;
}

.agent-tabs .nav-link{
    color:#6b7280;
    font-weight:600;
    border:none;
    padding:14px 18px;
}

.agent-tabs .nav-link.active{
    color:#7367f0;
    border-bottom:3px solid #7367f0;
    background:transparent;
}

.badge-success{
    background:#e8faf0;
    color:#28a745;
    border-radius:30px;
    font-weight:600;
}

.btn-primary{
    background:#7367f0;
    border-color:#7367f0;
}

.btn-primary:hover{
    background:#6254e8;
    border-color:#6254e8;
}

.text-secondary{
    color:#6b7280!important;
}






.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-card {
    flex: 1 1 calc((100% - 6rem) / 5);
    min-width: 220px;
    display: flex;
}

.stat-card .card {
    width: 100%;
}

/* Responsive */
@media (max-width: 1400px) {
    .stat-card {
        flex: 1 1 calc((100% - 4.5rem) / 4);
    }
}

@media (max-width: 1200px) {
    .stat-card {
        flex: 1 1 calc((100% - 3rem) / 3);
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex: 1 1 100%;
    }
}


.card-bg-primary{
    background-color: #EEF2FF;
}



.card-bg-success{
    background-color: #F0FDF4;
}


.card-bg-warning{
    background-color: #FFFBEB;
}


.card-bg-pink{
    background-color: #FDF2F8;
}



.personal-item{
    display:flex;
    align-items:flex-start;
    gap:14px;

}

.personal-item i{
    width:42px;
    height:42px;
    border-radius:10px;
    background:rgba(105,108,255,.12);
    color:#696cff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.personal-item small{
    display:block;
    color:#a1acb8;
    font-size:.72rem;
    margin-bottom:4px;
    text-transform:uppercase;
}

.personal-item h6{
    margin:0;
    font-weight:600;
    color:#566a7f;
}

.address-box{
    background:#f8f9fa;
    border:1px solid #ebeef2;
    border-radius:10px;
    padding:14px;
    line-height:1.7;
    color:#566a7f;
}



