body.role-clinic,
body.role-student {
  background:
    linear-gradient(180deg, #f7fafc 0%, #eef3f7 54%, #f8fafc 100%) !important;
  color: #182230;
}

body.role-clinic main,
body.role-student main {
  padding-bottom: 56px;
}

body.role-clinic .main-title,
body.role-student .main-title {
  width: min(100% - 32px, 1180px);
  margin-left: auto !important;
  margin-right: auto !important;
  color: #101828 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 850 !important;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
}

body.role-clinic .subtitle,
body.role-student .subtitle {
  width: min(100% - 32px, 760px);
  margin-left: auto !important;
  margin-right: auto !important;
  color: #526071 !important;
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
}

body.role-clinic .match-container,
body.role-student .match-container,
body.role-clinic #main-content,
body.role-student #main-content,
body.role-clinic #notifications-root,
body.role-student #notifications-root,
body.role-clinic #notifications-messages,
body.role-student #notifications-messages {
  width: min(100% - 32px, 1180px);
  margin-left: auto;
  margin-right: auto;
}

body.role-clinic .match-card,
body.role-student .match-card,
body.role-clinic #notifications-root .list-group-item,
body.role-student #notifications-root .list-group-item,
body.role-clinic .profile-card,
body.role-student .profile-card {
  background: #ffffff !important;
  border: 1px solid #e3e9f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .07) !important;
}

body.role-clinic .match-card,
body.role-student .match-card {
  padding: 20px !important;
}

body.role-clinic .match-header,
body.role-student .match-header {
  gap: 14px;
}

body.role-clinic .match-name,
body.role-student .match-name {
  color: #101828 !important;
  font-weight: 850 !important;
  overflow-wrap: anywhere;
}

body.role-clinic .match-details,
body.role-student .match-details {
  color: #526071 !important;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body.role-clinic .match-actions,
body.role-student .match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subscription-container {
  width: min(100% - 32px, 1280px);
}

.subscription-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  align-items: stretch;
  gap: 18px !important;
}

.subscription-card {
  width: auto !important;
  min-width: 0 !important;
  border: 1px solid #e3e9f0 !important;
  border-radius: 8px !important;
}

.subscription-card.active {
  border-color: #fb7f29 !important;
}

.subscription-card .plan-name,
.subscription-card .plan-price {
  letter-spacing: 0 !important;
}

.appoinment-box,
#loginFormContainer,
#formContainer,
#roleSelectionContainer,
.contact-area .contact-form form,
.top-entry-area .item {
  border-radius: 8px !important;
}

.appoinment-box,
#loginFormContainer,
#formContainer,
#roleSelectionContainer {
  border: 1px solid rgba(5, 31, 73, .08) !important;
  box-shadow: 0 16px 40px rgba(5, 31, 73, .12) !important;
}

.appoinment-box .heading h2,
#loginFormContainer .heading h2,
#formContainer .heading h2,
#roleSelectionContainer .heading h2,
.contact-area .title {
  letter-spacing: 0 !important;
  line-height: 1.12 !important;
}

.contact-area .contact-form form {
  overflow: hidden;
}

@media (max-width: 760px) {
  body.home-page {
    padding-top: 58px !important;
  }

  body.home-page .banner-area.banner-style-two {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #ffffff !important;
  }

  body.home-page .banner-area.banner-style-two,
  body.home-page .banner-area.banner-style-two div {
    height: auto !important;
  }

  body.home-page .banner-area.banner-style-two .item {
    min-height: min(560px, calc(100svh - 58px)) !important;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center center !important;
  }

  body.home-page .banner-area.banner-style-two .box-table,
  body.home-page .banner-area.banner-style-two .box-cell {
    display: block !important;
    width: 100% !important;
  }

  body.home-page .banner-area.banner-style-two .double-items,
  body.home-page .banner-area.banner-style-two .content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  body.home-page .banner-area.banner-style-two .content {
    padding: 72px 0 !important;
  }

  body.home-page .department-tabs.default-padding {
    padding-top: 42px !important;
  }

  body.dashboard-page {
    padding-top: 58px !important;
  }

  body.dashboard-page .dc-dashboard-shell {
    padding-top: 14px !important;
  }

  body.role-clinic,
  body.role-student {
    padding-top: 58px !important;
  }

  body.role-clinic main,
  body.role-student main {
    margin-top: 18px !important;
    padding-top: 0 !important;
  }

  body.role-clinic main > .container,
  body.role-student main > .container,
  body.role-clinic .profile-container,
  body.role-student .profile-container {
    margin-top: 18px !important;
  }

  .dashboard-header {
    padding-top: 22px !important;
    padding-bottom: 18px !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  .subscription-container {
    margin-top: 18px !important;
  }

  body:not(.home-page) .banner-area {
    padding-top: 20px !important;
  }

  body.role-clinic .main-title,
  body.role-student .main-title,
  body.role-clinic .subtitle,
  body.role-student .subtitle,
  body.role-clinic .match-container,
  body.role-student .match-container,
  body.role-clinic #main-content,
  body.role-student #main-content,
  body.role-clinic #notifications-root,
  body.role-student #notifications-root,
  body.role-clinic #notifications-messages,
  body.role-student #notifications-messages {
    width: min(100% - 22px, 620px);
  }

  body.role-clinic .main-title,
  body.role-student .main-title {
    font-size: 1.9rem !important;
    text-align: left !important;
  }

  body.role-clinic .subtitle,
  body.role-student .subtitle {
    text-align: left !important;
    margin-bottom: 24px !important;
  }

  body.role-clinic .match-card,
  body.role-student .match-card {
    padding: 16px !important;
  }

  body.role-clinic .match-header,
  body.role-student .match-header,
  body.role-clinic .match-actions,
  body.role-student .match-actions {
    align-items: flex-start !important;
    flex-direction: column;
  }

  body.role-clinic .match-actions > *,
  body.role-student .match-actions > * {
    width: 100%;
  }

  body.role-clinic .table-responsive-mobile tbody tr td,
  body.role-student .table-responsive-mobile tbody tr td {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    text-align: left !important;
    padding: 10px 12px !important;
    position: static !important;
    overflow-wrap: anywhere;
  }

  body.role-clinic .table-responsive-mobile tbody tr td:before,
  body.role-student .table-responsive-mobile tbody tr td:before {
    position: static !important;
    left: auto !important;
    width: auto !important;
    color: #667085;
    font-size: .76rem;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .appoinment-box {
    width: min(100% - 22px, 620px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px !important;
  }

  #loginFormContainer,
  #formContainer,
  #roleSelectionContainer {
    padding: 0 !important;
  }

  .form-navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .form-navigation .btn,
  .appoinment-box button,
  .appoinment-box .btn {
    width: 100%;
  }
}
