@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@font-face {
  font-family: "Humanist521BTLight";
  src: url("../assets/webFonts/Humanist521BTLight/font.woff2") format("woff2"), url("../assets/webFonts/Humanist521BTLight/font.woff") format("woff");
}
:root {
  --primary-color: $purple;
  --primary-light: rgba(44, 36, 88, 0.1);
  --secondary-color: $green;
  --secondary-light: rgba(47, 186, 140, 0.1);
  --bs-light: $background;
  --purple: $purple;
  --bs-border-radius: 1rem;
  --bs-border-radius-sm: 0.5rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 1rem;
  --bs-border-radius-2xl: 1rem;
}

.nav {
  --bs-nav-link-color: $purple;
}

.nav-link:hover {
  color: #2c2458;
}

.text-primary {
  color: #2c2458 !important;
}

.bg-light-primary {
  background-color: rgba(44, 36, 88, 0.1) !important;
}

.bg-primary {
  background: #2c2458 !important;
}

.bg-secondary {
  background: #2fba8c !important;
}

.mw800 {
  max-width: 800px;
}

.card-shadow {
  box-shadow: rgba(112, 144, 176, 0.08) 14px 17px 40px 40px;
  background: #fff;
}

.mt-6 {
  margin-top: 5rem;
}

.mt-7 {
  margin-top: 7rem;
}

.mt-8 {
  margin-top: 10rem;
}

.mt-9 {
  margin-top: 15rem;
}

.mt-10 {
  margin-top: 20rem;
}

.mt24 {
  margin-top: 24px;
}

.mb-6 {
  margin-bottom: 5rem;
}

.mb-7 {
  margin-bottom: 7rem;
}

.mb-8 {
  margin-bottom: 10rem;
}

.mb-9 {
  margin-bottom: 15rem;
}

.mb-10 {
  margin-bottom: 20rem;
}

.mw-30 {
  max-width: 50px;
}

.hide-controls-until-hover .controls {
  display: none;
}
.hide-controls-until-hover:hover .controls {
  display: block;
}

html {
  font-size: 10px;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Humanist521BTLight";
}

h1:focus {
  outline: none;
}

.text-purple {
  color: #2c2458;
}

p {
  line-height: 2.4rem;
  padding-bottom: 20px;
}

.rte p {
  padding-bottom: 0px;
}

h1 {
  font-size: 3.5rem;
  color: #2c2458;
  padding-bottom: 10px;
  font-weight: bold;
}

h2 {
  font-size: 3rem;
  color: #2c2458;
  font-weight: bold;
}

h3 {
  font-size: 2.6rem;
  color: #2c2458;
  font-weight: bold;
}

h4 {
  font-size: 2.2rem;
  color: #2c2458;
  font-weight: bold;
}

h5 {
  font-size: 1.9rem;
  color: #2c2458;
}

h6 {
  font-size: 1.6rem;
  color: #2c2458;
}

.small-text {
  font-size: 70%;
}

.smaller-text {
  font-size: 60%;
}

.lh22 {
  line-height: 22px;
}

a, .btn-link {
  color: #2c2458;
  transition: 0.3s all ease-in-out;
}

.btn-primary {
  color: #ffffff;
  background-color: #2c2458;
  border-color: #2c2458;
  border-width: 2px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 25px;
  font-size: 1.2rem;
}
.btn-primary:hover {
  color: #2c2458;
  background-color: #ffffff;
  border-color: #2c2458;
}

.btn-outline-primary {
  border-color: #2c2458;
  color: #2c2458;
  border-radius: 25px;
}
.btn-outline-primary:hover {
  color: #ffffff;
  background-color: #2c2458;
  border-color: #2c2458;
}

.btn-red {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #dc3545;
  border-width: 2px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 25px;
  font-size: 1.2rem;
}
.btn-red:hover {
  color: #dc3545;
  background-color: #ffffff;
  border-color: #dc3545;
}

.btn-outline-red {
  border-color: #dc3545;
  color: #dc3545;
  border-radius: 25px;
}
.btn-outline-red:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-success {
  color: #ffffff;
  background-color: #2fba8c;
  border-color: #2fba8c;
  border-width: 2px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 25px;
  font-size: 1.2rem;
}
.btn-success:hover {
  color: #2fba8c;
  background-color: #ffffff;
  border-color: #2fba8c;
}

