/* Sidebar Styles */
.sidebar {
  background-color:#1C2D8A;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: absolute;
  /* box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); */
  transition: width 0.3s ease;
}

.sidebar.open {
  width: 280px;
}
.css-1gpuzre-MuiSvgIcon-root-MuiSelect-icon {
  color: #ffffff!important;
 
}
.css-1rju2q6-MuiButtonBase-root-MuiMenuItem-root.Mui-selected {
  background-color: #ffffff!important;
}

.sidebar.color{
  width: 60px ;
  margin-top: -3px;
  overflow: hidden;
  background-color: #1C2D8A;
}

/* Sidebar Toggle Button */
.toggle-button {
  /* position: absolute; */
  /* top: 20px; */
  color: #ffffff ;
  /* left: -20px;  */
  /* background-color: #ffffff; */
  /* border: 1px solid #ccc; */
  /* transition: all 0.3s ease; */
}

.memuIcon{
  color: #ffffff;
}

.memuIcon.fromPage{
  color: #ffffff;
  width: 100%;
  margin-top: 2px;
}


/* Sidebar Header */
.sidebar-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* padding: 20px; */
  margin: 0px;
  /* margin-top: 10px; */
}

.sidebar-title {
  font-weight: bold;
  color: #094eae;
  display: flex;
  align-items: center;
}

/* Environment Toggle Buttons */
.environment-toggle {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding: 10px;
}

