#sidebar {
  top: 0px;
  height: 100vh;
  transition: width 0.3s ease;
  width: 80px; /* Collapsed width */
  overflow: hidden;
  margin: 0;
  position:fixed;
}

.margin_top{
    margin-top:60px;
}

#sidebar.expanded {
  width: 230px; /* Expanded width */
}

.toggle-menu-item {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  padding: 10px;
  color: #333;
}

.toggle-menu-item:hover {
  color: #333;
}

.toggle-menu-item i {
    margin-left:10px;
    color:black; /* Smooth transition for color changes */
}

@media (max-width: 768px) {
  .toggle-menu-item i {
        margin-left:0px; /* Links become clickable */
      }
}

.menu-label {
    color:black; /* Smooth transition for color changes */
}

.menu-label {
  margin-left: 10px;
  display: none; /* Hidden by default */
}

#sidebar.expanded .menu-label {
  display: inline; /* Shown when sidebar is expanded */
}

.toggle-btn {
  width: 100%;
  text-align: center;
}

button:focus:not(:focus-visible) {
    outline: 0; /* Remove the outline */
    outline-color: initial; /* Reset outline color */
    outline-style: initial; /* Reset outline style */
    outline-width: 0px; /* Set outline width to 0 */
}

.btn-white:focus,
.btn-white:active {
    box-shadow: none; /* Remove Bootstrap's box-shadow on focus */
    border-color: transparent; /* Ensure border remains transparent */
}

.bg-ccom{
    background: linear-gradient(90deg, #6c757d, #6a7a70);
    color:white;
}

.bg-ccom:hover{
    background: linear-gradient(90deg, #6c757d, #6a7a70);
    color:white;
}

.active-icon {
    color: black; /* Change this to your desired color */
}

  #sidebar {
      margin-top:20px;
  }

@media (max-width: 768px) { /* Adjust breakpoint as needed */
  .mob_mar{
    margin-left:40px;
    max-width: calc(100% - 40px);
  }
    .mob_mar_footer{
    margin-left:60px;
    max-width: calc(100% - 40px);
  }
  #sidebar {
    top: 0px;
    margin-top:60px;
  width: 60px; /* Collapsed width */
  overflow: hidden;
  margin: 0;
  position:fixed;
}
}

@media (min-width: 820px) and (max-width: 1180px) {
  .mob_mar {
    margin-left: 60px; /* Adjusted margin for medium-sized screens */
    max-width: calc(100% - 40px);
  }

        .mob_mar_footer{
    margin-left:60px;
    max-width: calc(100% - 45px);
  }
  #sidebar {
    width: 80px; /* Slightly wider for medium-sized screens */
    margin-top: 50px; /* Adjust margin if needed */
  }
}