.btn-small-green {
  color: #ffffff;
  background-color: #2fba8c;
  border-color: #2fba8c;
  border-width: 2px;
  padding: 5px 10px;
  border-radius: 25px;
  font-size: 1rem;
}
.btn-small-green:hover {
  color: #2fba8c;
  background-color: #ffffff;
  border-color: #2fba8c;
}

.btn-secondary {
  color: #2c2458;
  background-color: #ffffff;
  border-color: #2c2458;
  border-width: 2px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 25px;
  font-size: 1.2rem;
}
.btn-secondary:hover {
  color: #ffffff;
  background-color: #2c2458;
  border-color: #2c2458;
}

.btn:disabled {
  background: #ccc;
  border-color: #999;
}

.btn-danger {
  color: #ffffff;
  border-width: 2px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 25px;
  font-size: 1.2rem;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #ffffff, 0 0 0 0.25rem #258cfb;
}

.btn {
  font-size: 1.4rem;
}

.btn:focus,
.btn:active,
.btn:hover,
.btn:active:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn-light {
  color: #2c2458;
  background-color: #E9E9E9;
  border-color: #E9E9E9;
}
.btn-light:hover {
  color: #ffffff;
  background-color: #2c2458;
  border-color: #2c2458;
}

body {
  font-size: 1.6rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  padding: 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  max-width: 300px;
}
.logo.center {
  margin-left: auto;
  margin-right: auto;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.icon-wrapper {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.dropdown-menu {
  min-width: 300px;
}

.dropdown-item {
  transition: all 0.2s ease-in-out;
}

.dropdown-item:hover {
  background-color: var(--bs-light);
}

main.account {
  max-width: 400px;
  margin: 0 auto;
}

main.account.wide {
  max-width: 750px;
}

.input {
  border-radius: 10px;
  font-size: 1.4rem;
}

.form-control {
  border-radius: 10px;
  font-size: 1.4rem;
}

.text-danger {
  padding: 1rem 0;
}

.alert-danger {
  border-radius: 5px;
}

.rightbarform {
  border-bottom: 5px solid #2c2458;
  padding-bottom: 15px;
  margin-bottom: 15px;
  background: #E9E9E9;
  padding: 2rem;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
  color: rgba(var(--bs-body-color-rgb), 0.65);
  transform: scale(0.85) translateY(-2rem) translateX(0.15rem);
}

.list-group-item.active {
  background-color: #2c2458;
  border-color: #2c2458;
}
.list-group-item.active .text-muted {
  color: #ffffff !important;
}
.list-group-item.active .nav-icon-wrapper {
  background-color: #ffffff !important;
}

.sidebar {
  background-color: #ffffff;
  border-right: 1px solid #edf2f7;
  padding-top: 0;
  min-height: 100vh;
  position: fixed;
  height: 100vh;
  max-height: 700px;
  overflow-y: auto;
  width: 200px;
}
.sidebar nav.nav {
  display: flex;
  flex-direction: column;
  height: calc(100% - 100px);
}
.sidebar .nav-item:nth-last-child(2) {
  border-top: 1px solid #E0E5F2;
  padding-top: 1rem;
  margin-top: auto;
}
.sidebar .nav-link {
  color: #666;
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  margin: 0.4rem 0;
  transition: all 0.2s ease;
}
.sidebar .nav-link i {
  width: 2.4rem;
  font-size: 1.6rem;
  margin-right: 1rem;
}
.sidebar .nav-link:hover {
  background-color: var(--primary-light);
  color: var(--secondary-color);
}
.sidebar .nav-link.active {
  color: #2c2458;
  background-color: var(--primary-light);
  font-weight: 500;
}
.sidebar .nav-link.active:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.nav-pills .nav-link {
  width: 4rem;
  height: 4rem;
  margin: 0 0.5rem;
  color: #2c2458;
  border: 0.1rem solid #2c2458;
}

.nav-pills .nav-link:hover {
  background-color: rgba(111, 66, 193, 0.1); /* Bootstrap $purple with opacity */
}

.nav-pills .nav-link.active,
.nav-pills .nav-link.active:hover {
  background-color: #2c2458;
  color: white;
}

.nav-pills .nav-link i {
  font-size: 1.6rem;
}

.list-filter {
  height: 80px;
  background: #ffffff;
}
.list-filter ul {
  list-style-type: none;
  position: relative;
  z-index: 10;
}
.list-filter ul > li {
  position: relative;
  height: 50px;
  float: left;
  width: 200px;
}
.list-filter ul > li label {
  position: absolute;
  left: 30px;
  top: 14px;
  font-size: 1.2rem;
  color: #999;
  z-index: 2;
  z-index: 11;
  font-weight: bold;
}
.list-filter ul > li label span {
  display: block;
  padding: 5px 0;
  color: #2c2458;
  max-height: 45px;
  overflow: hidden;
  position: relative;
  padding-right: 20px;
}
.list-filter ul > li label span.overflowing::after {
  content: " +";
  position: absolute;
  right: 0;
  color: #2fba8c;
  pointer-events: none;
}
.list-filter ul > li ul {
  position: absolute;
  margin-top: 10px;
  width: 200px;
  border-radius: 25px;
  background: #F4F7FE;
  max-height: 500px;
  overflow-y: auto;
}
.list-filter ul > li ul li {
  display: none;
  width: 100%;
  height: auto;
  padding: 5px 0;
}
.list-filter ul > li ul li label {
  text-decoration: none;
  color: #2c2458;
  font-size: 1.4rem;
  padding: 5px 10px 5px 10px;
  display: block;
  position: relative;
  font-weight: 400;
  left: 0;
  top: 0;
  cursor: pointer;
}
.list-filter ul > li ul li input {
  display: none;
}
.list-filter ul > li ul li input[type=checkbox]:checked + label {
  font-weight: bold;
  position: relative;
}
.list-filter ul > li ul li input[type=checkbox]:checked + label:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2fba8c;
  position: absolute;
  left: -10px;
  top: 10px;
}
.list-filter ul > li:hover:not(.textinput) label {
  display: none;
}
.list-filter ul > li:hover:not(.textinput) ul li {
  display: block;
}
.list-filter ul > li:hover:not(.textinput) ul li label {
  display: block;
}
.list-filter ul > li.textinput input {
  margin-top: 35px;
  position: relative;
  left: 25px;
  width: 140px;
  font-size: 1.2rem;
  color: #2c2458;
}
.list-filter ul > li.med-filter {
  width: 175px;
}
.list-filter ul > li.med-filter ul {
  width: 175px;
}
.list-filter ul > li.small-filter {
  width: 100px;
}
.list-filter ul > li.small-filter ul {
  width: 100px;
}
.list-filter.alphabet-filter {
  height: auto;
  min-height: 80px;
}
.list-filter.alphabet-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  height: auto;
}
.list-filter.alphabet-filter ul li {
  list-style: none;
  height: auto;
  width: auto;
  float: none;
}
.list-filter.alphabet-filter ul li button {
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
}