.toggle-button {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* .toggle-button:hover {
  background-color: #e0e0e0;
}

.toggle-button svg {
  margin-right: 10px;
} */

/* Sidebar Menu Items */
.sidebar-item {
  /* padding: 20px; */
  margin-bottom: 10px;
  color: #959595;
  cursor: pointer;
  font-weight: normal;
  background-color: transparent;
  transition: background-color 0.2s, color 0.2s;
}

.sidebar-item.active {
  background-color: #3F51B5;
  font-weight:bolder !important;
  color: white;
  border-radius: 4px;
}

.sidebar-item.formActive {
  background-color: #ffffff;
  font-weight: bolder;
  /* color: #1C2D8A; */
}

.iconColor{
  color: #959595;
}

.iconColor.active {
  color: #ffffff;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ccc;
  background-color: #f4f4f4;
}

/* When Sidebar is Collapsed */
.sidebar.closed .sidebar-header,
.sidebar.closed .environment-toggle {
  display: none;
}

.sidebar.closed .sidebar-footer {
  display: none;
}

.sidebar.closed .sidebar-item {
  justify-content: baseline;
}

/* .sidebar.closed .sidebar-title {
  display: none;
} */
/* Environment Toggle Container */
.environment-toggle-container {
  align-self: center;
  background-color: transparent;
  border-color: #ffffff;
  border: 1px solid ;
  padding: 5px;
  padding: 13px 21px;
  border-radius: 24px;
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 47px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  margin-top: 20px;
}

/* Environment Toggle Buttons */
.environment-toggle-container button {
  /* padding: 14px 25px; */
  font-size: 12px;
  font-weight: normal;
  height: 28px;
  /* border: 2px solid transparent; */
  border: 0px;
  background-color: transparent;
  color: #959595;
  cursor: pointer;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  padding: 5px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 12px;
  justify-content: center;
  align-items: center;
  width: 100px;
  
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

/* Active Button Style */
.environment-toggle-container button.active {
  background-color: #ffffff;
  color: #1C2D8A;
  border-color: #1C2D8A;
  transform: scale(1.1);
  font-size: 12px;
  font-weight: bold;
  padding-left: 8px;
  padding-right: 8px;
}

/* Hover effect for buttons */
.environment-toggle-container button:hover {
  background-color: #ffffff;
  color: #1C2D8A;
  font-weight: bold;

  box-shadow: 0 4px 6px rgba(203, 13, 13, 0.2);
}

/* Specific button styles */
.environment-toggle-container .development {
  background-color: transparent;
  margin-left: 5px;
  margin-right: 5px;
  border-color: #00bcd4;
}

.environment-toggle-container .production {
  background-color: transparent;
  border-color: #ff9800;
}


.sidebar {
  transition: all 0.3s ease-in-out;
}

.sidebar.open {
  width: 27%;
}

.sidebar.closed {
  width: 60px;
}

.sidebar.hidden{
  width: 0px !important;
}

.sidebar.overlay {
  position: absolute;
  z-index: 9999;
  background-color: rgba(225, 227, 235, 0.95); /* Semi-transparent background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.truncated-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px; 
  display: inline-block; 
}



.organisation .MuiInput-underline:before {
  border-bottom: 2px solid #ffffff !important; 
}

.organisation .MuiInput-underline:hover:before {
  border-bottom: 2px solid #ffffff !important; 
}

.organisation .MuiInput-underline:after {
  border-bottom: 2px solid #ffffff !important; 
}


.top-nav {
  position: fixed; /* Keeps the top-nav fixed at the top */
  top: 0;
  left: 280px; /* Shifted 250px from the left to avoid overlapping with the sidebar */
  width: calc(100% - 250px); /* Adjust width to cover the remaining area */
  background-color: #DAE5FF;
  z-index: 1000; /* Ensures the top-nav is above the sidebar */
}
.top-nav-title {
  flex-grow: 1;
  max-width: 500px; /* Adjust the maximum width as needed */
  overflow-x: hidden; /* Hide any content that overflows */
  color: #f5f5f5 !important;
  text-overflow: ellipsis; /* Add ellipsis if text overflows */
  padding-left: 280px;  /* Add space on the right */
  font-weight: bold !important;
}
.create-btn{
  margin-right: 100px;
}
.layout-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.layout-body {
  display: flex;
  flex-grow: 1;
}

.content-container {
  flex-grow: 1;
  /* padding: 20px;  */
    /* Add padding as needed for spacing */
  /* background-color:red;  */
  margin: 0; /* Remove any margins */
}

/* mainContent.css */

/* Full-page container */
.main-content-container {
  height: 100vh; /* Full viewport height */
  width: cal(80vw- 100vw); /* Full viewport width */
  margin-left: -10px;
  display: flex;
  flex-direction: column; /* Stack header and content vertically */
  background-color: #F7F9FF;
  margin: 0px;
}

/* Header styles */
.main-content-header {
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F7F9FF;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Content section */
.main-content-body {
  flex: 1 1; /* Takes up the remaining space */
  overflow-y: auto; /* Enable scrolling if content overflows */
  padding: 16px;
  padding-left: 0px;
  padding-right: 0px;
  width: 100%;
  /* margin-right: 200px; */
}
.bold-text {
  font-weight: bold; 
}
/* For alignment and spacing in the categories section */
/* Categories container for alignment */
.categories-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* For dynamic input fields alignment */
.categories-actions {
  display: flex;
  align-items: center;
}
.select-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.plus-icon {
  position: absolute;
  right: -25px; /* Adjust for spacing */
  font-size: 20px;
  top: 12px; 
  cursor: pointer;
}

.chevron-icon {
  margin-left: -8px; /* Adjust as needed */
}

.project-home {
    margin-top: 32px;
    flex-direction: row;
    margin-top: -12px;
    width: calc(100% + 46px);
    padding-left:  26px !important;
    /* margin-right: 200px; */
  }
  .h4{
    text-align: left;
    
  }

 
  .css-5c1adp-MuiContainer-root {
    /* padding-left: 15px !important; */
    padding-right: 2px !important;
}
.project-list {
  padding: 20px !important;
  padding-left: 0px !important;
  /* width: 100% !important; */
}

@media (max-width: 768px) {
  .project-list {
    padding: 10px;
  }
}

.css-480o17-MuiGrid-root {
  margin-left: 0 !important;
  margin-right: 1px !important;
}

.card {
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px); /* Hover effect */
}

/* mainContent.css */

/* Full-page container */
.main-content-container {
    height: 100vh; /* Full viewport height */
    width: cal(80vw - 100vw); /* Full viewport width */
    margin-left: -10px;
    display: flex;
    flex-direction: column; /* Stack header and content vertically */
    background-color: #F7F9FF;
    margin: 0px;
  }
  
  /* Header styles */
  .main-content-header-work {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Content section */
  .main-content-body {
    flex: 1 1; /* Takes up the remaining space */
    overflow-y: auto; /* Enable scrolling if content overflows */
    padding: 16px;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
    /* margin-right: 200px; */
  }
  .bold-text {
    font-weight: bold; 
  }
  /* For alignment and spacing in the categories section */
  /* Categories container for alignment */
  .categories-container {
    display: flex;
    justify-content: flex-start; /* Align tabs to the left */
    align-items: center;
    margin-bottom: 10px; /* Reduce bottom margin */
    margin-left: 25px !important;
}

  
  /* For dynamic input fields alignment */
  .categories-actions {
    display: flex;
    align-items: center;
  }

  
  .outlined-input-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.outlined-input-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.outlined-input-container label {
  position: absolute;
  top: 12px;
  left: 10px;
  font-size: 14px;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: white;
  padding: 0 5px;
}
.outlined-input-container input:focus{
  border-color: #5d87ff;

}

.outlined-input-container input:focus + label,
.outlined-input-container input:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: black;
}



.error-message {
  color: #fa9279;
  font-size: 12px;
  height: 16px; 
  margin-top: 4px;
}

.left-align-header {
  text-align: left !important;
  padding-left: 8px !important;
  padding-right: 0px !important;
}
 
.tab-button {
  position: relative;
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
  border-bottom: 2px solid transparent; 
}

.tab-button.active-tab {
  border-bottom: 3px solid #007bff; 
  border-radius: 0; 
}
.modal-title {
  padding: 10px 0; 
  text-align: left;
  font-size: 20px;
  font-weight: bold; 
  margin-left: 20px !important;
} 

.table-container {
  width: 100%;
  max-width: 100%;
  min-width: 0; /* Allows flex children to shrink below content size */
  overflow-x: auto;
  padding: 20px;
}
/* Form Header */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
  background-color: #DAE5FF;
  width: 100%; /* Flexible width */
  max-width: 1200px; /* Prevents exceeding 1200px */
  margin: 10px auto; /* Center it horizontally with spacing */
  height: 40px;
  box-sizing: border-box; /* Include padding/borders in dimensions */
}

/* Header Form Container */
.header-form-container {
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.headerButtons {
  display: flex;
  gap: 10px;
}

/* Tabs Container */
.tabs-container {
  display: flex;
  gap: 20px;
  position: relative;
  border-bottom: 2px solid #e0e0e0;
 
  width: 100%; /* Responsive width */
  max-width: 1200px;
  margin: 0 auto 0px auto; /* Reduce bottom margin */
}

.tab-button {
  background: none;
  border: none;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  padding: 10px 15px;
  position: relative;
  transition: color 0.3s ease;
}

.tab-button:hover {
  color: #1e3a8a;
}

.tab-button.active {
  font-weight: bold;
  color: #1e3a8a;
}

.tab-button.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1e3a8a;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Form Title */
.form-title h3 {
  font-size: 1.25rem;
  color: #333;
  margin-left: 20px;
}

/* Form Actions */
.form-actions .btn-primary {
  background-color: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Custom Form Style */
.custom-form-style {
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 100%; /* Responsive width */
  max-width: 1200px;
  margin: 0 auto; /* Center horizontally */
  box-sizing: border-box;
  overflow: auto;
}

/* Submissions Container */
.submissions-container {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 100%; /* Responsive width */
  max-width: 1200px;
  margin: 20px auto; /* Center and add spacing */
}

/* Image Container */
.imageContainer {
  text-align: center;
}

.image {
  width: 350px;
  margin-bottom: -60px;
}

.message {
  color: #555;
}
.scrollable-container {
  max-height: 80vh; /* Adjust as needed */
  overflow-y: auto; /* Enables vertical scrolling */
  padding: 10px; /* Optional: Adds some spacing */
  background-color: #ffffff; /* Optional: Background color */
}

.sidebar-collapsed {
  width: 0;
  min-width: 0;
}

.sidebar-visible {
  width: 16.666667%;
}

.main-content {
  transition: margin-left 0.3s ease;
  width: 100%;
}

/* Ensure the content doesn't get hidden behind the sidebar */
.main-content-container {
  position: relative;
  z-index: 1;
}


/* Responsive Design */
@media (max-width: 768px) {
  .form-header,
  .tabs-container,
  .custom-form-style,
  .submissions-container {
    width: 95%; /* Take up most of the screen width */
  }

  .tab-button {
    font-size: 0.9rem; /* Adjust font size for smaller screens */
  }

  .form-title h3 {
    font-size: 1rem; /* Adjust title size */
  }
}

@media (max-width: 480px) {
  .tab-button {
    font-size: 0.8rem; /* Smaller font for very small screens */
    padding: 8px 10px;
  }
}
.menu-sidebar {
    width: 100%;
    height: 100%;
    /* background: #DCE6FF; */
    border-radius: 10px;
    /* padding: 10px; */
}

.menu-section {
    /* border-bottom: 1px solid #ddd; */
    padding: 5px 0;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    font-weight: bold;
    background-color: #E8EFFF !important;
    cursor: pointer;
    /* border-radius: 8px; */
    /* transition: background 0.3s; */
}

.menu-header:hover {
    background-color: #E8EFFF;
}

.expanded {
    background-color: #E8EFFF;
    box-shadow: 0px -3px 5px rgba(0, 0, 0, 0.1), /* Top shadow */
    0px 3px 5px rgba(0, 0, 0, 0.1);  /* Bottom shadow */
}

.form-list {
    /* background: #eef2ff; */
    /* padding: 8px; */
    margin: 5px 0;
    border-radius: 6px;
}

.form-item {
    padding: 8px;
    padding-right: 0px;
    padding-left: 0px;
    /* background: #C3C4C74D; */
    cursor: pointer;
    /* transition: background 0.2s; */
    transition: background 0.2s ease-in-out; /* Smooth hover transition */
}

.form-item:hover {
    background-color: #C3C4C74D !important;
}

.selected {
    background: #93c5fd;
    font-weight: bold;
    border-radius: 4px;
}

.no-forms {
    padding: 8px;
    font-size: 14px;
    color: #888;
}

.no-menus {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #888;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Submissions Container */
.submissions-container-mobile {
  background-color: #F9FBFF;
  /* border: 1px solid #e0e0e0; */
  border-radius: 8px;
  width: 100%; /* Responsive width */
}
.submission-id {
  font-size: 14px; /* Adjust font size for smaller screens */
  word-break: break-word; /* Prevents long IDs from breaking layout */
}

.card-selected{
  height: 10%;
  /* Enable vertical scrolling when content overflows */
  /* background-color: #ffffff; */
  /* Card background color */
   /* border: 1px solid rgba(59, 130, 246, 1) !important;  */
   border-radius: 2px;
   /* Rounded corners */
   margin: 5px 0;
   /* Margin for spacing */
   scrollbar-width: thin;
}

.submission-card:hover {
    transform: scale(1.02);
    /* border: 1px solid #1277D0; */
}

.submission-checkbox {
    width: 14px; /* Increased size */
    height: 14px;
    cursor: pointer;
    accent-color: #1277D0; /* Custom checkbox color */
}

.user-name {
    color: #555;
    font-size: 14px;
    text-align: start;
}

.from-create {
    background: #1C2D8A;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
}

.status-badge {
  background: transparent; /* Remove solid background */
  color: #1C2D8A; /* Use the primary color for text */
  padding: 6px 10px;
  font-size: 14px;
  margin-bottom: 1px;
  margin-top: 5px;
  border-radius: 6px;
  font-weight: bold;
  border: 1px solid #1C2D8A;
  display: inline-block; /* Ensure it behaves like a button */
}

.submission-date {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    text-align: end;
}


.submission-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .submission-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    padding: 5px;
    margin-bottom:5px;
    width: 80vw;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    border: 1px solid #F2F2F2;
  }
  
  .vertical-line {
    position: absolute;
    left: 0;
    top: 3px;
    /* margin-top: "3px"; */
    width: 5px;
    height: 30%;
    background-color: #1C2D8A;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 12px;
  }
  
  .card-status {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  

.public-form-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #eef4ff, #f6f9ff)
  }
  
  .public-form-container {
    max-width: 1000px;
    width: 75%;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .public-form-content {
    padding: 10px;
  }
  
  .public-form-content h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
    color: #444;
  }
  
  .public-form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-top: 3px solid #ffffff;
    background: linear-gradient(135deg, #eef4ff, #f6f9ff)
  }
  
  .footer-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
  
  .footer-text {
    font-size: 14px;
    color: #282828;
    text-align: center;
    font-weight: bold;
  }
  
  .footer-logo {
    width: 20px;
    height: 20px;
    background: #999999;
  }
  .iframe-container {
    margin-top: 20px;
    width: 100%;
    height: 500px;
    border: none;
    overflow: hidden;
  }
  
  .iframe-container iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
  } 

  .thank-you-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .thank-you-screen h2 {
    color: #4CAF50;
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .thank-you-screen button {
    padding: 10px 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  .thank-you-screen button:hover {
    background-color: #45a049;
  }
  
html, body, .pageContainer, .mainContainer {
  height: 100%; /* Ensure all parent containers have height defined */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  box-sizing: border-box; /* Ensure consistent box sizing */
}

.preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow-y: auto; */
  height: 90%; /* Take full height of the parent */
}
.text-secondary-color{
  color:#5B5B5B
}

/* .preview-frame {
  box-sizing: border-box; 
} */
.primaryButton {
  background-color:rgba(28, 45, 138, 1) !important; 
  color:#ffffff !important; 
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  border: none;
  padding-left: 8px !important;
  padding-right: 8px !important;
  border-radius: 6px !important;
  font-weight:bold !important;
}

.button-small{
    background-color:rgba(28, 45, 138, 1) !important; 
    color:#ffffff !important; 
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    border: none;
    padding-left: 8px !important;
    padding-right: 8px !important;
    border-radius: 6px !important;
    font-weight:bold !important;
}

.primaryButton:disabled {
  /* background-color: rgba(200, 200, 200, 1) !important; Light gray for disabled */
  color: rgba(150, 150, 150, 1) !important; /* Muted text color */
  cursor: not-allowed !important; /* Show not-allowed cursor */
  opacity: 0.7 !important; /* Reduce opacity for disabled effect */
  background-color:rgba(28, 45, 138, 1) !important; 

}

.btn-outline-primary {
display: inline-block;
height: 38px;
padding: 6px 10px; /* Adjust padding as needed */
font-weight: bold; /* Makes the text bold */
font-size: 13px; /* Adjust font size */
color: #1C2D8A !important; /* Primary color for text */
background-color: transparent; /* Transparent background */
border: 1px solid #1C2D8A !important; /* Outline with primary color */
border-radius: 5px; /* Rounded corners */
cursor: pointer; /* Pointer cursor on hover */
transition: all 0.3s ease; /* Smooth hover effect */
margin: 0 10px; /* Optional margin for spacing */
}

.btn-outline-secoundry{
  display: inline-block;
  height: 38px;
  padding: 6px 10px; /* Adjust padding as needed */
  font-weight: normal; /* Makes the text bold */
  font-size: 13px; /* Adjust font size */
  color: #6D6D6D; /* Primary color for text */
  background-color: #fff; /* Transparent background */
  border: 2px solid #6D6D6D; /* Outline with primary color */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: all 0.3s ease; /* Smooth hover effect */
  margin: 0 10px; /* Optional margin for spacing */
  margin-left: 0px;
  }

.css-18nfmir{
margin-left:26px !important
} 

/* Focus effect */
.btn-outline-primary:focus {
height: 38px;
outline: none; /* Remove default focus outline */
box-shadow: 0 0 5px rgba(13, 110, 253, 0.5); /* Add custom focus shadow */
}

.css-cokf1l-MuiListItemIcon-root{
min-width: 12px !important;
}
.menuLabelSize{
font-size: 13px !important;
}
.css-480o17-MuiGrid-root > .MuiGrid-item {
  padding-left: 0px !important;
  padding-right: 15px !important;
  padding-top: 20px !important;
}

.css-1wxkzlj-MuiTabs-flexContainer{
  min-height: 20px !important;
  padding: 0px;
  margin: 0px;
}
.mantine-kq5u63{
  background-color: #F7F9FF !important;
  color: black !important;
}

.css-5c1adp-MuiContainer-root {
  margin-left: 0 !important; /* Override with higher specificity */
  margin-right: 0 !important;
  max-width: 100% !important;
}

.css-18nfmir{
  margin-top: 0px !important;
}

.selected{
  height: 10%;
  /* Enable vertical scrolling when content overflows */
  background-color: #ffffff;
  /* Card background color */
   border: 1px solid rgba(59, 130, 246, 1) !important; 
   border-radius: 2px;
   /* Rounded corners */
   margin: 5px 0;
   /* Margin for spacing */
   scrollbar-width: thin;
}

.editableInput {
  border: none;
  background-color: transparent;
  font-size: 16px;
  font-weight: normal;
  outline: none;
  width: 100%;
  text-align: left;
}

.formNameButton {
  background: none;
  border: none;
  font-size: 16px;
  height: 38px !important;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.css-1dgtiop-MuiListItem-root{
  padding-left: 5px !important;
}
.css-156w8pm-MuiListItem-root {
  padding-left: 5px !important;
}
.formNameButton:focus {
  outline: none;
}
.css-cyzoxb-MuiButtonBase-root-MuiTab-root {
  min-height: 35px !important;
}
.icon-active {
 filter: invert(17%) sepia(84%) saturate(3346%) hue-rotate(212deg) brightness(92%) contrast(92%);
}
.icon-inactive {
  filter: none;
}
.dropdown-menu {
  position: absolute;
  top: 40px; /* Adjust this based on spacing */
  left: 0;
  background-color: #ffffff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 999; /* Ensure it appears above other content */
  min-width: 200px;
  padding: 10px;
}

.workFlowModalContainer{
  position: "fixed";
  top: "50%";
  left: "50%";
  transform: "translate(-50%, -50%)";
  width: 98%;
  height: 98%;
  background-color: "white";
  box-shadow: "24px";
  padding: "16px";
  overflow: "auto";
  display: "flex";
  padding: "0px";
  flex-direction: "column";
}

.sidebar-Profile-box {
  margin-top: auto;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 4px;
  border-top: 1px solid #ccc;
  padding: 5px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5%;
}
.textGray{
  color: #5A607F;
}

.MuiAutocomplete-popper {
  z-index: 2000 !important;
}


/*invite users*/
    
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #ffffff;
  width: 600px;
  height: 470px;
  padding: 0px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: black; /* Set text color to black */
}

/* .modal-open {
  background: #ffffff;
  width: 900px;
  overflow-y: auto;
  height: 500px;
  padding: 0px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: black; 
} */

.close-button-inviteuser {
  position: absolute;
  top: 11px;
  right: 25px;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  color: #212121;
}

.tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #ccc;
  margin-bottom: 0px;
}

.tab-button {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: #555;
}

.tab-button.active-tab {
  font-weight: bold;
  color: #5894f7;
  border-bottom: 2px solid #5894f7;
}
.tab-content {
  flex-grow: 1; /* Allow content to grow and take up available space */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content vertically and horizontally */
  padding: 25px 75px 65px; /* Reduced top padding, kept left, right, and bottom the same */
  background-color: #f8fcff;
  color: #575757; /* Set text color */
}

.tab-content p {
  color: #575757; 
}

.tab-content textarea {
  color: #575757; 
}


.file-upload-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.file-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}



.btn-outline-primary {
display: inline-block;
height: 38px;
padding: 6px 10px;
font-weight: bold;
font-size: 13px;
color: #5894f7;
background-color: transparent;
border: 2px solid #5894f7;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
margin: 0 10px;
}
.invite-button {
  padding: 3px 30px;
  font-size: 16px;
  background: #1c2d8a;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.file-input {
display: none; /* Hides the default browser file input button */
}

.custom-file-upload {
display: inline-block;
padding: 6px 12px;
font-size: 14px;
font-weight: bold;
color: #fff;
background-color: #1c2d8a;
border: 2px solid #1c2d8a;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, color 0.3s ease;
text-align: left; /* Ensures text inside is left aligned */
margin-left: 0; /* Optional, in case there was any margin pushing it away from the left */
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  height: 75vh; /* Adjusted height */
  background-color: white;
  border-radius: 12px;
  box-shadow: 24px;
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 0px;
  padding-bottom: 15px;
  padding-top: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent; /* Set background to transparent */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: relative; /* Make the header a positioned container */
}

.modal-title {
  margin: 0;
  color: #333;
}

.modal-close-button {
  font-size: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #808080;
  position: absolute; /* Position it relative to .modal-header */
  top: 0px; /* Adjust the distance from the top */
  right: -5px; /* Adjust the distance from the right */
  z-index: 1000; /* Ensure the close button stays above other content */
}

.modal-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin: 0px;
  margin-bottom: 5px;
}

