:root {
  --softGray: #F4F4F4;
  --textGray: #ACACAC;
  --declarationActive: #3D8BCC;
}

/* Sticky footer: body is min-vh-100 (d-flex flex-column); main grows so the
   footer (body-level sibling) is pushed to the bottom on short pages, while the
   body background still covers the full content height on long pages. */
body.d-flex.flex-column > #main { flex-grow: 1; }

.payment-selection {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #ffffff;
  min-height: 80px;
}

.payment-option:hover {
  background-color: #f5f5f5;
  border-color: #cccccc;
}

.payment-option.payment-selected {
  border: 2px solid var(--declarationActive);
  background-color: #f0f8ff;
}

.cursor-pointer {
  cursor: pointer;
}

.payment-image {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .payment-selection {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .payment-option {
    min-height: 70px;
  }
}

.btn-action.disabled, .btn-action:disabled {
  opacity: 0.5;
}

.expert.bg-active-blue {
  background-color: #EFF7FF !important;
}

.service.bg-active-blue {
  background-color: #EFF7FF !important;
}

.avatar-initials {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--softGray);
  color: var(--textGray);
  font-size: 0.857rem;
  font-weight: 500;
  line-height: 1;
}

.code-display-code {
  font-size: 86px;
  height: 86px;
  line-height: 86px;
  transition-delay: 250ms;
}

.ph-item {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 30px 15px 15px 15px;
  margin-bottom: 30px;
  overflow: hidden;
  /* direction: ltr; */
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
}

.ph-item-filter {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  /* direction: ltr; */
  border-radius: 2px;
}

.ph-item,
.ph-item *,
.ph-item ::after,
.ph-item ::before {
  box-sizing: border-box;
}

.ph-item-filter,
.ph-item-filter *,
.ph-item-filter ::after,
.ph-item-filter ::before {
  box-sizing: border-box;
}

.ph-item-filter::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 500%;
  margin-left: -250%;
  pointer-events: none;
  content: " ";
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;
  -webkit-animation: ph-animation 0.8s linear infinite;
  animation: ph-animation 0.8s linear infinite;
}

.ph-item::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 500%;
  margin-left: -250%;
  pointer-events: none;
  content: " ";
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;
  -webkit-animation: ph-animation 0.8s linear infinite;
  animation: ph-animation 0.8s linear infinite;
}
.ph-item > * {
  display: flex;
  flex: 1 1 auto;
  flex-flow: column;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 15px;
}

.ph-item-filter > * {
  display: flex;
  flex: 1 1 auto;
  flex-flow: column;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 15px;
}

.ph-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: -7.5px;
}
.ph-row div {
  height: 10px;
  margin-top: 7.5px;
  background-color: #ced4da;
}
.ph-row .big, .ph-row.big div {
  height: 20px;
}
.ph-row .empty {
  background-color: rgba(255, 255, 255, 0);
}

.ph-col-2 {
  flex: 0 0 16.6666666667%;
}

.ph-col-4 {
  flex: 0 0 33.3333333333%;
}

.ph-col-6 {
  flex: 0 0 50%;
}

.ph-col-8 {
  flex: 0 0 66.6666666667%;
}

.ph-col-10 {
  flex: 0 0 83.3333333333%;
}

.ph-col-12 {
  flex: 0 0 100%;
}

[class*=ph-col] {
  direction: ltr;
}
[class*=ph-col] > * + .ph-row {
  margin-top: 0;
}
[class*=ph-col] > * + * {
  margin-top: 7.5px;
}

.ph-avatar {
  position: relative;
  width: 100%;
  min-width: 60px;
  overflow: hidden;
  background-color: #ced4da;
  border-radius: 50%;
}
.ph-avatar::before {
  display: block;
  padding-top: 100%;
  content: " ";
}

.ph-picture {
  width: 100%;
  height: 120px;
  background-color: #ced4da;
}

.ph-filter {
  width: 100%;
  height: 40px;
  background-color: #ced4da;
}

@-webkit-keyframes ph-animation {
  0% {
    transform: translate3d(-30%, 0, 0);
  }
  100% {
    transform: translate3d(30%, 0, 0);
  }
}

