.demo-form {
    max-width: 400px;
    margin: auto;
    font-family: "Inter", Sans-serif;
}


.demo-form .product-options {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.demo-form .product-option {
    position: relative;
}

.demo-form .product-option input[type="radio"] {
    display: none;
}

.demo-form .card {
    border: 1px solid #ECECEC;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    width: 115px;
    cursor: pointer;
    padding-top: 26px;
}

.demo-form .product-option input[type="radio"]:checked+.card {
    border: 2px solid #007bff;
}

.demo-form button[type="submit"] {

    width: 100%;
    background: #007bff;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.demo-form .checkmark-icon {
    position: absolute;
    top: 8px;
    right: 13px;
    width: 20px;
    height: 20px;
    display: none;
}

.demo-form .product-option {
    position: relative !important;
    pointer-events: unset !important;
}

.demo-form .product-option input[type="radio"]:checked+.card .checkmark-icon {
    display: block;
}

.demo-form .select-product {
    color: #84849A;
    padding: 2px;
    position: relative !important;
    width: 100%;
    text-align: center;
}

.demo-form .select-product span {
    padding-left: 5px;
    padding-right: 5px;

}

.demo-form .select-product .first-line {
    padding-bottom: 4px;
}

.demo-form .select-product .second-line {
    padding-bottom: 4px;
}

.demo-form .input-icon {
    position: absolute;
    right: 10px;
    top: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.demo-form .form-group input,
.demo-form .form-group select {
    width: 100%;
    padding: 12px 40px 12px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: transparent;
}

.demo-form #country_code {
    padding: 9px 14px 9px 9px;
}

.demo-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.demo-form .phone-wrapper {
    position: relative;
    display: flex;
    gap: 10px;
}

.demo-form .phone-wrapper select {
    width: 80px;
}

.demo-form .phone-wrapper input {
    flex: 1;
}

.demo-form .form-group {
    --pad: .95rem;
    position: relative;
}

.demo-form input {
    padding: var(--pad);
    border-radius: 8px;
    background-color: var(--bg);
    border: 1px solid #D5D4DC;
    color: inherit;
    width: 300px;
    outline: none;
}

.demo-form label {
    position: absolute;
    left: var(--pad);
    top: var(--pad);
    background: var(--bg);
    padding-inline: .3em;
    transition: transform 200ms;
    pointer-events: none;
    transform-origin: left;
    translate: -.3em;
    background: #fff;
    color: #84849A;
}

.demo-form .phone_label {
    margin-inline: 6.0em;
    margin-inline-end: 10px;
}

.demo-form input::placeholder {
    opacity: 0;
}

.demo-form input:focus+label,
.demo-form input:not(:placeholder-shown)+label {
    transform: translateY(calc(-50% - var(--pad))) scale(.8);
    color: var(--accent);
}

.demo-form select:focus+label,
.demo-form select:not(:placeholder-shown):valid+label {
    transform: translateY(calc(-50% - var(--pad))) scale(.8);
    color: var(--accent);
}

.demo-form input:focus {
    border: 1px solid #D5D4DC;
}

.demo-form select:focus {
    outline: 1px solid #D5D4DC;
}

@media (max-width: 768px) {
    .demo-form label {
        font-size: 14px;
    }
}

@media (max-width: 515px) {

    .demo-form .select-product img {
        width: 50px;
    }

    .demo-form .select-product {
        display: block;
        text-align: center;
    }
}

@media (max-width: 460px) {
    .demo-form .card {
        width: 84px;
    }
}

@media (max-width: 420px) {
    .otp-modal-content {
        width: 330px !important;
    }

    .otp-inputs {
        gap: 16px !important;
    }

    .otp-inputs input {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 420px) {
    .success-msg {
        width: 255px !important;
        height: 244px !important;
    }

    .success-msg h2 {
        font-size: 18px !important;
    }

    .success-msg p {
        font-size: 12px !important;
    }
}

/* for otp model============================= */

.otp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.otp-modal-content {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    max-width: 400px;
    text-align: left;
    width: 400px;
    height: 327px;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 15px 0;
}

.otp-modal .otp-inputs input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0;
}

#verifyOtpBtn {
    margin-top: 29px;
    padding: 12px 20px;
    background: #F2F2F2;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    cursor: not-allowed;
    width: 100%;
    color: #BDBDBD;
}

#verifyOtpBtn.enabled {
    background: #009EF7;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 12px;
    font-weight: 600;
    font-family: "Inter", Sans-serif;
}

#otpModal .otp-model-title {
    font-size: 17px;
    font-weight: 700;
    font-family: Manrope;
    color: #111111;
}

#otpModal .otp-model-data-meta {
    font-size: 12px;
    font-weight: 400;
    font-family: "Inter", Sans-serif;
    color: #84849A;
    padding-top: 7px;
}

.otp-model-header {
    padding-top: 7px;
}

#otpModal #user-number-display {
    padding-right: 3px;
}

#otpModal .enter-otp-label {
    margin-top: 23px;
    font-size: 12px;
    font-weight: 500;
    font-family: "Inter", Sans-serif;
    color: #333333;
}

#otpModal .otp-validation {
    display: flex;
    justify-content: space-between;
}

#otpModal #otp-notification {
    font-size: 12px;
    font-weight: 400;
    font-family: "Inter", Sans-serif;
    color: #736A85;
}

#otpModal #otp-timer {
    font-size: 12px;
    font-weight: 500;
    font-family: "Inter", Sans-serif;
    color: #009EF7;
}