.filter-select select {
    height: 50px !important;
}

.pricing-group > .col-xl-4,
.pricing-group > .col-lg-6,
.pricing-group > .col-md-6,
.pricing-group > .col-12 {
    display: flex;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.pricing-body {
    flex: 1;
}

.pricing-trust-area {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pricing-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.pricing-trust-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 24px;
    gap: 8px;
}

.pricing-trust-list li:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: 0;
    transform: translateX(50%);
    color: #9ca3af;
    font-size: 18px;
}

@media (max-width:576px) {
    .pricing-trust-list {
        flex-direction: column;
        gap: 6px;
    }

    .pricing-trust-list li::after {
        display: none;
    }
}

.testimonial-item-3-activation .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonial-item-3-activation .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-item-3-activation .single-slide {
    display: flex;
    flex: 1;
}

.testimonial-item-3-activation .rbt-testimonial-box {
    display: flex;
    flex: 1;
}

.testimonial-item-3-activation .rbt-testimonial-box .inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
}

.teacher-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.teacher-slider .swiper-slide {
    display: flex;
    height: auto;
}

.teacher-slider .single-slide {
    display: flex;
    flex: 1;
}

.teacher-slider .rbt-team {
    display: flex;
    flex: 1;
}

.teacher-slider .rbt-team .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.teacher-slider .title {
    line-height: 1.3;
    min-height: 2.6em;
    display: block;
}

.teacher-slider .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.teacher-grid > div[class*="col-"] {
    display: flex;
}

.teacher-grid .rbt-team {
    display: flex;
    width: 100%;
}

.teacher-grid .rbt-team .inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.teacher-grid .content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.teacher-grid .title {
    line-height: 1.3;
    min-height: 2.6em;
}

.teacher-grid .subtitle {
    margin-bottom: 4px;
}

.teacher-grid .team-form {
    margin-top: auto;
}

.teacher-type {
    font-size: 18px;
}

.text-justify {
    text-align: justify;
}

.rbt-checkbox label {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.no-resize {
    resize: none;
}

.text-pre-line {
    white-space: pre-line;
}

.rbt-custom-file-upload input[type="file"] {
    margin-bottom: 0;
}

.form-select {
    border: none;
    height: 50px;
    border-bottom: 2px solid var(--color-border);
    font-size: 16px;
    color: var(--color-body);
    padding-top: 16px;
}

.form-select:focus, .form-group input:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--color-border);
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 20px;
    height: calc(100% - 15px);
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekdays > div {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    padding-bottom: 8px;
}

.calendar-day {
    width: 100%;
    height: 60px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}

.calendar-day.is-past {
    background: #f1f1f1;
    color: #b5b5b5;
    border-color: #e5e5e5;
    cursor: not-allowed;
}

.calendar-day.is-today {
    border-color: var(--color-primary);
    font-weight: 700;
}

.calendar-day.is-selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.calendar-day.is-empty {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

.trial-time-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.trial-time {
    width: 100%;
    padding: 8px 4px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
}

.trial-time:hover:not(:disabled):not(.is-unavailable) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.trial-time:disabled:not(.is-unavailable) {
    background: #f1f1f1;
    color: #b5b5b5;
    border-color: #e5e5e5;
    cursor: not-allowed;
}

.trial-time.is-selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.trial-time.is-unavailable {
    background: #db6565;
    color: #fff;
    border-color: #c9515d;
    cursor: not-allowed;
}

.calendar-legend-past,
.calendar-legend-time-unavailable {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    vertical-align: -1px;
}

.calendar-legend-past {
    background: #f1f1f1;
    border: 1px solid #e5e5e5;
}

.calendar-legend-time-unavailable {
    background: #db6565;
    border: 1px solid #c9515d;
}

.library-branch-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.library-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    margin-bottom: 24px;
    border: 1px solid #ececf3;
    border-radius: 18px;
    background: linear-gradient(135deg,#faf8ff 0%,#f7fbff 100%);
}

.library-content-header h3 {
    margin: 5px 0 8px;
    font-size: 28px;
}

.library-content-header p {
    margin: 0;
    color: #6b7280;
}

.library-count {
    min-width: 86px;
    height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31,41,55,.08);
}

.library-count strong {
    color: var(--color-primary);
    font-size: 27px;
    line-height: 1;
}

.library-count span {
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.library-empty-state {
    padding: 30px;
    border: 1px solid #ececf3;
    border-radius: 18px;
    text-align: center;
    background: #fbfbfd;
}

.library-empty-state i {
    color: var(--color-primary);
    font-size: 45px;
}

.library-empty-state p {
    margin: 0;
    color: #6b7280;
}

@media (max-width: 767px) {
    .library-content-header {
        align-items: flex-start;
        padding: 22px;
    }

    .library-count {
        min-width: 70px;
        height: 70px;
    }

}

.library-table {
    position: relative;
    padding: 18px 24px;
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: var(--shadow-1);
}

.library-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.library-top .library-header,
.library-top .library-header .title {
    margin: 0;
    text-align: left;
}

.library-top .library-header .title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
}

.library-top .library-btn {
    flex-shrink: 0;
}

.library-body .list-item {
    padding: 0;
    margin: 16px 0 0;
}

.library-body .list-item li {
    display: flex;
    align-items: center;
    margin: 0;
}

.library-body .list-item li + li {
    margin-top: 16px;
}

.library-body .list-item li i {
    margin-right: 10px;
    color: var(--color-primary);
}

.library-body .list-item li strong {
    margin-right: 0.5rem;
}

.payment-plan-heading {
    margin-bottom: 20px;
}