.list-container {
  position: relative;
  overflow-x: auto;
}
.list-container table {
  width: 100%;
  border-collapse: collapse;
}
.list-container table thead tr th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #e9ecef;
  box-shadow: none !important;
  background: none;
}
.list-container table tbody .list-row {
  background-color: #ffffff;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: background-color 0.2s ease;
  /* Avatar */
  /* Name and ID */
  /* Status Badge */
  /* Dot Indicators */
  /* Additional Fields */
}
.list-container table tbody .list-row:hover {
  background-color: #f8f9fa;
}
.list-container table tbody .list-row td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-bottom: none;
  box-shadow: none !important;
  font-size: 1.4rem;
  background: none;
}
.list-container table tbody .list-row .avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #e9ecef;
}
.list-container table tbody .list-row .avatar-initials {
  width: 100%;
  height: 100%;
  font-weight: bold;
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.list-container table tbody .list-row .avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-container table tbody .list-row .list-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
}
.list-container table tbody .list-row .list-id {
  font-size: 0.85rem;
  color: #6c757d;
}
.list-container table tbody .list-row .badge {
  font-size: 1.4rem;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  color: #ffffff;
  display: inline-block;
  text-align: center;
}
.list-container table tbody .list-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.list-container table tbody .list-row .additional-field {
  font-size: 0.9rem;
  color: #6c757d;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.toast-message {
  padding: 1rem 1.5rem;
  margin: 0.5rem;
  border-radius: 10px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background-color: #48bb78;
}

