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

/* bulla crave theme for colors */
:root {
    --main-accent: #0646d4;
    --dark-blue: #042980;
    --secondary-accent: #ec1c24;
    --secondary: #92d0fb;
    --main-black: #2c3c44;
    --light-blue: #f0f9ff;
    --main-white: #fafafa;
    --main-font: 'Lato', sans-serif;
}

* {
    font-family: var(--main-font);
}

/* body {
    font-family: var(--main-font);
    background-color: var(--main-white);
    min-height: 100vh;
    background-image: url('/assets/images/bg-bulla.png');
    filter: blur(8px);
    background-size: cover; 
    background-position: center; 
    width: 100%; 
    height: 100%;
} */

body {
    font-family: var(--main-font);
    background-color: var(--main-white);
    min-height: 100vh;
    position: relative;
    z-index: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/bulla_helpdesk_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* filter: blur(4px); */
    z-index: -1; /* Ensure the background is behind the content */
    opacity: 0.8; /* Adjust opacity if needed */
}

.form-container{
    /* opacity: 0.8; */
    /* filter: blur(4px); */
    /* z-index: -1; */
}


.custom-is-valid{
    border: 1px solid #f32f53 !important;
        /* padding-right: calc(1.5em + .94rem); */
        background-position: top calc(.650em) right calc(.900em + .94rem);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f32f53'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f32f53' stroke='none'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: calc(.75em + .47rem) calc(.75em + .47rem);
        border-radius: 4px;
}

.lato-thin {
    font-family: var(--main-font);
    font-weight: 100;
    font-style: normal;
}
  
.lato-light {
    font-family: var(--main-font);
    font-weight: 300;
    font-style: normal;
}

.lato-regular {
    font-family: var(--main-font);
    font-weight: 400;
    font-style: normal;
}


.lato-bold {
    font-family: var(--main-font);
    font-weight: 700;
    font-style: normal;
}

.lato-black {
    font-family: var(--main-font);
    font-weight: 900;
    font-style: normal;
}

.lato-thin-italic {
    font-family: var(--main-font);
    font-weight: 100;
    font-style: italic;
}

.lato-light-italic {
    font-family: var(--main-font);
    font-weight: 300;
    font-style: italic;
}

.lato-regular-italic {
    font-family: var(--main-font);
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: var(--main-font);
    font-weight: 700;
    font-style: italic;
}

.lato-black-italic {
    font-family: var(--main-font);
    font-weight: 900;
    font-style: italic;
}

.custom-nav {
    /* background-color: var(--main-white); */
}

.text-main-black {
    color: var(--main-black);
}

.text-accent {
    color: var(--main-accent);
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    border: none;
}
.nav-tabs .nav-link.active {
    /* border-bottom: 3px solid #15803d; */
    color: var(--main-accent);
    font-weight: bolder;
}

.nav-link {
    color: var(--main-black);
}

.nav-link:hover {
    color: var(--main-accent);
}

.text-hover:hover {
    color: var(--main-accent);
}

a {
    cursor: pointer;
}

.custom-label-td {
    width: 40%;
}

.custom-anchor:hover {
    text-decoration: underline;
    color: var(--main-accent);
}

.custom-anchor {
    font-weight: bold;
}

.custom-tab-content {
    padding: 0;
}

.custom-ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}


.tab-view-tr:hover {
    background-color: transparent;
}

.tab-view-tr {
    background-color: transparent;
}

.custom-card {
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.custom-box-shadow {
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.custom-btn-blue {
    background-color: var(--main-accent);
    color: white;
}

.custom-btn-blue:hover {
    color: white;
    background-color: var(--dark-blue);
}

.custom-btn-outline-blue {
    color: var(--main-black);
    border: 1px solid var(--main-accent);
}

.custom-btn-outline-blue:hover {
    color: white;
    background-color: var(--main-accent);
}

.card-body-tab {
    min-height: 32rem;
}

.custom-ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.cursor-pointer {
    cursor: pointer;
}

.custom-alert {
    background-color: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.custom-border-right {
    border: 0;
    box-sizing: border-box;
}

.spinner-border {
    border: 0.2em solid rgba(0, 0, 0, 0.1); /* Light gray background */
    border-left: 0.2em solid #007bff; /* Blue color */
    border-radius: 50%;
    width: 1em;
    height: 1em;
    animation: spinner-border .75s linear infinite;
}

.custom-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
  }
  
  .progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark-blue); 
    z-index: 1;
  }

  .progress-step {
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .progress-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid  var(--dark-blue);/* Change to your desired color */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
  
  .progress-circle.progress-completed {
    background-color: var(--dark-blue);
    color: #fff;
  }
  
  .progress-label {
    margin-top: 10px;
    font-size: 14px;
    color: var(--main-black);
  }

  .search-placeholder {
    background-image: url('https://cdn-icons-png.flaticon.com/128/17529/17529418.png'); 
    height: 200px; 
    background-repeat:no-repeat; 
    background-position: center;
    opacity: 0.5;
    text-align: center;
    position: relative;
    /* background-size: 300px 180px; */
  }

  .search-placeholder p {
    position: absolute;
    bottom: 0;
    right: 45%;
  }

  .ticket-history-search:hover{
    text-decoration: underline;
    transition: 0.75s;
    font-size: bold;
    cursor: pointer;
  }

  .history-body{
    max-height: 500px;
    overflow-y: scroll;
  }

  .history-body::-webkit-scrollbar {
    width: 5px;
  }
  
  .history-body::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
   
  .history-body::-webkit-scrollbar-thumb {
    background: #d4d4d4; 
    border-radius: 10px;
  }
  
  .history-body::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

  .image-carousel-download{
    z-index: 2 !important;
    position: absolute;
    right: 10%;
    top: 5px;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .image-content-container{
    position: relative;
    /* margin: 0px 5rem 0px 5rem; */
  }

/* animations */
@keyframes spinner-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* responsiveness */
@media (min-width: 992px) { 
    .custom-border-right {
        /* border-right: 1px solid rgba(0, 0, 0, .1); */
    }
}

@media (max-width: 724px) { 
    .search-placeholder p{
        /* border-right: 1px solid rgba(0, 0, 0, .1); */
        right: 32%;
    }
}
