/* ------------------------ MAIN STYLE ------------------------ */
body {
    font-family: 'Montserrat-SemiBold', sans-serif;
    background: #fff url('../assets/images/bg1.png') no-repeat center center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    color: #243843;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    
}

.payment-container {
    border-radius: 44px;
    padding: 30px 25px;
    box-shadow: 0 0 16px 4px rgba(0, 0, 0, 0.04);
    width: 550px;
}

/* ------------------------ HEAD STYLE ------------------------ */
.head img {
    cursor: pointer;
}

.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.head__title {
    font-size: 22px;
    margin: 0 10px;
    line-height: 120%;
}

/* ------------------------ CARD STYLE ------------------------ */
#main {
    position: relative;
}

.card::after {
    content: "";
    background: url('../assets/images/bg3.png') no-repeat center center;
    width: 174px;
    height: 193px;
    display: inline-block;
    position: absolute;
    top: 28px;
    right: 0px;
    z-index: 3;
}


.card__top {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.card__top-img {
    margin-right: 12px;
}


.card__main {
    background: linear-gradient(360deg, #0B2035 0%, #10263A 47%, #0F2B3D 100%);
    color: white;
    border-radius: 20px;
    width: 500px;
    height: 260px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 32px;
}

.card__main-top-text {
    font-family: 'Montserrat-Medium', sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.card__main-top-number {
    font-family: 'Montserrat-Medium', sans-serif;
    font-weight: 500;
    font-size: 32px;
}

.card__main-top-number-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copy-button {
    cursor: pointer;
    z-index: 10;
}


.card__main-bottom img {
    max-width: 100%;
    height: auto;
}


/* ------------------------ MESSAGE COPY ----------------------- */
.notification {
    position: fixed;
    right: -400px;
    bottom: 40px;
    background: #243843;
    color: white;
    border-radius: 500px;
    padding: 16px 24px 16px 64px;
    text-align: center;
    transition: right 0.5s ease-in-out;
    font-family: 'Montserrat-Medium', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.notification::before {
    content: '';
    position: absolute;
    background: url('../assets/images/copy-message.png');
    width: 32px;
    height: 32px;
    top: 9px;
    left: 19px;
}

.notification.show {
    right: 20px;
}


/* ----------------------- AMOUNT PAY STYLE ---------------------- */

.amount {
    padding: 32px 0;
    border-bottom: 1px solid #d6dbe0;
    border-top: 1px solid #d6dbe0;
    margin-bottom: 32px;
}

.amount__top {
    display: flex;
    margin-bottom: 16px;
}

.amount__text {
    margin-left: 12px;
}

.amount__bottom {
    display: flex;
    justify-content: space-between;
}

.amount__bottom-text {
    margin-left: 36px;
}

.amount__bottom-number {
    font-size: 24px;
    color: #4caf50;
}

/* ------------------------ACCORDION STYLE------------------------ */
.accordion {
    background: #f8f9fb;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion__content {
    margin: 6px 0;
    display: none;
    background: #f8f9fb;
    padding: 0 22px 22px 22px;
    flex-direction: column;
    font-size: 16px;
}

/* -------------------------- PAYMENT BUTTON  ---------------------*/
.btn {
    background: #4caf50;
    color: white;
    border: none;
    width: 100%;
    border-radius: 16px;
    padding: 22px;
    cursor: pointer;
    margin: 48px 0 78px 0;
    font-size: 18px;
    transition: background-color 0.3s ease;
}


.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}





/* ----------------------------MEDIA---------------------------- */



@media(max-width: 600px) {
    .card__main-top-number {
        font-size: 25px;
    }

    .card__main {
        width: 100%;
    }
}

@media(max-width: 505px) {
    .card::after {
        right: -30px;
        top: -40px;
    }
}


@media(max-width: 425px) {
    body {
        font-size: 16px;
    }

    .card__main-top-number {
        font-size: 20px;
    }

    .head__title {
        font-size: 20px;
        text-align: center;
    }

    .card::after {
        right: -30px;
        top: -40px;
    }
}

@media(max-width: 380px) {
    body {
        font-size: 14px;
    }

    .card__main-top-number {
        font-size: 16px;
    }
}

@media(max-width: 335px) {
    .card__main-top-number {
        font-size: 14px;
    }
}