.form-label {
  font-weight: normal;
  color: #6C757D;
}

.form-control {
  height: 42px;
  /* background: white; */
}

.mt-2 {
  margin-top: -0.5rem !important; /* permissions little bit top*/
}
.permissions-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap; /* Allows items to wrap to the next line if there is not enough space */
gap: 16px; /* Adds space between the labels */
}
.permission-label {
display: flex;
align-items: center;
width: 150px; /* Set a fixed width for each label */
min-width: 120px; /* Optional: ensures labels are not too small */
justify-content: flex-start; /* Aligns the content to the start of the container */
}
.permission-label input {
margin-right: 8px; /* Adds space between the checkbox and the label text */
}
.invite-button-role {
  margin-top: 30px !important;
  width: 75% !important;
  background-color: #1C2D8A !important;
  text-transform: none; /* Prevent text from being uppercase */
  margin-bottom: 10px;
  border-radius: 6px;
}
.css-190s5aw {
  margin-top: 10px !important;
  margin-left: 47px !important;
  
}
.sidebar-Profile-box.small-avatar {
  width: 35px; /* Adjust as needed */
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-avatar-content {
  width: 30px !important; /* Adjust Avatar size */
  height: 30px !important;
  font-size: 12px !important; /* Adjust font size */
}

.imageDesign{
  width: 300px;
}

.truncated-title {
  min-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: start;
  margin: "0px";
  padding: "0px";
}

.align-items-center {
  align-items: center !important;
  padding-top: 5px !important; /* Adjust the value as needed */
}

/* .img,
svg {
  vertical-align: middle;
  margin-right: 15px; 
} */

.my-3 {
  margin-top: 0rem !important;
  margin-bottom: 1rem !important
}

.top-menu-list{
  display: flex;
  flex-direction: 'row';
  justify-content: 'flex-start';
  align-items: 'center';
  background-color: "transparent";
  /* max-width: 1000px;
  overflow-x: auto; */
}

.top-menu-list:hover{
  overflow-x: visible;
}


.card.form-builder-panel {
  margin-bottom: 10px !important;  /* Adjust the space between sections *//* Reduce internal padding */
}

.formbuilder .formarea {
  height: 79vh ;/* Take full height of parent */
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.builder-sidebar .btn {
  width: 100% !important;  /* Make the button take full width */
  max-width: 100% !important; /* Ensure it doesn’t get restricted */
  display: block !important; /* Make it behave like a block element */
  background-color: #ffffff !important;
  border-radius: 3px !important;
  font-weight: normal;
  color: #4A4444 !important;
  font-size: 12px;
  border: 1px solid #D9D9D9 !important;
}

.builder-sidebar .builder-group-button {
  background-color: #F7F9FF !important;
  font-weight: 700 !important;
  color: #4A4444 !important;
  font-size: 16px !important;
}


.builder-group-header .btn {
  width: 100% !important;  /* Make the button take full width */
  max-width: 100% !important; /* Ensure it doesn’t get restricted */
  display: block !important; /* Make it behave like a block element */
  background-color: #ffffff !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
  color: #4A4444 !important;
}

.builder-sidebar .card-body {
  background-color: #F7F7F7 !important; /* Light blue */
  padding: 10px !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
  border: 1px solid #F7F9FF !important;
}

.drag-and-drop-alert.alert.alert-info.no-drag {
  height: 75vh !important; /* Increase height */
  min-height: 100px !important; /* Prevent collapse */
  padding: 20px !important; /* Add spacing */
  font-size: 16px !important; /* Make text more readable */
  text-align: center !important;
  background-color: transparent !important;
  border-color: transparent !important;
}

.drag-container.formio-builder-form, .drag-container.formio-builder-form:hover, .panel-body>.drag-container.formio-builder-components, .panel-body>.drag-container.formio-builder-components:hover, .tab-pane>.drag-container.formio-builder-components, .tab-pane>.drag-container.formio-builder-components:hover {
  padding: 0 0 1rem 0;
  border: none;
  height: 75vh !important;
}

.builder-sidebar_scroll {
  /* position: sticky !important; */
  position: fixed !important;
  top: 108px !important;
  max-height: calc(100vh - 100px) !important;
  bottom: 0 !important;
  width: calc(30vw - 50px) !important;
  max-width: 15vw !important;
  left: 0 !important;
  overflow-y: auto !important;
}




/*for labels*/

.outlined-input {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  padding: 12px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
}

.input-field:focus {
  border-color: #5d87ff;
}

.input-label {
  position: absolute;
  top: 12px;
  left: 10px;
  font-size: 14px;
  color: #6c757d;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: white;
  padding: 0 5px;
}

.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: -8px;
  font-size: 12px;
  color: #5A607F;
  background-color: rgb(255, 255, 255);
}

.error-message {
  color: red;
  font-size: 12px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

/*sigin button*/
.createandsign {
  background-color: #1C2D8A !important;
}

.logoImage{
  width: 70%;
  height: 70%;
}
/*workflow create flow*/
.mr-2, .mx-2 {
  margin-right: 1.5rem !important;
}

.sidebar-dashboard-c {
  width: 600px;
  background-color: #ffffff;
  border-left: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: auto;
  right: -300px; /* Initially hidden */
  height: 100%;
  z-index: 1000;
  padding: 0px;
  display: flex;
  flex-direction: column;
  animation: slideInFromRight 0.3s ease-out forwards;
}
.custom-query-builder {
  border: 1px solid #d9e1ec;
  border-radius: 8px;
  background-color: #fff;
}
.custom-rule-group {
  margin: 8px;
  padding: 8px;
  border: 1px dashed #1C2D8A  !important;
}

.workflowbuttons {
  margin-top: 0.3rem !important;
}

/*hemburg*/
.css-aixiz9-MuiButtonBase-root-MuiIconButton-root {
  font-size: 1.5rem; 
  padding: 10px !important;
}

/* For Webkit browsers like Chrome, Safari, Edge */
.custom-scroll::-webkit-scrollbar {
  height: 6px; /* Set the height of the horizontal scrollbar */
}

/* Handle (the draggable part of the scrollbar) */
.custom-scroll::-webkit-scrollbar-thumb {
  background-color: #888; /* Set color of the scrollbar thumb */
  border-radius: 3px; /* Optional: Make the thumb rounded */
}

/* Track (the empty part of the scrollbar) */
.custom-scroll::-webkit-scrollbar-track {
  background: #f1f1f1; /* Set color of the track */
}

/* For Firefox */
.custom-scroll {
  scrollbar-width: thin; /* Set a thin scrollbar for Firefox */
  scrollbar-color: #888 #f1f1f1; /* thumb color and track color */
}


.formbuilder .formarea::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px; /* Width of the solid left border */
  height: 100%;
  
  z-index: 1; /* Ensure it appears above the dashed border */
}

.formbuilder .formarea::after {
  content: '';
  position: absolute;
  top: 0;
  left: 6px; /* Position after the solid border */
  width: 1px; /* Width of the dashed border */
  height: 100%;
  /* border-left: dashed 1px #1C2D8A; /* Dashed border on the left */
} */


.permissions-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  grid-gap: 10px;
  gap: 10px; /* Space between items */
  margin-top: 10px;
}