@keyframes ph-animation {
  0% {
    transform: translate3d(-30%, 0, 0);
  }
  100% {
    transform: translate3d(30%, 0, 0);
  }
}

.form-content .input-group {
  background-color: transparent !important;
}

.declarations .declaration-list .item.active {
  color: #fff;
  background-color: var(--primary);
}

.form-check-input:checked {
  background-color: var(--brandBlue);
  border-color: var(--brandBlue);
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0;
  margin-right: 0.75rem;
  border: 2px solid var(--brandBlue);
  flex-shrink: 0;
  align-self: start;
}


/*.form-check-label{position:relative;padding:5px 0 5px 30px;margin:3px 0;display:inline-block;}
.form-check-label .form-check-input{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}
.form-check-label span{position:relative;margin:0;line-height:18px;font-size:14px;}
.form-check-label span:before{content:'';position:absolute;width:18px;height:18px;background:var(--shades01);border:2px solid var(--shades04);top:50%;left:-24px;transform:translateY(-50%);border-radius:4px}
.form-check-label span:after{content:"\f00c";position:absolute;font-family:"Font Awesome 6 Pro";width:18px;height:18px;top:50%;left:-24px;transform:translateY(-50%);font-weight:600;font-size:14px;display:none;color:var(--shades01);text-align:center}
.form-check-label .form-check-input:checked ~ span:after{display:block}
.form-check-label .form-check-input:checked ~ span:before{border-color:var(--primary);background:var(--primary);}
.form-check-label .form-check-input:disabled{cursor: not-allowed;}
.form-check-label .form-check-input:disabled ~ span:after{color: var(--primary) !important}
.form-check-label .form-check-input:disabled ~ span:before{border-color:var(--shades04);background:var(--shades04);}
.form-check-label .checkbox-link{position: relative; z-index: 2; text-decoration: underline; color: var(--primary);}*/

.nav > li.form-indicator .nav-link:after{content:''; position: absolute;width: 6px;height: 6px;background-color: var(--colorDanger);border-radius: 50%;top: 12px;right: 10px;}

.nav > li.form-indicator {position: relative}

.login-section .invalid-feedback {
  height: 20px;
}

.flag-icon {
    border: 1px solid rgba(61, 140, 204, 0.5450980392);
    border-radius: 50%;
    transition: box-shadow 0.2s ease;
}
.flag-icon:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.lang-list-wrapper {
    flex-wrap: wrap;
    row-gap: 5px;
}

@media (max-width: 1440px) {
    .booking-doctors .doctors .doctors-title {
        display: flex !important;
        flex-flow: wrap !important;
        row-gap: 5px !important;
        column-gap: 10px !important;
        margin-bottom: 10px !important;
    }
}

.booking-selection .modal-dialog {
    max-width: 600px !important;
}

.booking-modal-header {
    display: block !important;
    padding: 20px 30px !important;
}

.booking-modal-body {
    padding: 0;
}

.booking-modal-body {
    max-height: 400px;
    overflow-y: scroll;
}

@media (max-width: 600px) {
    .role-card {
        padding: 16px 20px !important;
    }
    .booking-modal-header {
        padding: 20px 20px !important;
    }
}
.booking-modal-button {
    color: #fff;
    background-color: #3D8BCC;
    border: none;
}

.booking-modal-button:hover {
    color: #fff;
    background-color: rgba(61, 140, 204, 0.9176470588);
    border: none;
}

.booking-columns-row {
    display: flex;
    justify-content: space-between;
}

.role-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.role-card:hover {
    background-color: #f5f5f5;
}

.origin-card {
    background-color: #e3f2fd;
}

.takeover-card {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

.role-info {
    flex: 1;
}

.role-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
}

.role-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    line-height: 1.3;
}

.role-arrow {
    color: #3d8bcc;
    font-size: 18px;
    margin-left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filters .btn-modal.btn-modal--invalid:after { display: none; }

.btn-modal-invalid-clear {
    background: transparent;
    transition: background-color 0.15s ease;
}
.btn-modal-invalid-clear:hover,
.btn-modal-invalid-clear:focus-visible {
    background-color: rgba(var(--colorWarning-rgb), 20%);
    outline: none;
}