:root {
    --marineBlue: hsl(213, 96%, 18%);
    --purplishBlue: hsl(243, 100%, 62%);
    --pastelBlue: hsl(228, 100%, 84%);
    --lightBlue: hsl(206, 94%, 87%);
    --strawberryRed: hsl(354, 84%, 57%);
    --coolGray: hsl(231, 11%, 70%);
    --lightGray: hsl(229, 24%, 87%);
    --magnolia: hsl(217, 100%, 97%);
    --alabaster: hsl(231, 100%, 99%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --red-point: #e26232;
}

p {
    margin: 0;
    font-size: 16px;
}

.formParentWrapper {
    display: flex;
    flex-direction: column;
    min-width: 100%;
    min-height: 520px;
    border-radius: 14px;
    padding: 12px;
    background-color: var(--white);
    margin-top: 20px;
}

.steps {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 28px;
    background-color: #f3f3f3;
    border-radius: 12px;
    padding-block: 32px;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border: 1px solid #5c5c5c;
    color: #5c5c5c;
}

.step.active {
    background-color: var(--white);
    border: 1.875px solid var(--white);
    color: var(--black);
    font-weight: bold;
}

.stepInfo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.lastStep {
    visibility: hidden;
}

.label {
    font-size: 10px;
    color: #626262;
    font-weight: 400;
}

.info {
    margin-top: 4px;
    color: #5c5c5c;
    font-weight: 550;
    font-size: 12px;
    letter-spacing: 1px;
}

.rightSectionParent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.rightSectionWrapper {
    margin-top: 32px;
    width: 75%;
    align-self: center;
}

.formContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mainForm {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.personal {
    font-size: 36px;
    font-weight: 700;
    font-variant: normal;
    margin-bottom: 8px;
    color: var(--marineBlue);
}

.personalInfo {
    color: var(--coolGray);
    font-size: 14px;
    font-weight: 450;
}

.form {
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 24px; */
}

.fieldParent input {
    width: 100%;
    padding-inline: 8px;
    padding-block: 12px;
    border-radius: 8px;
    border: 1.5px solid var(--lightGray);
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--marineBlue);
    cursor: pointer;
}

.fieldParent input:focus {
    border: 1.5px solid var(--purplishBlue);
}

.fieldParent input::placeholder {
    color: var(--coolGray);
    font-size: 14px;
    font-weight: 550;
}

.labelErrorParent {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
}

label {
    font-weight: 500;
    font-size: 14px !important;
    color: var(--marineBlue) !important;
}

input[type="number"] {
    appearance: textfield;
}

.error {
    /* display: none; */
    color: var(--strawberryRed) !important;
    font-weight: 600;
}

.showError {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.borderError {
    border: 1.875px solid var(--strawberryRed) !important;
}

.hide {
    display: none;
}

.blue {
    color: var(--marineBlue) !important;
    font-size: 12px;
}

.hideBtn {
    visibility: hidden;
}

.showPrice {
    display: block;
}

.btnWrapper {
    width: 75%;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
    justify-content: space-between;
    padding-bottom: 16px;
}

.next {
    width: 100px;
    font-size: 14px;
    padding-inline: 4px;
    height: 44px;
    border-radius: 5px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--red-point);
    border: 1px solid var(--red-point);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all ease-out 0.2s;
}

.next.confirm {
    background-color: var(--purplishBlue) !important;
    border: 1px solid var(--purplishBlue) Im !important;
}

.prev {
    color: var(--coolGray);
    font-weight: 700;
    cursor: pointer;
    transition: all ease-out 0.2s;
}

.prev:hover {
    color: var(--marineBlue);
}

.prev:active {
    transform: translateY(2px);
}

button:active {
    transform: translateY(2px);
}

.planParent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.plan {
    padding: 16px;
    border-radius: 8px;
    background-color: var(--white);
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 100px;
    border: 1.875px solid var(--lightGray);
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px,
        rgba(9, 30, 66, 0.13) 0px 0px 0px 0px;
}

.price {
    font-weight: 500;
    color: gray;
}

.plan img {
    width: 32px;
    height: 32px;
}

.planTitle {
    font-weight: 700;
    color: var(--marineBlue);
}

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

.plan.border {
    border: 1.875px solid var(--purplishBlue);
    background-color: var(--magnolia);
}

.random {
    font-size: 14px;
    color: var(--coolGray);
    font-weight: 500;
}

/* Check Box UI*/

.planTypeParent {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    align-items: center;
    margin-top: 16px;
}

.switchType {
    color: var(--coolGray);
    font-weight: 700;
}

.activeType {
    color: var(--marineBlue);
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

input[type="checkbox"]:checked + .slider::before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

.slider.round {
    border-radius: 16px;
}

.slider.round::before {
    border-radius: 50%;
}

/* Check Boxes*/
.checkBoxesParent {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkBoxContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    border: 1.875px solid var(--lightGray);
    cursor: pointer;
}

.checkBoxInfo {
    display: flex;
    gap: 24px;
    cursor: pointer;
}

.checkBoxInfo p {
    margin: 0;
    margin-block: 4px;
    align-items: center;
}

.checkBoxContainer.cardBorder {
    border: 1.875px solid var(--purplishBlue);
    background-color: var(--alabaster);
}

.checkBoxInfo input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    vertical-align: middle;
    cursor: pointer;
    accent-color: var(--purplishBlue);
    margin-top: 8px;
    border: 1.875px solid var(--lightGray) !important;
}

.addTitle {
    font-weight: 700;
    color: var(--marineBlue);
}

.addOnPrice {
    color: var(--purplishBlue);
    font-weight: 600;
}

/* Summary  */

.billingContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 8px;
}