.toast-error {
  background-color: #f56565;
}

.toast-info {
  background-color: #4299e1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.page-profile .profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 25px;
}
.page-profile .initials-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
  color: white;
  font-weight: 500;
  width: 150px;
  height: 150px;
  font-size: 40px;
}

.blade {
  background: #F5F5F5;
  position: relative;
  padding-left: 60px;
  padding-top: 60px;
}
.blade .nav {
  background: #E9E9E9;
  position: absolute;
  left: 0;
  top: 55px;
  height: 100%;
  width: 60px;
  display: block;
  padding: 0px;
}
.blade .nav li {
  width: 60px;
  background: none;
  border: none;
  border-bottom: 1px solid #ccc;
}
.blade .nav li button {
  font-size: 2rem;
  padding: 15px;
  color: #2c2458;
  display: block;
  text-align: center;
  width: 100%;
}
.blade .nav li button.active {
  background: #2c2458;
  color: #ffffff;
}
.blade .nav li button:hover {
  background: #2fba8c;
  color: #ffffff;
}
.blade .blade-title {
  line-height: 50px;
  background: #2c2458;
  color: #ffffff;
  position: absolute;
  top: 0;
  left: 0px;
  padding-left: 80px;
  width: 100%;
}

.editable-field label {
  color: #ccc;
  font-size: 1.4rem;
}

.header-section {
  padding: 20px;
}

.header-section .inner {
  padding: 1.2rem 1.5rem;
  width: 100%;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.breadcrumb {
  margin: 0;
}

.breadcrumb-item {
  color: #666;
}

.breadcrumb-item.active {
  color: #2c2458;
}

.search-box {
  position: relative;
  margin-right: 1.5rem;
}

.search-box input {
  background-color: #ffffff;
  border: 1px solid #E0E5F2;
  border-radius: 3rem;
  padding: 1rem 1rem 1rem 4rem;
  font-size: 1.4rem;
  width: 30rem;
}

.search-box input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px var(--secondary-light);
}

.search-box i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #A3AED0;
  font-size: 1.6rem;
}

