body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 50px;
  }
  button {
    padding: 10px 20px;
    font-size: 18px;
  }
  



  body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
}

/* Flex container */
/* Flex container */
.container {
    display: flex;
    align-items: stretch; /* Ensures both sidebar and content stretch equally */
 
}

/* Sidebar */
.sidebar {
    width: 252px;
    background-color: #85B7CC;
   
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    height: 100vh; /* Fixed height to fit the screen */
  
  
    overflow: hidden; /* Prevents the entire sidebar from scrolling */
}

/* Responsive Sidebar for Smaller Screens */
@media (max-width: 1049px) {
    .sidebar {
        width: 152px;
    }
    .content {
        margin-left: 152px;
    }
}
/* Content */

/* Profile section */
.profile {
    text-align: center;
    padding-top: 0px;
    margin-top: 0px;
}

.logo-img{
    margin-top: 5px;
    width: 50px;
    height: 50px;
   
    margin-bottom: 0px;
    padding-bottom: 0px;

}

.name {
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    padding-top: 0px;
    margin-top: 0px;

}

.settings-btn {
    background: transparent;
    border: 1px solid #000000; /* Added border width and style */
    padding: 5px 15px;
    font-weight: 500; /* Corrected font property */
    font-size: 18px; /* Corrected size property */
    line-height: 21px;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Navigation */
nav {
    flex-grow: 1; /* Allows it to take up remaining space */
    overflow-y: auto; /* Enables scrolling if content overflows */
    max-height: calc(100vh - 20px); /* Adjusted height to account for spacing */
    width: 100%;
    padding-right: 10px;
margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps text left-aligned */
    padding-left: 90px;
    transition: max-height 0.3s ease-in-out; /* Smooth expansion */

    /* Center content properly without cutting off the first item */
  
}

/* Increase nav's height when dropdown is active */
nav.expanded {
    max-height: 100vh; /* Allows dropdown to be fully visible */
}

/* Hide scrollbar for cleaner design */
nav::-webkit-scrollbar {
    width: 6px;
}

nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}


/* Navigation */
.nav-item {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: black;
    margin-bottom: 0px;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
}

/* Apply background color when the item is pressed and remains active */
.nav-item.active {
    background: #FFFFFF80; /* Background color when active */
    border-radius: 10px;
}

/* Navigation icon */
.nav-icon {
    width: 10px; /* Adjust as needed */
    height: 10px;
    margin-right: 8px; /* Adds spacing between the icon and text */
    vertical-align: middle; /* Aligns the icon properly */
}



#services-menu {
    display: none;
    position: relative; /* Allows it to expand inside nav */
    padding: 3px 20px;
 
}

.dropdown {
    padding: 0px;
    margin: 0px;
}

.dropdown.active #services-menu {
    display: block;
}

.nav-item12 {
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
    color: black;
    margin-top: 0px;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
}

/* Apply background color when the item is pressed and remains active */
.nav-item12.active {
    background: #FFFFFF80; /* Background color when active */
    border-radius: 10px;
}


/* Logout */
.logout {
    color: #FF2C1A;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    padding-top: 10px;
padding-bottom: 10px;
    margin-top: auto; /* Ensures it stays at the bottom */
}

.logout-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Main Content - Scrollable */
.content {
    flex-grow: 1;
   
    height: 100vh;
    overflow-y: auto; /* Enables scrolling */
   
}














.containerview {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #444;
  margin-bottom: 30px;
}

.filter-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-section input,
.filter-section select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 180px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead {
  background-color: #007bff;
  color: white;
}

table th, table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tr:hover {
  background-color: #eef;
}








.candidate-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.submit-button {
  padding: 12px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: #0056b3;
}










/* _____________________edit--------------------------------- */

.container-editaccounttt {
  background-color: white;
  border-radius: 10px;

  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.title-editaccount {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.profile-info-editaccount {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.profile-user-editaccount {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-img-wrapper-editaccount {
  position: relative;
}

.profile-img-editaccount {
  width: 100px;
  height: 100px;
  border-radius: 9999px;
  object-fit: cover;
}

.edit-icon-bg-editaccount {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 100px;
  height: 100px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.edit-icon-editaccount {
  width: 37px;
  height: 37px;
}

.user-name-editaccount {
  font-weight: bold;
  font-size: 20px;
}

.user-email-editaccount {
  color: #6b7280;
  font-size: 14px;
}

.edit-btn-editaccount {
  background-color: #4182F9;
  color: white;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.form-grid-editaccount {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group-editaccount {
  display: flex;
  flex-direction: column;
}

.form-label-editaccount {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.form-input-editaccount {
  background-color: #F8F8F8;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: none;
  color: gray;
  flex: 1;
  width: 100%;
}

.input-group-editaccount {
  position: relative;
  display: flex;
  align-items: center;
}

.input-btn-overlay {
  position: absolute;
  right: 10px;
  background-color: #4182F9;
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  height: 70%;
}

.phone-wrapper-editaccount {
  display: flex;
  align-items: center;
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 0 12px;
  height: 46px;
  position: relative;
}

.country-code-editaccount {
  background: transparent;
  border: none;
  font-size: 14px;
  color: gray;
  outline: none;
  width: 70px;
  cursor: text;
}

.separator-editaccount {
  width: 1px;
  height: 60%;
  background-color: #ccc;
  margin: 0 10px;
}

.phone-input-editaccount {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 14px;
  color: gray;
  outline: none;
}
.dropdownas {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100px;
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  z-index: 10;
  border-radius: 4px;
}
.dropdownas.visible {
  display: block;
}
.dropdown-item {
  padding: 8px;
  cursor: pointer;
}
.dropdown-item:hover {
  background-color: #f0f0f0;
}










/* -----------------------------adduser style_______----------------------------- */
.btn-disabled {
  background-color: #ff4d4d !important;
  border-color: #ff4d4d !important;
  cursor: not-allowed;
}
#formSection {
  margin-bottom: 20px;
}

#preview {
  display: none;
  margin-top: 20px;
}











.logo-bottom-right {
  position: fixed; /* Fixed position ensures it's always in the bottom-right corner */
  bottom: 20px;  /* Distance from the bottom of the page */
  right: 20px;   /* Distance from the right side of the page */
  z-index: 9999; /* Makes sure the logo stays on top of other content */
}

.logo-img-bottom-right {
  width: 50px;  /* Adjust the size of the logo */
  height: 50px; /* Adjust the size of the logo */
}
