body {
    background-color: #f6f8fc;
    margin: 0;
    font-family: "Roboto", sans-serif;
}

.reg-page-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0px 15px;
    gap: 48px;
}

.reg-plans-section {
    flex: none;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reg-free-plan-left {
    line-height: 1 !important;
}

.intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.left-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.left-heading h2 {
    font-weight: 600;
    font-size: 22px;
    line-height: 22px;
    color: #000000;
}

.left-heading p {
    font-size: 16px;
    line-height: 22px;
    color: #363b42;
}

.toggle-container {
    display: flex;
    align-items: center;
    background-color: #E7ECFA;
    padding: 4px;
    border-radius: 8px;
}

.toggle-container button {
    border-radius: 8px;
    padding: 4px 8px;
    background-color: transparent;
    border: none;
    font-size: 14px;
    line-height: 20px;
    color: #7d8590;
    min-width: 54px;
    transition: all 0.2s ease-in-out;
}

.toggle-container button:hover {
    color: #000000;
}

.toggle-container button.active {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0px 2px 2px 0px #00000014;
}

.free-plan-btn {
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: #F1F3F7;
    border: none;
    font-size: 12px;
    line-height: 18px;
    color: #000000;
    padding: 2px 10px;
    transition: all 0.2s ease-in-out;
}

.free-plan-btn:hover {
    background-color: #E3E7ED;
}

.reg-plan-card {
    background: #ffffff;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.reg-free-plan {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    gap: 20px;
    border-radius: 12px;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
    border: 2px solid transparent;
    margin-bottom: 0px;
}

.reg-free-plan.selected {
    border: 2px solid #a28cff;
}

.reg-free-plan-title {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 16px;
    color: #000000;
    margin: 0 0 4px 0;
}

.reg-free-plan-desc {
    line-height: 16px;
}

.auth-form .submit-btn,
.modal .submit-btn {
    max-width: 100%;
    width: 100%;
    font-weight: 400;
    background: var(--color-light-purple);
    border-radius: var(--border-radius-large);
    color: #fff;
    padding: 8px 54px;
    border: none;
    margin-top: 5px;
}

.reg-free-plan-desc {
    font-size: 11px;
    color: #363b42;
    margin: 0;
}

.reg-free-plan-right {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 4px;
    min-width: 92px;
}

.reg-free-price {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    color: #000000;
}

.reg-free-term {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #9da9b5;
}

.reg-selected-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #a28cff;
    border-radius: 0px 10px 0px 8px;
    padding: 2px 10px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    color: #ffffff;
    display: none;
    z-index: 2;
}

