.container {
    position: relative;
    font-family: "Poppins", "Roboto", sans-serif;
    background: #fff;
    color: #000;
    width: 90%;
    max-width: 550px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    border-radius: 10px;
    margin-bottom: 40px;
}

.thank_you_image {
    width: 90%;
    max-width: 350px;
}

.message {
    margin: 5px 0;
    font-size: 12px;
    color: #333;
    text-align: center;
}

.head {
    margin: 5px 0;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
}

.button {
    font-family: "Roboto", sans-serif;
    margin: 10px 0 0 0;
    /* height: 36px; */
    width: 100%;
    max-width: 430px;
    font-size: 12px;
    border: none;
    outline: none;
    background: var(--gradient);
    border-radius: 5px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button:active {
    transform: scale(0.98);
}

.container::before {
    position: absolute;
    content: "";
    top: 30%;
    left: -20px;
    width: 60px;
    height: 30px;
    background-color: var(--primary-color);
    transform: rotate(90deg);
    border-top-left-radius: 110px;
    border-top-right-radius: 110px;
    border-bottom: 0;
}
.container::after {
    position: absolute;
    content: "";
    top: 30%;
    right: -20px;
    width: 60px;
    height: 30px;
    background-color: var(--primary-color);
    transform: rotate(-90deg);
    border-top-left-radius: 110px;
    border-top-right-radius: 110px;
    border-bottom: 0;
}

.upgrade {
    margin: 10px 0 30px 0;
    padding: 20px 40px 0 40px;
    width: 80%;
    border-top: 1px solid #ccc;
}

.upgrade_message {
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
}

.upgrade_details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #efefef;
    padding: 5px 10px;
    border-radius: 5px;
}

.upgrade_icon {
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    border-radius: 5px;
}
.upgrade_icon img {
    width: 35px;
}

.upgrade_pricing {
    flex: 1;
    font-size: 14px;
    margin: 0 10px;
}
.upgrade_price {
    font-weight: 600;
    font-size: 16px;
}

.buy_now {
    width: 80px;
}

.payment_info {
    width: 80%;
    text-align: center;
    font-size: 14px;
    margin: 10px 0;
}

.app_info {
    background: var(--secondary-color);
    display: flex;
    margin: 20px 0;
    padding: 10px;
    border-radius: 10px;
}
.app_info img {
    width: 100%;
    cursor: pointer;
}

@media screen and (max-width: 550px) {
    .container {
        padding: 30px 20px;
    }
    .message {
        font-size: 10px;
        margin: 3px 0;
    }
    .head {
        font-size: 22px;
        margin: 3px 0;
    }
    .upgrade {
        padding: 20px 0 0 0;
        width: 90%;
    }
    .container::before {
        height: 40px;
        width: 40px;
        left: -20px;
    }
    .container::after {
        height: 40px;
        width: 40px;
        right: -20px;
    }
}

@media screen and (max-width: 450px) {
    .container {
        padding: 30px 10px;
    }

    .upgrade {
        width: 100%;
    }
    .upgrade_icon {
        height: 35px;
        width: 35px;
    }
    .upgrade_icon img {
        height: 25px;
    }
    .upgrade_pricing_message {
        font-size: 10px;
    }
    .upgrade_price {
        font-size: 12px;
    }
    .buy_now {
        font-size: 10px;
        width: 70px;
    }
}

@media screen and (max-width: 300px) {
    .thank_you_image {
        width: 80%;
    }
    .message {
        font-size: 8px;
    }
    .head {
        font-size: 14px;
    }
    .button {
        font-size: 8px;
        height: 30px;
    }
    .payment_info {
        font-size: 12px;
    }
    .app_info {
        flex-direction: column;
    }
    .app_info img {
        width: 100%;
    }
}