.profile-image {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1rem;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.cv-item {
  transition: all 0.2s ease-in-out;
}

.cv-item:hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.cv-item.expanded {
  border-color: var(--purple);
}

.cv-item .btn-group {
  opacity: 0.5;
  transition: opacity 0.2s ease-in-out;
}

.cv-item:hover .btn-group {
  opacity: 1;
}

.ql-editor {
  padding: 10px;
}

.expanded-content {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-check-input.custom-toggle {
  background-color: #F4F7FE;
  border-color: #F4F7FE;
  width: 3.5rem;
  height: 1.8rem;
}

.form-check-input.custom-toggle:checked {
  background-color: #2c2458;
  border-color: #2c2458;
}

.form-check-input.custom-toggle:focus {
  border-color: #2c2458;
  box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

.cvitem-actions {
  min-width: 142px;
}

.cvmodal {
  max-width: 800px;
}
.cvmodal .badge {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: rgb(235.0632911392, 139.9367088608, 149.0506329114);
  line-height: 21px;
}

.application-card {
  background-color: white;
  position: relative;
  cursor: pointer;
}
.application-card .hover-text {
  position: absolute;
  right: 150px;
  font-size: 1.4rem;
  font-weight: bold;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
}
.application-card:hover .hover-text {
  display: block !important;
}
.application-card:hover a:hover ~ .hover-text,
.application-card:hover a:hover + .hover-text {
  display: none !important;
}
.application-card a {
  font-size: 1.4rem;
  margin: 0;
  color: #666;
  text-decoration: none;
  background-color: white;
  border-radius: 20px;
  position: relative;
  padding: 5px 10px;
}
.application-card a:hover ~ .hover-text {
  display: none !important;
}
.application-card .list-name {
  padding-right: 20px;
}
.application-card .list-name a {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
  color: #000000;
  text-decoration: none;
}
.application-card .list-second {
  padding-right: 20px;
}
.application-card .list-second a {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
  text-decoration: none;
}

.status-circle {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border-radius: 50%;
  background-color: #e9ecef;
}

.status-dot.green {
  background-color: var(--bs-success);
}

.status-dot.red {
  background-color: var(--bs-danger);
}

.status-text {
  width: 80px;
  text-align: center;
  color: var(--bs-gray-600);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  z-index: 1100;
  font-size: 1.4rem;
}

.timeline-header {
  background: #2c2458;
  color: #ffffff;
}
.timeline-header h3, .timeline-header h4, .timeline-header h5, .timeline-header h6 {
  color: #ffffff;
}
.timeline-header .btn-close {
  position: absolute;
  top: 20px;
  right: 20px;
}
.timeline-header .progress-dots {
  background: rgb(62.0967741935, 50.8064516129, 124.1935483871);
}
.timeline-header .progress-dots .status-dot {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
}

.time-line-modal-body {
  background: #f3f3f3;
}

.timeline {
  padding-top: 30px;
}
.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background-color: #ccc;
  z-index: 0;
}
.timeline .timeline-item {
  position: relative;
  margin-bottom: 15px;
}
.timeline .timeline-item .timeline-marker {
  width: 16px;
  height: 16px;
  top: 50%;
  left: 4px;
  margin-top: -8px;
  background: #ccc;
  position: absolute;
}
.timeline .timeline-item .timeline-info {
  border-radius: 5px;
  padding: 5px 10px;
  background: #E9E9E9;
  margin-left: 30px;
}
.timeline .timeline-item.placement .timeline-info {
  background: rgb(236.2903225806, 234.4193548387, 246.5806451613);
}

.slide-panel {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  background-color: #E9E9E9;
  padding: 0 1rem;
}
.slide-panel.open {
  height: auto;
  padding: 1rem;
}

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background-color: #E9E9E9;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

.application-card {
  cursor: pointer;
  transition: all 0.2s ease;
}
.application-card:hover {
  background-color: #E9E9E9;
}

.calendar-table th,
.calendar-table td {
  width: 14.2857142857%; /* Divide evenly across 7 days */
  max-width: 14.2857142857%; /* Ensure columns don't grow beyond this width */
  min-width: 14.2857142857%; /* Prevent shrinking below this width */
  text-align: left; /* Align text to the left for consistency */
  vertical-align: top; /* Align content to the top */
  word-wrap: break-word; /* Ensure long text wraps within the cell */
  overflow-wrap: break-word; /* Modern alternative for word wrapping */
}

.calendar-table.week-view th, .calendar-table.week-view td,
.calendar-table.day-view th,
.calendar-table.day-view td {
  min-width: 100px;
}
.calendar-table.week-view .day-column,
.calendar-table.day-view .day-column {
  width: 14.2857142857%; /* Equal width for all days */
  text-align: center;
}
.calendar-table.week-view .week-cell, .calendar-table.week-view .day-cell,
.calendar-table.day-view .week-cell,
.calendar-table.day-view .day-cell {
  height: auto;
  min-height: 150px;
  vertical-align: top;
}

.calendar-table.day-view td {
  width: auto;
  max-width: none;
}

.event-item {
  padding: 5px;
  margin: 5px 0;
  font-size: 1rem;
  text-align: left;
  overflow-wrap: break-word;
  position: relative;
}
.event-item.startdate {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.event-item.enddate {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}
.event-item.cancelled {
  position: relative;
  opacity: 0.4;
}
.event-item.cancelled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 48%, red 48%, red 52%, transparent 52%);
  pointer-events: none;
  opacity: 0.7;
}

.event-item i.fa-lock {
  margin-right: 5px;
}

.calendar-cell {
  height: 120px; /* Adjust as needed */
  vertical-align: top;
  overflow: hidden;
}
.calendar-cell.today {
  background-color: #eee;
}
.calendar-cell.past .event-item {
  opacity: 0.5;
}

.event-initials {
  font-weight: bold;
  font-size: 0.75rem;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 2px 5px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.calendar-header {
  display: flex;
  justify-content: space-between; /* Spread items evenly with space between */
  align-items: center; /* Vertically align items */
  padding: 10px; /* Add some padding */
  margin-bottom: 15px;
  background-color: #f8f9fa; /* Light background for header */
  border: 1px solid #dee2e6; /* Optional: Border around header */
  border-radius: 5px; /* Rounded corners */
}
.calendar-header .calendar-date-navigation {
  display: flex;
  align-items: center;
  gap: 5px; /* Space between elements */
}
.calendar-header .calendar-date-navigation h3 {
  margin: 0; /* Remove default margin */
  font-size: 1.5rem; /* Adjust font size */
  color: #343a40; /* Dark color for text */
  white-space: nowrap; /* Prevent wrapping */
}
.calendar-header .calendar-date-navigation button {
  padding: 0 5px;
  font-weight: normal;
  text-decoration: none;
}
.calendar-header .calendar-date-navigation button:hover {
  text-decoration: underline;
}
.calendar-header .view-toggle .btn-group .btn {
  min-width: 80px;
}

.view-toggle .btn-group .btn {
  min-width: 80px;
}

.calendar-header button {
  font-size: 1rem; /* Adjust button text size */
  padding: 8px 12px; /* Adjust button padding */
  border-radius: 5px; /* Rounded corners for buttons */
}

.date-card.cancelled {
  position: relative;
  opacity: 0.4;
}
.date-card.cancelled::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 48%, red 48%, red 52%, transparent 52%);
  pointer-events: none;
  opacity: 0.7;
}