.company-profile-heading-text {
    font-size: 30px; /* Adjust the font size as needed */
    background: linear-gradient(to right, #94d4a3, #234a2c); /* Light green gradient */
    -webkit-background-clip: text; /* Clip background to text (for Safari) */
    -webkit-text-fill-color: transparent; /* Make text fill transparent */
    background-clip: text; /* Clip background to text */
    margin-bottom: 1rem; /* Margin bottom to match your existing class */
    font-weight:bold;
    font-style:italic;
}

.company_heading_name {
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 16px;
    color: black;
}
.company_content {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    color: #333;
}

.company-profile-heading-text2 {
    font-size: 25px; /* Adjust the font size as needed */
    background: linear-gradient(to right, #94d4a3, #234a2c); /* Light green gradient */
    -webkit-background-clip: text; /* Clip background to text (for Safari) */
    -webkit-text-fill-color: transparent; /* Make text fill transparent */
    background-clip: text; /* Clip background to text */
    margin-bottom: 1rem; /* Margin bottom to match your existing class */
    font-weight:bold;
    font-style:italic;
}

a {
    text-decoration: none;
    color: #007bff; /* Change color to fit your design */
}

a:hover {
    color: #0056b3; /* Darker color on hover */
}

.text-bold{
    font-weight:bold;
}

.btn-dark.custom-style {
    background-color: #969696; /* Custom dark color */
    color: white;            /* Custom text color */    /* Rounded corners */
}

.btn-dark.custom-style:hover {
    background-color: #969696;    /* Darker shade on hover */
}

.location_info{
    font-size:14px;
    font-style:italic;
    color:#8f8f8f;
}

.btn-success.custom-style-g {
    background-color: #6f967e; /* Custom dark color */
    color: white;            /* Custom text color */    /* Rounded corners */
}

.btn-success.custom-style-g:hover {
    background-color: #6f967e;    /* Darker shade on hover */
}

.btn-white.custom-style-r {
    background-color: #969696; /* Custom dark color */
    color: white;            /* Custom text color */    /* Rounded corners */
}

.btn-white.custom-style-r:hover {
    background-color: #969696;    /* Darker shade on hover */
}

.btn-white.custom-style-s {
    background-color: #547057; /* Custom dark color */
    color: white;            /* Custom text color */    /* Rounded corners */
}

.btn-white.custom-style-s:hover {
    background-color: #547057;    /* Darker shade on hover */
}

.active-icon {
    color: black; /* Change this to your desired color */
}

@media (max-width: 768px) { /* Adjust breakpoint as needed */
  .mob_mar{
    margin-left:40px;
    max-width: calc(100% - 40px);
  }
      .mob_mar_footer{
    margin-left:60px;
    max-width: calc(100% - 45px);
  }
  #sidebar {
    top: 0px;
    margin-top:60px;
  width: 60px; /* Collapsed width */
  overflow: hidden;
  position:fixed;
}
}

.company-profile-heading-text {
    font-size: 30px; /* Adjust the font size as needed */
    background: linear-gradient(to right, #94d4a3, #234a2c); /* Light green gradient */
    -webkit-background-clip: text; /* Clip background to text (for Safari) */
    -webkit-text-fill-color: transparent; /* Make text fill transparent */
    background-clip: text; /* Clip background to text */
    margin-bottom: 1rem; /* Margin bottom to match your existing class */
    font-weight:bold;
}

.selected_active {
    background-color: #48784f !important; /* Active background color */
    color: white !important; /* Active text color */
    text-decoration: none !important;
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
}

.job-link a {
    color: inherit; /* Makes link color the same as the div */
    text-decoration: none; /* Ensures no underline */
    display: block; /* Makes the entire div clickable */
    padding-top: 5px; /* Maintains padding for consistency */
    padding-bottom: 5px;
}

.bg-green-low{
    background-color: #cfe8cf;
}

/* Chat window styles */
.chat-window {
    position: fixed;
    bottom: 5px; /* Height of the chat button */
    right: 10px;
    width: 300px;
    max-width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    z-index: 1000;
}
.chat-header {
    background: #5a8a5d;
    color: white;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.chat-body {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
}
.chat-footer {
    padding: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-custom-message-col{
    background-color:#edfae6;
    border-radius:5px;
}

.selected-message{
    background-color:#b4e0ba!important;
}

#sidebarToggle{
    z-index: 100;
}

.custom-container-box {
    background-color: white;
    border-radius: 8px;
    border: 1px solid lightgrey;
    padding: 16px;
}
.custom-col{
    height:550px;
}
@media (min-width: 767px) and (max-width: 912px) {
  .custom-col {
    margin-left:5%;
    margin-right:5%;
    width: 100%;
  }
}

#messageSection {
    position: relative;
    display: none; /* Hide initially */
    z-index: 2;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.close-overlay {
    display:none;
}

.auto-scroll{
    max-height: 300px;
    overflow-y: auto;
}
/* Mobile-specific styles to make the content overlay */
@media (max-width: 768px) {
     #messageSection {
        display: block;
        position: fixed; /* Fixed positioning to stay visible while scrolling */
        top: 10%;
        left: 2%;
        width: 96%;
        height: calc(80vh - 60px); /* Full height minus offset */
        background: rgba(255, 255, 255, 0.95);
        z-index: 1050;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for floating effect */
        border-radius: 8px; /* Rounded corners for aesthetics */
        overflow-y: auto; /* Enables scrolling within the element */
    }

    .auto-scroll {
        max-height: 60vh;
        overflow-y: auto;
    }

    #messageContainer{
        background-color: white;
    }

    #loading {
        display: block;
        position: fixed; /* Also fixed for consistency */
        top: 40%;
        left: 2%;
        width: 96%;
        height: calc(100vh - 60px);
        overflow-y: auto;
        padding: 20px;
        background-color: white;
        z-index: 1050;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }


    /* Close button for the overlay */
    .close-overlay {
        position: absolute;
        top: 5px;
        right: 15px;
        font-size: 24px;
        cursor: pointer;
        color: white;
        display:block;
    }
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.unread-highlight {
    width: 15px;              /* Set the width */
    height: 15px;             /* Set the height */
    background-color: orange; /* Set background color to orange */
    border-radius: 50%;       /* Make it a circle */
    display: inline-block;    /* Keep it inline with text */
    margin: 5px;              /* Optional margin for spacing */
    text-align: center;       /* Center any text within it */
    line-height: 20px;        /* Align text vertically */
    color: white;             /* Text color */
    font-size: 12px;          /* Text size */
}

.form-check-input:checked {
    background-color: #4d7558;  /* Bootstrap green color */
    border-color: #4d7558;
}

/* Optional: Change the focus ring color to green */
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);  /* Adjust green color for focus */
}

.form-check-input:checked::before {
    background-color: #ffffff; /* White thumb for contrast on green */
}

/* Optional: Change the inner circle color when unchecked */
.form-check-input::before {
    background-color: #6c757d; /* Gray thumb when unchecked */
}

.bg-custom-green {
    background: linear-gradient(to right, #9bd1a9, #72a37f);
    color: white!important; /* Dark green text for contrast */
    padding: 0.5rem 1rem; /* Padding for inside spacing */
    margin: 0.5rem 0; /* Vertical margin */
    border-radius: 5px 5px 5px 5px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    font-size: 15px;
    font-weight: bold;
    font-style:italic;
}

._view_size{
    height:80vh;
}