.billingParent {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 24px;
    background-color: var(--magnolia);
    border-radius: 8px;
}

.planInfo {
    display: flex;
    justify-content: space-between;
    border-bottom: 1.875px solid var(--lightGray);
    padding-bottom: 20px;
}

.planInfo p {
    margin: 0;
}

.selectedPlan {
    font-weight: 700;
    font-size: 14px;
    color: var(--marineBlue);
}

.billingContainer {
    margin-top: 16px;
}

.selectedPlanBill {
    color: var(--marineBlue);
    font-weight: 700;
    font-size: 14px;
}

.changeLink {
    text-decoration: underline;
    cursor: pointer;
    color: var(--coolGray);
    font-weight: 500;
    padding-top: 4px;
}

.changeLink:hover {
    color: var(--purplishBlue);
}

.ON {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.ON p {
    margin: 0;
}

.totalBill {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    padding-top: 8px;
}

.planError {
    color: var(--strawberryRed);
    display: none;
    font-weight: 700;
    margin-bottom: -8px;
}

.dynamicData {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 16px;
}

.adTitle {
    color: var(--coolGray);
    font-weight: 500;
    font-size: 14px;
    margin-left: 4px;
}

.adPrice {
    color: var(--marineBlue);
    font-weight: 500;
    font-size: 14px;
}

.finalPrice {
    color: var(--purplishBlue);
    font-size: 20px;
    font-weight: 700;
}

/*Thank you*/
.thankContainer {
    min-height: 300px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
}

.thankParent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.thankParent img {
    width: 64px;
    height: 64px;
}

.thankyou {
    font-size: 32px;
    font-weight: 700;
    margin-top: 12px;
}

.thankMsg {
    max-width: 390px;
    text-align: center;
    font-size: 14px;
    color: var(--coolGray);
    font-weight: 450;
    line-height: 20px;
}

@media all and (max-width: 994px) {
    .formParentWrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 520px;
        border-radius: 14px;
        padding: 0;
        margin-top: 0px;
    }

    .steps {
        display: flex;
        flex-direction: row;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 0;
        width: 100% !important;
        padding-inline: 28px;
        border-radius: 0;
    }

    .rightSectionWrapper {
        width: 92% !important;
        align-self: center;
        background-color: var(--white);
        border-radius: 12px;
        padding-block: 32px;
        padding-bottom: 40px;
    }

    .mainForm {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding-inline: 24px;
    }

    .info {
        display: none;
    }

    .btnWrapper {
        width: 100% !important;
        background-color: var(--white);
        padding-bottom: 0 !important;
        padding-inline: 14px;
        padding-block: 16px !important;
    }

    .planParent {
        flex-direction: column !important;
    }

    .plan {
        padding-top: 24px !important;
        flex-direction: row !important;
        gap: 16px !important;
        min-height: 90px !important;
    }

    .checkBoxInfo {
        gap: 16px !important;
    }

    .thankMsg {
        max-width: 375px !important;
        padding-inline: 16px;
    }

    .thankContainer {
        align-items: center !important;
    }

    .label {
        display: none;
    }
}
