.full-page-section {
    min-height: 100vh;
    position: relative;
}

.form-page-wrapper h1,
.form-page-wrapper p {
    color: var(--background-color);
}

.form-page-content {
    display: flex;
    flex-direction: column;
    max-width: 650px;
    width: 100%;
    padding: 146px 12px;
    gap: 24px;
}

.form-page-wrapper .subtitle {
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
} 

.form-page-content.centered {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-page-wrapper h1 {
    font-size: 40px;
    line-height: 48px;
}

.form-container {
    display: flex;
    flex-direction: column;
    padding: 32px;
    width: 100%;
    max-width: unset;
    position: relative;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.form-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-color);
    opacity: 0.05;
    border-radius: 12px;   
    z-index: -1;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.75;
    border-radius: 12px;   
    border: 2px solid var(--background-color);
    z-index: -1;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label,
.newsletter-label,
.under-form-text,
.account-settings {
    color: var(--background-color);
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
}

input,
textarea {
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
    padding: 8px;
    height: 36px;
    background: var(--background-color);
    border: 1px solid var(--background-color);
    border-radius: 8px;
    outline: none !important;
}

textarea {
    height: 100px;
    resize: none;
}

.form-container .button {
    margin-top: 24px;
}

.under-form-text,
.account-settings {
    display: flex;
    opacity: 1;
    color: var(--background-color);
    margin-top: 16px;
}

.under-form-text a,
.account-settings a {
    opacity: 1;
    color: var(--background-color);
    font-weight: 500;
    text-decoration: none;
}

.form-success-container {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.form-success-container small {
    opacity: 1;
}

.form-success-container p {
    font-size: 18px;
    line-height: 26px;
}

.no-email-button {
    color: var(--background-color);
    text-decoration: underline;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}


.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 25px;
  border: 1px solid var(--background-color);
}

.slider::after {
    background-color: var(--text-color);
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 25px;
    z-index: -1;
    opacity: 0.25;
    transition: 0.2s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

.switch input:checked + .slider::after {
  background-color: var(--background-color);
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

.form-input-wrapper.space-between {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.newsletter-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

custom-popup {
    opacity: 0;
    transition: opacity .2s ease;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

custom-popup::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.4;
    z-index: -1;
}

.popup-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    width: 600px;
    background-color: var(--background-color);
    border-radius: 8px;
}

.popup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.popup-container h3 {
    font-size: 20px;
    line-height: 28px;
}

.close-popup-button {
    padding: 4px;
}

.close-popup-inner {
    width: 18px;
    min-width: 18px;
    height: 18px;
}

.popup-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.popup-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-item p,
.membership-tier p {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.popup-item small,
.membership-tier small {
    opacity: 1;
    font-weight: 300;
    font-size: 12px;
    line-height: 16px;
}

.tutorial-page .form-page-content {
    max-width: 900px;
}

.kg-video-player-container {
    display: none !important;
}

.kg-video-overlay {
    bottom: 60px;
}

.membership-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.membership-tier {
    color: var(--background-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--background-color);
}

.account-settings a {
    text-decoration: underline;
}

.account-buttons {
    display: flex;
    gap: 16px;
}

.change-plan {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    line-height: normal;
}

.tier-card {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    margin: 0px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.tier-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tier-card h2 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
}

.tier-price {
    display: flex;
    align-items: center;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
}

.price {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.tier-description {
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

@media (max-width: 767px) { 
    .form-page-content {
        padding: 120px 12px;
        padding-bottom: 36px;
    }

    .form-page-wrapper h1 {
        font-size: 24px;
        line-height: 28px;
    }

    .form-page-wrapper .subtitle {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
    } 

    .form-container {
        padding: 16px;
    }

    .form-success-container p {
        font-size: 14px;
        line-height: 20px;
    }

    custom-popup {
       align-items: flex-end !important;
    }

    .popup-container {
        border-radius: 8px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .popup-container h3 {
        font-size: 18px;
        line-height: normal;
    }

    .popup-top {
        gap: 16px;
    }

    .tier-card h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .tier-price {
        font-weight: 300;
        font-size: 14px;
        line-height: 20px;
    }

    .price {
        font-size: 18px;
        line-height: 26px;
    }

    .tier-description {
        font-size: 12px;
        line-height: 16px;
    }

    .account-buttons {
        flex-direction: column;
        gap: 16px;
    }

    .account-buttons .button[data-members-signout] {
        margin-top: 0px;
    }
}