.date-card {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 1rem;
  width: 100%;
  background-color: #F4F7FE;
  margin-bottom: 1.5rem;
  position: relative;
}
.date-card .event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  color: #2c2458;
  border-radius: 0.4rem;
  padding: 1rem 1.5rem;
  margin-right: 1.5rem;
}
.date-card .event-date .event-day {
  font-size: 1.2rem;
  font-weight: bold;
}
.date-card .event-date .event-number {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}
.date-card .event-initials {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  color: #2c2458;
  border-top-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  right: 0;
}
.date-card .event-details {
  display: flex;
  flex-direction: column;
}
.date-card .event-details .event-title {
  font-size: 1.4rem;
  color: #2c2458;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.date-card .event-details .event-title i {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #2c2458;
}
.date-card .event-details .event-time,
.date-card .event-details .event-location {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: #8694B3;
  margin-bottom: 0.25rem;
}
.date-card .event-details .event-time i,
.date-card .event-details .event-location i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #2c2458;
}
.date-card.self {
  background-color: #2c2458;
}
.date-card.self .event-details .event-title {
  color: #ffffff;
}
.date-card.self .event-details .event-title i {
  color: #ffffff;
}
.date-card.self .event-details .event-time,
.date-card.self .event-details .event-location {
  color: #ffffff;
}
.date-card.self .event-details .event-time i,
.date-card.self .event-details .event-location i {
  color: #ffffff;
}
.date-card.someone-elses-task .event-date, .date-card.someone-elses-task .event-title, .date-card.someone-elses-task .event-description, .date-card.someone-elses-task .event-time {
  opacity: 0.5;
}
.date-card.overdue {
  background-color: rgb(250.1265822785, 226.8734177215, 229.1012658228);
}
.date-card.overdue .event-date {
  color: #dc3545;
}

.info-card {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 1rem;
  width: 100%;
  background-color: #F4F7FE;
  margin-bottom: 1.5rem;
}
.info-card .info-card-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  background-color: #E9E9E9;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-right: 1rem;
}
.info-card .info-card-avatar .initials-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  font-size: 1.6rem;
}
.info-card .info-card-avatar .profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.info-card .info-card-details {
  flex: 1;
}
.info-card .info-card-details .info-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2c2458;
}
.info-card .info-card-details .info-card-title .info-card-subtitle {
  font-size: 1.2rem;
  color: #8694B3;
  margin-left: 0.5rem;
}
.info-card .info-card-details .info-card-content {
  font-size: 1.2rem;
  color: #666;
}
.info-card .info-card-details .info-card-content i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  color: #2c2458;
}
.info-card .info-card-details .info-card-content .label {
  font-weight: bold;
  color: #999;
  margin-right: 0.3rem;
}

.info-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 8px;
}
.info-card-link:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.note-list {
  list-style-type: none;
  text-indent: 0;
  padding: 0;
}
.note-list li {
  margin-top: 1rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem;
}
.note-list li p {
  white-space: pre-line;
}