.reg-free-plan.selected .reg-selected-badge,
.reg-premium-plan.selected .reg-selected-badge {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.reg-premium-plans-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reg-premium-plan {
    border: 2px solid #eaeaea;
    border-radius: 12px;
    background: #ffffff;
    padding: 16px;
    gap: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    min-height: 246px;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0px;
}

.reg-premium-plan.selected {
    border: 2px solid #a28cff;
}

.reg-popular-plan {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.reg-popular-ribbon {
    position: absolute;
    top: 10px;
    right: -25px;
    background: linear-gradient(90deg, #ff3d3d 20%, #ff7a40 70%, #ff9742 100%);
    box-shadow:
        0px 4px 6px 2px rgba(0, 0, 0, 0.08),
        inset 0px -2px 2px -1px rgba(0, 0, 0, 0.24);
    color: white;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 10px;
    line-height: 12px;
    padding: 3px 25px;
    transform: rotate(45deg);
    text-transform: uppercase;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.reg-plan-name {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #0f172a;
}

.reg-plan-price {
    display: flex;
    align-items: center;
}

.reg-amount {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: #000000;
}

.reg-term {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #9da9b5;
    margin-left: 4px;
    width: 90px;
}

.reg-plan-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-plan-features li,
.reg-plan-features li * {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
    display: flex;
    align-items: flex-start;
    text-wrap: nowrap;
}

.reg-plan-features .credit-point span,
.reg-plan-features .per-submission span {
    margin-right: 2px;
}

.reg-plan-features .file-size span {
    margin-left: 2px;
}

.reg-check-icon {
    width: 12px;
    margin-right: 6px;
    margin-top: 2px;
}

.reg-select-plan-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px 12px;
    gap: 4px;
    background: #f1f3f7;
    border-radius: 8px;
    width: 100%;

    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    color: #000000;

    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.reg-select-plan-btn:hover {
    background: #e8eaf0;
}

.reg-select-plan-btn.selected {
    background: #a28cff;
    color: #ffffff;
    padding: 6px 12px;
    gap: 4px;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.reg-terms-text {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #363b42;
    display: flex;
    align-items: center;
}

.reg-info-icon-wrapper {
    margin-right: 6px;
    display: flex;
    align-items: center;
}

.reg-terms-text a {
    color: #a28cff;
    text-decoration: underline;
    margin: 0 3px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.reg-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    gap: 24px;
    min-height: 532px;
    max-width: 470px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
}

.modal-content {
    margin: unset;
    box-shadow: none;
    width: 100%;
    padding: unset !important;
}

.toggle-auth-text a {
    font-size: inherit;
    color: var(--color-light-purple);
}

.toggle-auth-text {
    color: #363B42;
    font-size: var(--font-size-x-small);
}

.error {
    color: #e43845;
}

.limit-modal-body img {
    width: 40px;
    height: 40px;
    margin: auto;
}

.limit-modal-body .heading {
    font-size: 22px !important;
    line-height: 22px;
}

.hr-text {
    line-height: 20px;
}

.mob-display {
    display: none;
}

.login-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1em;
}

.reg-plan-card.reg-premium-plan .reg-selected-badge {
    display: none !important;
}

.mob-tik-submission,
.mob-tik-submission * {
    display: flex;
    gap: 4px;
    font-size: 12px;
    align-items: center;
}

@media (max-width: 1050px) {
    .reg-page-container {
        flex-direction: column;
        align-items: center;
        margin-top: 24px;
    }

    .reg-plans-section,
    .reg-form-container {
        width: 100%;
        max-width: 550px;
        gap: 16px;
    }
}

@media (max-width:557px) {
    .reg-premium-plan {
        padding: 12px;
        gap: 4px;
        min-height: 90px;
        max-width: 109px;
    }

    .auth-form .submit-btn,
    .modal .submit-btn {
        padding: 4px 24px;
        font-size: smaller;
    }

    .reg-plan-card.reg-premium-plan.selected .reg-selected-badge {
        display: block !important;
    }

    .reg-plan-features,
    .reg-select-plan-btn,
    .reg-popular-ribbon,
    .reg-free-plan-desc {
        display: none;
    }

    .reg-plan-name {
        font-size: 14px;
        line-height: 20px;
    }

    .reg-free-plan-title {
        font-size: 16px;
    }

    .reg-free-plan {
        padding: 12px;
        gap: 4px;
    }

    .reg-free-price {
        font-size: 24px;
        line-height: 32px;
    }

    .reg-free-term {
        font-size: 14px;
        line-height: 26px;
    }

    .reg-selected-badge {
        line-height: 12px;
        padding: 2px 5px;
    }

    .reg-free-plan-right {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 4px;
    }

    .reg-terms-text {
        display: none;
    }

    .mob-display {
        gap: 10px;
        display: flex;
        flex-wrap: wrap;
    }

    .limit-modal-body {
        display: none;
    }

    .reg-form-container {
        min-height: 324px;
    }

    .hr-text {
        display: none;
    }

    .reg-form-container {
        padding: 12px;
    }

    .mt-1em {
        margin-top: 0.5rem;
    }

    .reg-page-container {
        gap: 24px;
    }

    .form-group input:focus {
        background-color: #F9F9F9;
        outline: 1px solid #EAEAEA;
    }
}

@media (width < 375px) {
    .reg-premium-plans-grid {
        flex-wrap: wrap;
    }
}