.permission-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.permission-label input {
  margin-right: 8px; /* Space between checkbox and label */
}
.mantine-1qybf08{
  background-color: #F7F9FF;
}
.mantine-vktjfm{
  background-color: #F7F9FF;
}
.mantine-ugfcki{
  background-color: #F7F9FF;
}

.blue-curve-ai {
  width: 6px; /* Adjust width for a thin vertical bar */
  height: 40px; /* Height of the curve (adjust as needed) */
  background-color: #1346b8; /* Blue color */
  border-top-right-radius: 10px; /* Curved top-right corner */
  border-bottom-right-radius: 10px; /* Curved bottom-right corner */
  margin-right: 10px; /* Space between the curve and heading */
  margin-top: 0px; /* Add top margin */
}
.formbuilder .formarea {
  border: none !important;
}


/* .my-2{
  margin-top: -0.5rem  !important;
    margin-bottom: .5rem !important

} */
.custom-margin {
  margin-right: 0.9rem !important;
}

.outlined-input {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.MuiOutlinedInput-root {
  border-radius: 8px !important;
}

.input-label {
  background-color: white !important;
  padding: 0 5px;
  color: #6c757d !important;
}

.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #5d87ff !important;
}
.Mui-focused .MuiInputLabel-outlined {
  color: #5A607F !important;
}