.note-list {
  list-style-type: none;
  padding: 0;
}
.note-list li {
  margin: 1rem 0;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.note-list li .d-flex {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.note-list li p {
  white-space: pre-line;
  margin: 0 0 1rem 0;
}
.note-list li .btn {
  margin-top: 1rem;
}
.note-list li .controls {
  display: none;
}
.note-list li:hover .controls {
  display: block;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
}
.accordion-item .accordion-header .accordion-button {
  border-radius: 1rem;
  background-color: #f8f9fa;
  border: none;
}
.accordion-item .accordion-header .accordion-button:focus {
  box-shadow: none;
}
.accordion-item .accordion-body {
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}
.accordion-item .accordion-body p {
  margin: 0 0 1rem 0;
}
.accordion-item .accordion-body .btn {
  margin-top: 1rem;
}

.az-filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
}
.az-filter .filter-letter {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.5rem;
  margin: 0.2rem 0;
  cursor: pointer;
  border-radius: 0.25rem;
  text-align: center;
  width: 100%;
}
.az-filter .filter-letter:hover {
  background-color: #e2e6ea;
}
.az-filter .filter-letter.active {
  background-color: #007bff;
  color: white;
}

.contacts-directory .contact-group {
  margin-bottom: 2rem;
}
.contacts-directory .contact-group h3 {
  font-size: 1.5rem;
  font-weight: bold;
}
.contacts-directory .contact-group h4 {
  font-size: 1.3rem;
  font-weight: bold;
}
.contacts-directory .contact-group h5 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}
.contacts-directory .contact-group .list-card {
  margin-bottom: 1rem;
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  border-bottom: solid 2px #E9E9E9;
}

.sticky-preview {
  position: sticky;
  top: 90px;
  z-index: 100;
}

.preview-container {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
}
.preview-container .text-center {
  margin-top: 2rem;
}

.contact-items-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 5rem 0;
}
.contact-items-list li {
  padding: 0.5rem 5rem 0.5rem 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  border-left: 6px solid #ffffff;
  border-bottom: 1px solid #E9E9E9;
}
.contact-items-list li.primary-contact-item {
  border-left: 6px solid #2c2458;
}
.contact-items-list li strong {
  font-size: 1.2rem;
}
.contact-items-list li i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  color: #2c2458;
}
.contact-items-list li .delete {
  color: #dc3545;
  right: 3.5rem;
}
.contact-items-list li .edit-form {
  display: flex;
  flex-direction: column;
}
.contact-items-list li .edit-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.contact-items-list li .edit-form .form-select,
.contact-items-list li .edit-form .form-control {
  margin-bottom: 1rem;
  width: 100%;
}
.contact-items-list li .edit-form .form-check {
  margin-bottom: 1rem;
}
.contact-items-list li .edit-form .btn {
  margin-top: 0.5rem;
}
.contact-items-list li .edit-icon {
  cursor: pointer;
  color: #007bff;
  margin-left: 0.5rem;
}
.contact-items-list li .contact-link,
.contact-items-list li .contact-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.contact-items-list li .badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}

.contact-card {
  background: #ffffff;
  position: relative;
}

.sort-controls-absolute {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10;
}
.sort-controls-absolute .sort-btn {
  width: 2rem;
  height: 2rem;
  border: none;
  background: #f8f9fa;
  color: #6c757d;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sort-controls-absolute .sort-btn:hover:not(:disabled) {
  background: #e9ecef;
  color: #495057;
}
.sort-controls-absolute .sort-btn:disabled {
  background: #f8f9fa;
  color: #dee2e6;
  cursor: not-allowed;
}
.sort-controls-absolute .sort-btn i {
  font-size: 0.75rem;
}

.contact-card .contact-header .d-flex {
  gap: 0.5rem;
}

.editable-field {
  padding-bottom: 13px;
}
.editable-field label {
  color: #999;
  font-weight: bold;
}

