:root {
    --upforschool-primary: #2E49C0;
    --upforschool-light: #F2F5FF;
    font-family: Arial, Helvetica, sans-serif;
}

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

html, body {
    overflow-x: clip;
    max-width: 100vw;
}

@font-face {
    font-family: "AvenirNext";
    src: url('/static/fonts/AvenirNext-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "AvenirNext-DemiBold";
    src: url('/static/fonts/AvenirNext-DemiBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Hide scrollbars globally but keep scrolling */
* {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE and Edge */
}

*::-webkit-scrollbar {
  display: none;               /* Chrome, Safari, Opera */
}


.main {
    position: relative;
    transition: margin .3s;
    margin: 0 20px 0 20px;
}


@media (min-width: 1440px) {
    .main {
        margin: 0 128px 0 128px;
    }
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

p {
    margin: 5px 0px;
    padding: 0;
}


body {
    margin: 0;
    padding: 0;
}

.text-small {
    font-size: 12px;
}


.text-medium {
    font-size: 16px;
}


.text-strong {
    font-weight: bold;
}

.text-light {
    color: #626262;
}

.text-underline {
    text-decoration: underline;
    cursor: pointer;
}

.text-right {
    text-align: right;
}


.color-grey {
    color: #888;
}

.color-white {
    color: white;
}


/* view */
.view-center {
    text-align: center;
}

.view-left {
    text-align: left;
}

.view-row {
    margin-top: 16px;
}

.view-row-alt {
    margin-top: 32px;
}

.view-pad {
    transition: padding .3s;
}

.view-pad-top {
    padding-top: 16px;
}

.view-pad-top-alt {
    padding-top: 32px;
}

.view-pad-16 {
    padding: 16px;
}

.view-pad-32 {
    padding: 32px;
}

.view-pad-right {
    transition: padding .3s;
}

.view-pad-left {
    transition: padding .3s;
}

.view-container {
    position: relative;
    padding: 32px 16px 32px 16px;
}

.view-container-alt {
    padding: 32px 0 32px 16px;
}

.view-image-wrapper {
    position: relative;
    width: 124px;
    height: 123px;
}


.view-image {
    position: absolute;
    left: 0;
    width: 124px;
    height: 123px;
    /* background-color: #E0E0E0; */
    border-radius: 30px;
    /* box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15); */
}

.view-image-label {
    font-family: "AvenirNext-DemiBold" !important;
    position: absolute;
    top: 40px;
    left: 166px;
    width: 210px;
    height: 38px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border: 2px solid var(--upforschool-primary);
    line-height: 38px;
    background-color: var(--upforschool-primary);
    transition: all .3s;
    font-weight: bold;
    padding: 0 8px 0 8px;
}

.view-image-label:hover {
    transform: scale(1.05);
}

.view-image-label-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.view-image-label-white:hover {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.view-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.view-text-input {
    cursor: pointer;
    outline: none;
    color: white;
}

.view-text-input::placeholder {
    opacity: 0.6;
    color: white;
}

.text-box {
    font-family: inherit;
    border-radius: 20px;
    background: transparent;
    border: 2px solid white;
    padding: 16px 20px;
    text-align: left;
    color: white;
    box-sizing: border-box;
}

.info-box {

    overflow: scroll;
}



.view-btn {
    font-family: "AvenirNext-DemiBold" !important;
    background: transparent;
    display: inline-block;
    border: 2px solid #000;
    padding: 8px 16px;
    font: inherit;
    text-align: center;
    border-radius: 25px;
    transition: ease .3s;
    cursor: pointer;
    outline: none;
    color: black
}


.view-btn-small {
    font-family: "AvenirNext-DemiBold" !important;
    background: transparent;
    display: inline-block;
    padding: 4px 40px;
    font: inherit;
    font-size: 12px;
    text-align: center;
    border-radius: 25px;
    transition: ease .3s;
    cursor: pointer;
    outline: none;
}

.hover-expand{
    transition: ease .3s !important;
}

.hover-expand:hover {
    transform: scale(1.05);
}

.view-btn-wide {
    padding: 10px 32px;
}

.view-btn-extra-wide {
    padding: 10px 64px;
}

.view-btn-compact {
    margin: 8px 8px 0 0;
    padding: 8px 24px;
}

a.view-btn {
    text-decoration: none;
}

.view-btn:hover {
    transform: scale(1.05);
}

.view-btn:disabled {
    cursor: not-allowed;
    transform: scale(1);
    opacity: 0.6;
}

.view-btn:disabled:hover {
    transform: scale(1);
}

.view-btn-sel {
    background: linear-gradient(121.72deg, #40DB87 3.12%, #52F29B 104.52%);
    color: var(--upforschool-primary) !important;
    font-family: "AvenirNext-Bold" !important;
    border-color: transparent;
}

.view-btn-alt {
    font-family: "AvenirNext-DemiBold" !important;
    display: inline-block;
    font: inherit;
    text-align: center;
    background: var(--upforschool-primary);
    color: #fff;
    border: 2px solid var(--upforschool-primary);
    cursor: pointer;
    outline: none;
    transition: ease .3s;
}

.view-btn-alt:hover {
    transform: scale(1.05);
}

.view-btn-alt:disabled:hover {
    cursor: not-allowed;
    transform: scale(1);
}

.view-btn-gray {
    background: #ddd;
    color: #888;
}

.view-btn-gray:disabled:hover {
    background: #ddd;
    color: #888;
}

.view-btn-green {
    color: #fff;
    border-color: #40DB87;
    background-color: #40DB87;
}

.view-btn-green-alt {
    border-color: #2EF0C0 !important;
    background-color: #2EF0C0 !important;
}

.view-btn-green-sel {
    color: var(--upforschool-primary) !important;
    border-color: #2EF0C0 !important;
    background-color: #2EF0C0 !important;
    font-family: "AvenirNext-Bold" !important;
}

.view-btn-green:disabled {
    background-color: #b3f1cf;
    border-color: #b3f1cf;
    transform: none;
    cursor: default;
}

.view-btn-midnight-blue {
    color: #fff;
    border-color: var(--midnight-blue);
    background-color: var(--midnight-blue);
}

.view-btn-red {
    color: #fff;
    background-color: #FF4A4A;
    border-color: #FF4A4A;
}

.view-btn-red:disabled {
    background-color: #ff9d9d;
    border-color: #ff9d9d;
    transform: none;
    cursor: default;
}

.view-btn-white {
    border-color: #fff;

    color: #fff;
}

.view-btn-white-fill {
    border-color: #fff;
    background-color: #fff;
    color: var(--upforschool-primary);
}


.view-btn-white-sel {
    color: #28A964;
    background-color: #fff;
}

.view-btn-90 {
    padding: 8px;
    width: 90%;
}

.view-btn-full {
    width: 100%;
    max-width: 460px;
}

.view-btn-container {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.color-primary {
    color: var(--upforschool-primary);
}

.color-black {
    color: black;
}

.color-white {
    color: white;
}

.owl-logo{
    width: 80px;
    height: auto;
    margin-bottom: 16px;
}

.flex-between {
    display: flex;
    justify-content: space-between;

}

.flex-around {
    display: flex;
    justify-content: space-around;
}

.flex-nowrap {
    flex-wrap: nowrap;
}   

.f-right {
    float: right;
}

.gap-64 {
    gap: 64px;
}

.gap-32 {
    gap: 32px;
}

.gap-16 {
    gap: 16px;
}

.gap-8 {
    gap: 8px;
}


.p-8 {
    padding: 8px;
}

.p-16 {
    padding: 16px;
}

.p-32 {
    padding: 32px;
}

.m-4 {
    margin: 4px;
}

.m-8 {
    margin: 8px;
}

.m-16 {
    margin: 16px;
}

.italic {
    font-style: italic;
}

.opacity-50 {
    opacity: 0.5;
}


.opacity-70 {
    opacity: 0.7;
}

.nav-bar {
    height: 100px;
    z-index: 100;
    background-color: white;
    position: sticky;
    top: 0;

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

.full-page {
    height: calc(100vh - 100px);
    overflow: auto;
}

.full-page-with-footer {
    height: calc(100vh - 100px);
    overflow: auto;
}

.min-full-page {
    min-height: calc(100vh - 100px);
    overflow: auto;
}

.centered-page {
    max-width: 800px;
}

.flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-row {
    flex-direction: row;
    flex-wrap: wrap;
}

.flex-row:last-child:nth-child(odd) {
  margin-right: auto;
}

.flex-start {
    justify-content: flex-start;
}

.flex-columns {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.flex-left {
    align-items: start;
}

.one-col {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  justify-content: center;
}


.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
}

/* Stack into one column on smaller screens */
@media (max-width: 640px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
}

.background-white {
    background-color: white;
}

.blue-section {
    background-color: var(--upforschool-primary);
    color: white;
}

.light-section {
    background-color: var(--upforschool-light);
}

.pattern-section {
    background-image: url(/static/images/app/logo-pattern.png);
    background-blend-mode: color-burn;
}

.center-grid {
    display: grid;
    /* align-items: center; */
    grid-auto-flow: column;
}


.center {
    text-align: center;
    align-content: center;
}


.inside-squiggle {
    width: 450px;
    text-align: left;
    line-height: 27px;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

}

@media (max-width: 400px) {
    .inside-squiggle {
    background-size: cover;
    }
}



.section-content {
    text-align: center;
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.square-40 {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.landing-big-price {
    font-size: 0px;
    font-weight: bold;
    color: #2EF0C0;
}

.landing-subject{
    width: 180px;
    text-align: left;
    justify-content: start;
}

.landing-subject > p {
    margin: 10px 5px;
}


.inline-block {
    display: inline-block;
}


.split-page {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    justify-content: start;
    gap: 0px;
}

.split-page-right {
    height: 100%;
    overflow: scroll;
    max-width: 600px;
    margin: auto;
}

.show-on-small {
    display: none;
}

.show-on-large {
    display: block;
}


/* Show the element only if screen width is below 600px */
@media (max-width: 800px) {
    .hide-on-small {
        display: none;
    }

    .show-on-small {
        display: block;
    }

    .show-on-large {
        display: none;
    }
}

.form-label {
    text-align: left;
    display: block;
    margin-top: 22px;
    margin-bottom: 4px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .3s;
    box-sizing: border-box;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.container {
    position: relative;
    margin: auto;
    width: 90%;
}

.center-container {
    margin: auto;
    text-align: center;
}

.center-items {
    align-items: center;
}

.center-align {
    align-content: center;
}


.group:after {
    content: "";
    display: table;
    clear: both;
}


.group-column {
    float: left;
    width: 100%;
}

.group-item {
    float: left;
    width: 50%;
}

.group-twentyfive {
    float: left;
    width: 25%;
}

.group-column-third {
    float: left;
    width: 33.33%;
    text-align: center;
}

.group-column-third:first-child {
    text-align: left;
}

.group-column-third:last-child {
    text-align: right;
}

.form-check-hidden {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    padding: 0;
}

.form-check-hidden-label {
    font-family: "AvenirNext-DemiBold" !important;
    border: 2px solid #ddd;
    color: #5e5e5e;
    padding: 8px 0px;
    font: inherit;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    transition: background-color .3s;
    text-align: center;
    cursor: pointer;
    margin-bottom: 8px;
    display: block;
    width: 100%;
    text-wrap: nowrap;
}

.form-check-hidden:checked+label {
    background-color: var(--upforschool-primary);
    border: 2px solid var(--upforschool-primary);
    color: #fff;
}

.form-textarea {
    width: 100%;
    height: 240px;
    resize: none;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .3s;
}

.third {
    width: 32%;
}

.half {
    width: 49%;
}

.bolder {
    font-weight: bolder;
}

/* Overlay styles */

.overlay {
    z-index: 102;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .3s;
    overflow-y: auto;
    animation: overlayFadeIn 0.25s ease;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}


.overlay-closer {
    z-index: 1;
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    transition: transform .3s ease;
}

.overlay-closer:hover {
    transform: scale(1.1);
}


.overlay-inner {
    /* background: #fff; */
    position: relative;
    margin: 40px auto;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
    width: 400px;
}


.overlay-inner-wide {
    background: #fff;
    position: absolute;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    max-height: 100vh;
}

.overlay-bubble {
    position: relative;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: -50px;
    color: #fff;
    line-height: 100px;
    font-size: 24px;
}

.overlay-bubble>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
}

.overlay-bubble>svg {
    margin-top: 28px;
}

.overlay-enter {
    opacity: 0;
}

.overlay-leave-active {
    opacity: 0;
}


.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin .7s ease-in-out infinite;
    margin-bottom: 15px;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




.step-arrow {
    background-image: url('/static/images/app/step-arrow.png');
    background-position: center;
    background-repeat: no-repeat;
    object-fit: contain;
    background-size: contain;
    width: 40px;
    padding: 7px 2px;
    text-align: center;
    font-size: 14px;
    color: var(--upforschool-primary);
    font-weight: bolder;
}

.step-arrow-active {
    background-image: url('/static/images/app/step-arrow-active.png')
}


.step-arrow-white {
    background-image: url('/static/images/app/step-arrow-white.png')
}


.back-button {
    background-repeat: no-repeat;
    object-fit: contain;
    background-size: contain;
    background-image: url('/static/images/app/back-button.png');
    width: 40px;
    padding: 7px 2px;
    top: 16px;
    left: 16px;
    cursor: pointer;
}

/* Steps animation*/

.step {
    display: none;
    /* padding: 16px; */
    /* min-height: 550px; */

}

.step.active {
    display: block;
}

.step-content {
    padding: 20px 0px;
    height: calc(100vh - 380px); 
    overflow: auto; 
}




/* Forward transitions (default) */
::view-transition-old(step-right) {
    animation: slide-out-left 0.2s ease-out forwards;
}

::view-transition-new(step-right) {
    animation: slide-in-right 0.2s ease-out forwards;
}

/* Back transitions - slide the opposite direction */
::view-transition-old(step-left) {
    animation: slide-out-right 0.2s ease-out forwards;
}

::view-transition-new(step-left) {
    animation: slide-in-left 0.2s ease-out forwards;
}


.header-squiggle {
    position: relative;
    margin: auto;
    height: 70px;
    max-width: 378px;
    background-image: url('/static/images/app/squiggle-header.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.header-squiggle2 {
    color: var(--upforschool-primary);
    position: relative;
    font-weight: bolder;
    font-size: 20px;
    margin: auto;
    padding-top: 30px;
    text-decoration: underline;
    height: 100px;
    width: 380px;
    background-image: url('/static/images/app/squiggle-header-2.png');
    background-repeat: no-repeat;
}

@keyframes slide-out-left {
    from {
        transform: translateX(0);
        opacity: 100%;
    }

    to {
        transform: translateX(-100px);
        opacity: 0%;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100px);
        opacity: 0%;
    }

    to {
        transform: translateX(0);
        opacity: 100%;
    }
}

@keyframes slide-out-right {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

@keyframes slide-in-left {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}




.tutor-image {
    position: absolute;
    top: -50px;
    left: 30px;
    width: 100px;
    height: 100px;
    background-color: #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
}

.list-image-badge {
    height: 40px;
    width: 40px;
    left: -60px;
    bottom: 12px;
}

.card-profile {
    width: 160px;
    height: 180px;
    margin-top: 30px;
    position: relative;
    padding-top: 55px;
    box-sizing: border-box;
    border: 1px solid t#eee;
    border-radius: 16px;
    margin-bottom: 16px;
    background-color: #fff;
}


.fade-container {
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 1) 20px,
        rgba(0, 0, 0, 1) calc(100% - 20px),
        rgba(0, 0, 0, 0) 100%);

    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 1) 20px,
        rgba(0, 0, 0, 1) calc(100% - 20px),
        rgba(0, 0, 0, 0) 100%);
}


/* overwrite choises */
.choices__inner {
    background-color: #fff;
    border-radius: 8px;
    min-height: 40px;
    border: 2px solid #ddd;
    box-sizing: border-box;
}

.choices__inner-alt {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    min-height: 30px;
    border: 1px solid #fff;
    padding: 7.5px 7.5px 3.75px;
    font-size: 14px;
    overflow: hidden;
}

.choices__input {
    background-color: #fff;
    font-size: 16px;
    padding: 0;
}

.choices__list--multiple .choices__item {
    background-color: #000;
    border: 1px solid #000;
}

.choices__list--multiple .choices__item.is-highlighted {
    background-color: #000;
    border: 1px solid #000;
}

.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
    border-left: 1px solid #fff;
}

.choices {
    margin-bottom: 0;
}

/* 
.ads-section{
    margin: 0px 100px;
}

@media (max-width: 800px) {
    .ads-section {
        margin: 0px;
    }
}    */

.ads-container {
    background-color: rgb(199, 199, 199);
    border-radius: 25px;
}

.hidden {
    display: none;
}



/* footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 128px 16px 128px 16px;
    line-height: 24px;
}

.footer-full {
    display: none;
}

.footer-flex {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.footer-link {
    padding-top: 8px;
}

.footer-logo {
    height: 80px;
    margin-top: 100px;
    margin-bottom: 32px;
    display: block;
}

.footer-pep {
    height: 30px;
    display: block;
}

.footer a {
    display: block;
    color: #fff;
}

.footer a:hover {
    text-decoration: underline;
}

.border-white {
    border-color: #fff;
}


.profile-picture {
    border-radius: 100px;
}

.signup-token {
    border: 1px solid #ddd;
    width: 140px;
    padding: 16px 0 16px 0;
    font-size: 36px;
    outline: none;
    text-align: center;
    transition: background-color .3s;
    margin: 0 4px 0 4px;
}

/* container */
.rounded-container {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow .3s;
    border-radius: 20px;
}

.summary-image {
    width: 100px;
    height: 100px;
    background-color: #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
}

/* Tutor summary banner */
.summary-banner {
    background: linear-gradient(135deg, var(--upforschool-primary) 0%, #5b6fd6 100%);
    border-radius: 20px;
    padding: 24px;
    
}

.summary-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.summary-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    background-color: #ddd;
}

.summary-banner-info {
    color: #fff;
}

.summary-banner-name {
    margin: 0 0 4px;
    font-family: "AvenirNext-DemiBold", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.summary-banner-stat {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

.summary-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #333;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    transition: background 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.summary-close:hover {
    background: #eee;
}


/* cookie */

.cookie-consent {
    background-color: #fff;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0px -10px 10px rgba(0, 0, 0, 0.15);
    display: none;
    justify-items: center;
    z-index: 7;
}

.cookie-consent-content {
    display: grid;
    align-items: start;
    max-width: 1080px;
    padding: 32px 16px;
    gap: 16px;
}

@media (min-width: 1024px) {
    .cookie-consent-content {
        padding: 64px 16px;
        grid-template-columns: 1fr 2fr;
    }    
}

.cookie-consent-content-1 {
    display: grid;
    grid-template-columns: 48px 2fr;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    gap: 16px;
}

.cookie-consent-content-2 {
    display: grid;
    gap: 16px;
}


.cookie-answer {
    display: grid;
    gap: 16px;
}

@media (min-width: 680px) {
    .cookie-answer {
        display: flex;
    }    
}

.cookie-btn {
    font-family: "AvenirNext-DemiBold" !important;
    font: inherit;
    background: transparent;
    display: inline-block;
    border: 2px solid #7b7b7b;
    padding: 8px 24px;
    text-align: center;
    border-radius: 20px;
    transition: ease .3s;
    cursor: pointer;
    outline: none;
    background-color: #fff;
    color: #7b7b7b;
}

.cookie-btn-accept {
    color: #fff;
    padding: 8px 32px;
    background: var(--upforschool-primary);;
    border-color: var(--upforschool-primary);;
}

.cookie-btn:hover {
    transform: scale(1.05);
}



/* switch */

.switch {
    background-color:rgba(0, 0, 0, 0.2);
    color: #7b7b7b;
    border-radius: 8px;
    width: 164px;
    margin: 16px auto 0 auto;
}

.switch-alt {
    margin-bottom: 24px;
}

.switch-button {
    float: left;
    color: #fff;
    border: none;
    font: inherit;
    border-radius: 8px;
    padding: 4px 0 4px 0;
    outline: none;
    cursor: pointer;
    margin: 1px;
    width: 80px;
    text-align: center;
}

.switch-button:hover {
    color: #000;
}

.switch-active {
    color: #000;
    background-color: #fff;
}

/* list */



.list-container {
    position: relative;
    padding: 0 0 32px 0;
    overflow: hidden;
}

.list-container h1 {
    padding-left: 16px;
}

.list-item {
    background-color: #fff;
    display: block;
    position: relative;
    padding: 16px 8px 16px 90px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: box-shadow .3s;
    border-radius: 14px;
    text-align: left;
    max-width: 500px;
    min-height: 90px;
}

.list-item:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.list-text {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

.list-time {
    background-image: url('/static/images/app/watch.svg');
    background-repeat: no-repeat;
    background-position: 0 50%;
    padding-left: 16px;
}

.list-image {
    position: absolute;
    top: 10px;
    left: 16px;
    width: 72px;
    height: 72px;
    background-color: #ddd;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
}

.list-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;

}

.delete-btn{
    margin-left: 40px;
}

@media (max-width: 640px) {
  .fill-on-small {
    width: 100%;
  }

  .delete-btn{
    margin-left: 0px;
    margin-top: 40px;
  }
}

.invite-status {
    background-position: 0 50%;
    background-repeat: no-repeat;
    padding-left: 26px;
    width: 50%;
    max-width: 250px;
    line-height: 20px;
}

[x-cloak] { display: none !important; }



/* select */
.filter-select {
    display: block;
    font: inherit;
    font-size: 16px;
	color: #000;
	padding: .6em 1.4em .5em .8em;
	max-width: 100%;
    width: 200px;
	margin: 0;
    height: 44px;
	border: 2px solid #ddd;
	border-radius: 8px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.75593 7.79363C6.35716 8.25409 5.64284 8.25409 5.24407 7.79363L0.504769 2.32116C-0.0561072 1.67351 0.403946 0.666503 1.2607 0.666503L10.7393 0.666502C11.5961 0.666502 12.0561 1.67351 11.4952 2.32116L6.75593 7.79363Z' fill='%236F6F6F'/%3E%3C/svg%3E"),
        linear-gradient(to bottom, #ffffff 0%,#fff 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    cursor: pointer;
    outline: none;
    transition: border-color .3s;
}

.filter-select::-ms-expand {
	display: none;
}

.filter-select:hover {
	border-color: #0A5B30;
}

.filter-select:focus {
	outline: none;
}

.filter-select option {
    color: #000;
	font-weight:normal;
}

/* Support for rtl text, explicit support for Arabic and Hebrew */
*[dir="rtl"] .filter-select, :root:lang(ar) .filter-select, :root:lang(iw) .filter-select {
	background-position: left .7em top 50%, 0 0;
	padding: .6em .8em .5em 1.4em;
}

/* Disabled styles */
.filter-select:disabled, .filter-select[aria-disabled=true] {
	color: graytext;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22graytext%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), #fff;
}
.filter-select:disabled:hover, .filter-select[aria-disabled=true] {
	border-color: #aaa;
}

.filter-select-highlight {
    color: var(--upforschool-primary);
    border: none;
    font-family: "AvenirNext" !important;
    font-weight: bold;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.75593 7.79363C6.35716 8.25409 5.64284 8.25409 5.24407 7.79363L0.504769 2.32116C-0.0561072 1.67351 0.403946 0.666503 1.2607 0.666503L10.7393 0.666502C11.5961 0.666502 12.0561 1.67351 11.4952 2.32116L6.75593 7.79363Z' fill='%232E49C0'/%3E%3C/svg%3E"),
        linear-gradient(111.12deg, #2ef0c0 3.12%, #2ef0c0 104.52%);
}

.price-cloud{
    text-align: center;
    width: 300px;
    height: 170px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("/static/images/app/price-cloud.png");
    padding: 20px;
}

.price-cloud > p{
    font-size: 20px;
    line-height: 32px;
    font-weight: lighter;
    font-family: "AvenirNext-Regular" !important;
}

.price-cloud > h1{
    font-family: "AvenirNext-Bold" !important;
    font-size: 70px;
    line-height: 80px;
}


.bottom-fixed{
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    /* padding: 20px 0px; */
}


/* price-container */
.price-flex {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.price-item {
    position: relative;
    border-radius: 30px;
}

.price-item-label {
    cursor: pointer;
}

.price-item-label-selected {
    /* box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.35); */
}

.price-info {
    width: 25%;
    margin-bottom: 16px;
}

.price-img {
    height: 116px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.price-container {
    border-radius: 30px;
    overflow: hidden;
}

.price-overlay {
    opacity: 0.6;
    transition: opacity .3s;
}

.price-item-label-selected > .price-overlay {
    opacity: 1;
}

.price-container-top {
    min-height: 230px;
}

.price-container-white {
    background-color: #fff;
}

.price-container-green {
    background-color: #40DB88;
}

.price-container-brown {
    background-color: #A86B5E;
}

.price-container-gray {
    background-color: #9EBDC7;
}

.price-container-yellow {
    background-color: #FFBF42;
}

.price-amount {
    display: flex;
    justify-content: center
}

.price-offer {
    position: relative;
    padding-right: 8px;
    color: #9C9C9C;
}

.price-amount svg {
    position: absolute;
    height: 80%;
    top: 3px;
    left: -7px;
}

.price-star {
    position: relative;
    display: inline-block;
    color: #CA4900;
    font-weight: bold;
    font-size: 14px;
    padding-top: 8px;
    padding-left: 32px;
}

.price-star img {
    position: absolute;
    top: 2px;
    left: 0px;
}

.price-line {
    margin-top: 64px;
    margin-bottom: 64px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.price-line1 {
    width: 40%;
    height: 42px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    border-bottom-left-radius: 30px;
}

.price-line2 {
    width: 30px;
    height: 21px;
    margin-bottom: -18px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    border-top-right-radius: 30px;
    margin-right: -1px;
}

.price-line3 {
    width: 30px;
    height: 21px;
    margin-bottom: -18px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    border-top-left-radius: 30px;
    margin-left: -2px;
}

.price-line4 {
    width: 40%;
    height: 42px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    border-bottom-right-radius: 30px;
}

.price-dl {
    width: 500px;
    color: #fff;
}

.price-dt {
    float: left;
    width: 220px;
    overflow: hidden;
    white-space: nowrap;
}

.price-dt:after { content: " .................................................................................." }

/* subscriptions */
.subscription {
    background-color: #fff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow .3s;
    border-radius: 30px;
    color: #000;
    grid-template-columns: 200px 1fr;
    max-width: 800px;
    align-items: center;
}

.subscription-text {
    padding: 16px;
}


.form-radio-hidden {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    padding: 0;
}

.form-radio-hidden-label {
    font-family: "AvenirNext-DemiBold" !important;
    display: inline-block;
    border: 2px solid #000;
    padding: 8px 32px;
    font: inherit;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    transition: background-color .3s;
    text-align: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 16px;
}



.payment-selection-page {
    position: relative;
    max-width: 1000px;
    margin: auto;
}


.price-summary-card {
    color: black;
    background-color: rgba(255, 255, 255, 0.9); 
    width: 400px; 
    margin: auto;
    padding: 20px 60px;
}


/* table */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    padding-bottom: 8px;
}

.table-bordered {
    border-collapse: collapse;
}

.table-bordered td {
    padding: 8px 0 8px 0;
}

.table-bordered tr {
    border-bottom: 1px solid #E5E5E5;
}

.table-bordered tr:last-child {
    border-bottom: none;
}




/* ads */

.ads-btn {
    cursor: pointer;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #C4C4C4;
    margin: 16px 2px 16px 2px;
}

.ads-btn-active {
    background-color: #000;
}

.ads-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 16px;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: transform 1s ease, opacity 1s ease;
    overflow: hidden;
    border-radius: 30px;
    background-color: #000;
}

.ad-slide-content {
    height: 300px;
    display: flex;
    text-align: left;
    justify-content: flex-start;
    align-items: center;
    gap: 48px;
}

.ad-slide-content-center {
    height: 300px;
    display: flex;
    text-align: left;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.ad-left {
    opacity: 0;
    transform: translateX(-102%);
}

.ad-right {
    opacity: 0;
    transform: translateX(102%);
}

.ad-text {
    font-size: 19px;
    max-width: 400px;
    padding: 16px;
}

.ad-sportlov-image {
    display: none;
}


/* upforsports */

.ad-upforsports-logo {
    display: none;
}

.ad-upforsports-content {
    height: 300px;
    display: flex;
    color: white;
    text-align: left;
    justify-content: center;
    align-items: center;
    gap: 48px;
    background: linear-gradient(93.41deg, #FF3561 -9.85%, #FFD05B 111.81%);
}

.ad-upforsports-text {
    position: relative;
    max-width: 500px;
    padding: 0 16px 0 16px;
    font-size: 18px;
}

.ad-upforsports-badge {
    position: absolute;
    bottom: 0;
    right: 16px;
}


/* ufm ad */
.ads-upformatch-image {
    height: 300px;
    flex: 0 0 240px;
}

.ads-upformatch-container {
    align-items: center;
    height: 300px;
    background-color: #2FD27A;
    color: #fff;
    width: 100%;
    flex-wrap: nowrap;
}

.ads-upformatch-content {
    flex: 1 1 auto;
    font-size: 16px;
    display: grid;
    justify-items: center;
}

.ads-upformatch-text {
    max-width: 500px;
    padding: 20px;
}



.overlay-status-text {
    display: block;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
}

/* Pill tags */
.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.pill {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.pill-primary {
    background: var(--upforschool-primary);
    color: #fff;
}

.pill-gray {
    background: #4d5eab24;
    color: #383838c0;
}

/* Latest tutors card list */
.tutor-card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1500px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .tutor-card-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.tutor-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    min-width: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    padding: 20px;
    gap: 20px;
    transition: box-shadow 0.3s, transform 0.2s;
    text-align: left;
}

.tutor-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.tutor-card-avatar {
    flex-shrink: 0;
    padding-top: 2px;
}

.tutor-card-avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--upforschool-light);
}

.tutor-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tutor-card-name {
    font-family: "AvenirNext-DemiBold", sans-serif;
    font-size: 1rem;
    color: #222;
    margin: 0 0 8px 0;
}

.tutor-card-subjects {
    max-height: 70px;
    overflow: hidden;
    margin-bottom: 8px;
    align-content: flex-start;
}

.tutor-card-bio {
    font-size: 0.85rem;
    color: #555;
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tutor-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 8px;
}

.tutor-card-footer .view-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.tutor-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
    min-width: 0;
}

.tutor-card-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tutor-card-location-icon {
    width: 12px;
    height: 16px;
    opacity: 0.7;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .tutor-card-list {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 600px) {
    .tutor-card-list {
        grid-template-columns: 1fr;
    }
    .tutor-card {
        flex-direction: column;
        padding: 14px;
        gap: 0;
    }
    .tutor-card-avatar {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
        width: 100%;
    }
    .tutor-card-avatar::after {
        content: attr(data-alias);
        font-family: "AvenirNext-DemiBold", sans-serif;
        font-size: 1rem;
        color: #222;
    }
    .tutor-card-avatar img {
        width: 48px;
        height: 48px;
    }
    .tutor-card-body > .tutor-card-name:first-child {
        display: none;
    }
    .tutor-card-name {
        font-size: 0.9rem;
    }
    .tutor-card-bio {
        -webkit-line-clamp: 2;
        height: 2.8em;
        font-size: 0.8rem;
    }
    .tutor-card-subjects {
        max-height: 62px;
    }
    .tutor-card-subjects .pill {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    .tutor-card-location {
        font-size: 0.8rem;
    }
    .tutor-card-footer .view-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Show the element only if screen width is below 600px */
@media (max-width: 800px) {
    h1 {
        font-size: 24px;
    }
}