.css-a5sl54-MuiListItem-root {
  padding-left: 0px !important;
}
.css-134u7kc-MuiListItem-root {
  padding-left: 0px !important;
}
.css-1k80kex {
  min-width: 0px !important; 
}
/* styles/mantine-table.css */


/* Fix dropdown positioning */
/* .choices__list--dropdown, .choices__list[aria-expanded]{
   top: 650px !important;
  left: 100px !important;
} */


/* Fix dropdown positioning for all Form.io dropdowns */
/* .formio-component-select .choices__list--dropdown,
.formio-component-select .choices__list[aria-expanded] {
  position: fixed !important;
  z-index: 1002 !important;
  margin-top: 5px !important;
  width: auto !important;
  min-width: 200px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
} */

/* Specific fix for the attributes table dropdown */
.formio-component-datagrid .formio-component-select .choices__list--dropdown,
.formio-component-datagrid .formio-component-select .choices__list[aria-expanded] {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
}

.formbuilder .formio-component-content{
  max-width: 100vw !important;
  overflow: auto !important;
}

/* Fix for builder mode */
/* .formio-builder-form .choices__list--dropdown {
  z-index: 1100 !important;
} */



/* Loader.css */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .loader-image {
    width: 80px; /* Adjust size */
    height: 80px; /* Adjust size */
  }
  
