* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #B1E50E;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-bottom: 4rem;
    flex-direction: column;
}

.offer-container {
    background-color: #fff;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}


h2 {
    color: #000;
    font-size: 24px;
    margin-bottom: 5px;
}

p {
    font-size: 16px;
    color: #333;
}

.upi-input-section {
    margin: 20px 0;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.upi-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #B1E50E;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.upi-logo {
    width: 30px;
    margin-right: 10px;
}

.form-control {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 16px;
}

.submit-btn {
    background-color: #B1E50E;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.important-note {
    background-color: #ffd9d9;
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0;
    font-size: 12px;
    color: #333;
}

.how-to-avail {
    text-align: left;
}

.how-to-avail h3 {
    background-color: #B1E50E;
    padding: 5px;
    border-radius: 5px;
    font-size: 18px;
    color: #333;
    text-align: center;
}

 ul {
    padding-left: 20px;
    font-size: 14px;
    margin-top: 10px;
}

.how-to-avail li {
    margin-bottom: 10px;
}



        .box {
            width: 380px;
            height: 773px;
            background-color: white;
            position: relative;
            border-radius: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 50px;
            box-sizing: border-box;
            margin-top: 25px;
             position: relative;

        }

        .top-box {
            width: 60%;
            height: 65px;
            background-color: white;
            border: none;
            position: absolute;
            top: -25px;
            left: 19%;

        }

        @keyframes openBox {
            from {
                transform: scaleX(0);
            }

            to {
                transform: scaleX(1);
            }
        }

        .box h2 {
            margin: 0;
            padding: 10px 0;
        }

        .box h4 {
            margin: -5px 0 0 0;
        }

        hr {
            width: 100%;
            border: none;
            height: 5px;
            background-color: #B1E50E;
            margin: 20px 0;
        }

        .inputbox {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #B1E50E;
            width: 199px;
            height: 31px;
            margin-left: -141px;
            overflow: hidden;
            border-radius: 20px;
            margin-top: 8px;

        }

        .box .inputbox h4 {
            margin: 0;
            padding: 0;
        }

        .input-container {
            display: flex;
            align-items: center;
            margin-top: 1px;
            margin-left: 3px;
        }

        .input-container img {
            height: 25px;
            margin-right: 8px;
        }

        .input-container .input {
            height: 28px;
            width: 245px;
            flex-grow: 1;
            border: 3px solid black;
            border-radius: 20px;
            font-size: 15px;
            font-weight: bold;
            padding-left: 10px;

        }

        .submit {
            background-color: #B1E50E;
            width: 134px;
            height: 39px;
            margin-top: 20px;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            font-size: 18px;
        }

        input:focus,
        textarea:focus,
        select:focus,
        button:focus {
            outline: none;
            box-shadow: none;
        }

        .alert {
            background-color: #F8D7DA;
            border: 1px solid #f08080;
            padding: 10px;
            margin-top: 25px;
            /*animation: openBox 1.1s ease-in-out forwards;*/
        }

        .steps {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #B1E50E;
            width: 199px;
            height: 31px;
            margin-left: -105px;
            overflow: hidden;
            margin-top: 25px;
            font-size: 20px;
        }

        .box .steps h4 {
            margin: 0;
            padding: 0;

        }

        .step,
        .step2,
        .step3 {
            position: relative;
            left: 5px;
            display: flex;
            align-items: baseline;
            width: 350px;
        }

        .step p {
            display: inline-block;
            font-weight: bold;
            margin-right: 10px;
        }

        .step2 p {
            display: inline-block;
            font-weight: bold;
            margin-right: 4px;

        }

        .step3 p {
            display: inline-block;
            font-weight: bold;
            margin-right: 4px;

        }

        .credited {
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #B1E50E;
            width: 246px;
            height: 38px;
            margin-left: -15px;
            overflow: hidden;
            margin-top: 18px;
            font-size: 15px;
            font-weight: bold;
            margin-bottom: 20px;

        }



        .top-box img {

            overflow: hidden;
        }

        @media (max-width: 428px) {
            .box {
                width: 91%;
            }
        }

        @media (max-width: 400px) {

            .step p,
            .step2 p,
            .step3 p {
                font-size: 15px;
            }

        }

        @media (max-width: 368px) {

            .inputbox {
                margin-left: -131px;
                width: 175px;
            }

            .input-container input {
                width: 230px;
            }

            .step,
            .step2,
            .step3 {
                left: 2px;
                width: 292px;
            }

            .steps {
                margin-left: -104px;
            }

            .alert {
                font-size: 15px;
            }
        }

        #spinner {
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 4px solid gray;
            border-top: 4px solid #B1E50E;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            /*margin-left: 10px;*/
            vertical-align: middle;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .spin {

            background-color: #B1E50E;
            width: 134px;
            height: 39px;
            margin-top: 20px;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            font-size: 18px;
            display: none;
            justify-content: center;
            align-content: center;
            animation: shrink 1s forwards;
        }

        @keyframes shrink {
            from {
                width: 134px;
                background-color: #B1E50E;
            }

            to {
                width: 44px;
                background-color: rgba(0, 0, 0, 0);
            }
        }
        .suggestions {
           border: 1px solid #ccc;
    display: none;
    position: absolute;
    background-color: white;
    z-index: 1;
    max-height: 187px;
    max-width: 333px;
    overflow-y: auto;
    width: 290px;
    font-weight: 200;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    top:20rem;
        }

        
        .cb {
            position: relative;
            width: 300px;
            height: 60px;
            margin-top: 40px;
            background-color: white;
            border: 2px solid #ccc;
            display: none;
            justify-content: center;
            align-items: center;
            border-radius: 200px;
            overflow: hidden;
            text-align: center;
            font-family: Arial, sans-serif;
        }

        .cb::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background-color: #B1E50E;
            border-radius: 200px;
            transition: left 1.3s linear;
            z-index: 1;
        }

        .coin {
            position: absolute;
            /*display: none;*/
            width: 50px;
            height: 50px;
            animation: moveAndRotateRight 1.3s linear forwards, flip 1s ease-in-out 1.3s forwards;
            z-index: 2;
        }

        .text {
            position: absolute;
            width: 100%;
            z-index: 1;
            color: white;
            font-size: 16px;
            font-weight: bold;
        }

        @keyframes moveAndRotateRight {
            0% {
                left: -50px;
                transform: rotate(0deg);
            }
            100% {
                left: 83%;
                transform: rotate(720deg);
            }
        }

        @keyframes flip {
            0% {
                transform: rotateY(0deg);
            }
            100% {
                transform: rotateY(360deg);
            }
        }

        .cb.fill-bg::before {
            left: 0;
        }
        .box h2 {
    margin: 0;
    padding: 10px 0;
    font-size: 29px;
}
.top-box img {
    overflow: hidden;
    /*border: 4px solid darkblue;*/
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
        border-radius: 20px;
}
.top-box {
    background-color: transparent; 
    border-radius: 15px;
}

.box2 {
      width: 360px;
      height: 200px;
      background-color: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      display: none;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      border-radius: 50px;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
    }

    .box2 h3 {
      margin: 0;
    }

    .box2 p {
      margin-top: auto;
      font-size: 15px;
    }

    .box2 button {
      margin-top: -5px;
      color: white;
      background-color: blue;
      border: none;
      width: 150px;
      height: 35px;
      border-radius: 40px;
      cursor: pointer;
    }
    
    .logo{
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin-bottom: 10px;
       
}
        