.consultant-select.editable-field .editable-field {
  margin-bottom: 1rem;
}
.consultant-select.editable-field .editable-display {
  cursor: pointer;
  padding: 0.375rem 0;
  min-height: 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
}
.consultant-select.editable-field .editable-display:hover:not(.disabled) {
  background-color: rgba(0, 0, 0, 0.05);
}
.consultant-select.editable-field .editable-display.disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.multi-relations.editable-field .dropdown-item {
  max-width: 90%;
}
.multi-relations.editable-field .editable-display {
  cursor: pointer;
  padding: 0.375rem 0;
  min-height: 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
}
.multi-relations.editable-field .editable-display:hover:not(.disabled) {
  background-color: rgba(0, 0, 0, 0.05);
}
.multi-relations.editable-field .editable-display.disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.multi-relations.editable-field .multiselect-label {
  padding: 5px;
}
.multi-relations.editable-field .multiselect-check {
  margin: 5px;
}
.multi-relations.editable-field .dropdown-menu {
  padding: 0;
}
.multi-relations.editable-field .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.multi-relations.editable-field .dropdown-item label {
  color: #333;
}
.multi-relations.editable-field .dropdown-menu-content {
  padding: 0.5rem 0;
}
.multi-relations.editable-field .selected-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90%;
}
.multi-relations.editable-field .dropdown-menu.show {
  display: block;
  width: 100%;
  position: absolute;
  inset: 0px auto auto 0px;
  margin: 0px;
  transform: translate(0px, 40px);
}
.multi-relations.editable-field .dropdown-toggle {
  white-space: normal;
  min-height: 38px;
}

.multi-select.editable-field {
  cursor: pointer;
  min-height: 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease-in-out;
}
.multi-select.editable-field .dropdown-item {
  max-width: 90%;
}
.multi-select.editable-field .editable-display:hover:not(.disabled) {
  background-color: rgba(0, 0, 0, 0.05);
}
.multi-select.editable-field .editable-display.disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.multi-select.editable-field .multiselect-label {
  padding: 5px;
}
.multi-select.editable-field .multiselect-check {
  margin: 5px;
}
.multi-select.editable-field .dropdown-menu {
  padding: 0;
}
.multi-select.editable-field .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.multi-select.editable-field .dropdown-item label {
  color: #333;
}
.multi-select.editable-field .dropdown-menu-content {
  padding: 0.5rem 0;
}
.multi-select.editable-field .selected-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90%;
}
.multi-select.editable-field .dropdown-menu.show {
  display: block;
  width: 100%;
  position: absolute;
  inset: 0px auto auto 0px;
  margin: 0px;
  transform: translate(0px, 40px);
}
.multi-select.editable-field .dropdown-toggle {
  white-space: normal;
  min-height: 38px;
}

.text-area.editable-field .editable-display p {
  white-space: pre-line;
}
.text-area.editable-field .editable-display pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}
.text-area.editable-field .input-group textarea {
  min-height: 100px;
  resize: vertical;
}

.editable-display {
  cursor: pointer;
  word-wrap: break-word;
}

.editable-display .text-muted {
  color: #2c2458 !important;
  opacity: 0.2;
}

.dynamic-select-save {
  border-radius: 0;
  text-align: center;
  font-weight: bold;
  margin: 0;
  color: #fff;
  height: 31px;
  background: #2fba8c;
}
.dynamic-select-save.list {
  border-radius: 3px;
}
.dynamic-select-save:hover {
  background: rgb(36.7124463519, 145.2875536481, 109.356223176);
  color: #fff;
}
.dynamic-select-cancel {
  border-radius: 0 10px 10px 0;
  text-align: center;
  margin: 0;
  font-weight: bold;
  color: #fff;
  height: 31px;
  background: #dc3545;
}
.dynamic-select-cancel:hover {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  color: #fff;
}
.dynamic-select-cancel.list {
  margin-right: 20px;
  border-radius: 3px;
}

.floating-save {
  position: absolute;
  bottom: 10px;
  right: 10px;
}
.floating-save .dynamic-select-save {
  border-radius: 10px 0 0 10px;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  z-index: 10;
}
.form-check-input:checked {
  background-color: #2fba8c;
  border: 0;
}

.attachmentsAccordion .accordion-button {
  font-size: 1.4rem;
  font-weight: bold;
  color: #000000;
}
.attachmentsAccordion .list-group-item {
  border: none;
  border-bottom: 2px solid #E9E9E9;
  padding: 1rem 0;
  border-radius: 0;
}
.attachmentsAccordion .list-group-item button {
  text-align: left;
  color: #666;
  text-decoration: none;
  padding: 0;
}

.jobitem {
  position: relative;
}
.jobitem .controls {
  position: absolute;
  top: 0;
  right: 0;
}

/*# sourceMappingURL=app.css.map */