.payment-plan-step {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.payment-plan-heading h3 {
    margin-bottom: 10px;
    font-size: 28px;
}

.payment-plan-heading p {
    margin: 0;
    font-size: 16px;
}

.payment-plan .payment-plan-section {
    min-width: 0;
    margin: 0 0 26px;
    padding: 0;
    border: 0;
}

.payment-plan-section legend {
    float: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
}

.payment-plan-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0edff;
    color: var(--color-primary);
    font-size: 14px;
}

.payment-plan-options {
    display: grid;
    gap: 10px;
}

.payment-plan-branches {
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
}

.payment-plan-subscriptions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-plan-three-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-plan-choice {
    position: relative;
    min-width: 0;
}

.payment-plan-choice input[type=radio] {
    top: 18px;
    left: 14px;
    width: 16px;
    height: 16px;
    margin: 0;
}

.payment-plan-choice input[type=radio] + label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 54px;
    margin: 0;
    padding: 14px 12px 14px 38px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--color-heading);
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: border-color .2s, background-color .2s;
}

.payment-plan-choice input[type=radio] + label::before {
    top: 19px;
    left: 14px;
}

.payment-plan-choice input[type=radio] + label::after {
    top: 22px;
    left: 17px;
}

.payment-plan-choice input[type=radio]:checked + label {
    border-color: var(--color-primary);
    background: #f5f3ff;
}

.payment-plan-choice input[type=radio]:enabled + label:hover {
    border-color: var(--color-primary);
}

.payment-plan-choice input[type=radio]:focus-visible + label {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.payment-plan-choice input[type=radio]:disabled + label {
    background: #f6f6f8;
    color: #6b7280;
    cursor: not-allowed;
}

.payment-plan-choice strong {
    font-size: 16px;
}

.payment-plan-choice small {
    margin-top: 5px;
    color: #6b7280;
    font-size: 12px;
}

.payment-plan-price {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
}

.payment-plan-summary {
    position: sticky;
    top: 110px;
    padding: 22px;
    border: 1px solid #e5dfff;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf8ff, #f7fbff);
}

.payment-plan-summary h4 {
    margin-bottom: 20px;
    font-size: 21px;
}

.payment-plan-details {
    margin: 0;
    font-size: 14px;
}

.payment-plan-amounts {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5dfff;
}

.payment-plan-details > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.payment-plan-summary .payment-plan-details:first-child > div:last-child,
.payment-plan-summary .payment-plan-details:first-child > div:last-child dt {
    margin-bottom: 0;
}

.payment-plan-details dt {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-heading);
}

.payment-plan-details dd {
    margin: 0;
    text-align: right;
    color: var(--color-heading);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.payment-plan-summary .payment-plan-note,
.payment-plan-summary .payment-plan-unavailable {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.payment-plan-summary .payment-plan-unavailable {
    color: #b42318;
}

.payment-plan-summary button:disabled,
.payment-checkout button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.payment-checkout-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px;
}

.payment-checkout-heading h5 {
    margin: 0;
}

.payment-checkout-back {
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.payment-checkout-panel {
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #ececf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(31, 41, 55, .04);
}

.payment-checkout-panel h5 {
    margin-bottom: 24px;
    font-size: 19px;
}

.payment-checkout dt {
    margin-bottom: 8px;
}

.payment-checkout-invoice-type {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.payment-checkout-invoice-type legend {
    float: none;
}

.payment-checkout-invoice-type legend,
.payment-checkout-field > label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.5;
}

.payment-checkout-field input,
.payment-checkout-field textarea {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e1e3eb;
    border-radius: 6px;
    color: var(--color-heading);
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.payment-checkout-field textarea {
    height: auto;
    resize: vertical;
}

.payment-checkout-field input:not([readonly]):focus,
.payment-checkout-field textarea:focus {
    border-color: var(--color-primary);
    outline: 2px solid #e9e5ff;
    outline-offset: 1px;
}

.payment-checkout-field input[readonly] {
    background: #f7f8fb;
    color: #6b7280;
    box-shadow: none;
}

.payment-checkout-field input[readonly]:focus {
    border-color: #e1e3eb;
    outline: none;
    box-shadow: none;
}

.payment-checkout-validation {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.5;
}

.payment-checkout-field input[aria-invalid="true"] {
    border-color: #b42318;
}

.payment-checkout .payment-checkout-note {
    margin: 18px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

.payment-checkout-note a {
    color: var(--color-primary);
    text-decoration: underline;
}

.payment-checkout-corporate,
.payment-checkout-individual {
    margin-bottom: 24px;
}

.payment-checkout [hidden] {
    display: none !important;
}

.payment-checkout-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececf3;
    overflow-wrap: anywhere;
}

.payment-checkout-product strong {
    color: var(--color-heading);
    font-size: 16px;
}

.payment-checkout-product span {
    font-size: 14px;
}

@media (max-width: 575px) {
    .payment-checkout-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 18px;
    }

    .payment-checkout-panel {
        padding: 20px;
    }

    .payment-checkout-invoice-type .payment-plan-subscriptions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-plan-subscriptions {
        grid-template-columns: 1fr;
    }

    .payment-plan-three-options {
        gap: 6px;
    }

    .payment-plan-three-options input[type=radio] + label {
        padding: 12px 6px;
        text-align: center;
    }

    .payment-plan-three-options input[type=radio] + label::before,
    .payment-plan-three-options input[type=radio] + label::after {
        display: none;
    }

    .payment-plan-summary {
        position: static;
    }
}

.rbt-default-form input.student-referral-link {
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.rbt-default-form button.student-referral-copy {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 18px;
}

.student-referral-copy-field {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}