﻿
.header-logo-div {
    margin-right: 10px;
}

.header-logo-image {
    width: 134px;
    margin: 0 auto;
    text-align: center;
}
.header-row {
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}

/* General Style */
/* General Style */
.seller-name-lable {
    color: #007bff;
    font-weight: bold;
    width: auto;
    margin-right: 12px;
    text-align: right;
}

.header-logo-user textarea {
    text-align: right;
    /* font-size: 32px;*/
}

/* Extra compact popup */
.swal2-ultracompact {
    max-width: 220px !important;
    padding: 0.75rem !important;
    box-sizing: border-box;
}

/* Smaller icon box */
.swal2-ultracompact-icon.swal2-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 18px !important;
    line-height: 32px !important;
    margin: 0 auto 6px !important;
}

/* Smaller exclamation mark or check icon */
.swal2-icon-content {
    font-size: 18px !important;
}

/* Smaller title and content text */
.swal2-ultracompact-title {
    font-size: 14px !important;
    margin-bottom: 4px !important;
}

.swal2-ultracompact-content {
    font-size: 13px !important;
}

div:where(.swal2-icon).swal2-warning {
    border-color: #007bffab;
    color: #007bffab;
}

@-moz-document url-prefix() {
    /* Firefox-specific styles */
    .swal2-popup {
        z-index: 999999 !important;
        position: fixed !important;
    }
}

/* For screens max 400px */
@media (max-width: 400px) {
    .header-row {
        justify-content: space-between;
        padding: 0 15px;
    }

    .top-header-social {
        display: flex;
        gap: 2px;
        padding: 0;
        justify-content: center;
        align-items: center;
        font-size: 13px;
    }

    .header-logo-image {
        width: 70px;
    }

    .header-logo-user,
    .header-logo-user textarea {
        text-align: right;
        font-size: 18px;
    }

    .seller-name-lable {
        font-size: 14px
    }

    .top-header-social a img {
        width: 23px;
    }
    /*.book-font-size {
        font-size:12px;
    }*/
}

/* For screens max 575px */
@media only screen and (max-width: 575px) {
    .warning-text {
        font-size: 15px;
    }
}

@media only screen and (min-width: 340px) {
    .img-responsive-custom {
        width: 60px;
    }

    .button-container-flex {
        display: block;
    }
}
@media only screen and (min-width: 320px) {
    .img-responsive-custom {
        width: 60px;
    }

    .button-container-flex {
        display: block;
    }
    /*.book-font-size {
        font-size: 12px;
    }*/
}

@media only screen and (max-width: 300px) {
    .header-logo-user, .header-logo-user textarea {
        text-align: right;
        font-size: 14px;
    }

    .seller-name-lable {
        font-size: 11px;
    }

    .book-font-size {
        font-size: 12px;
    }

    .paypal-button {
        width: 80px !important;
    }
}


/* For screens between 350px and 450px */
@media only screen and (min-width: 350px) and (max-width: 450px) {
    .textbox-label {
        font-size: 18px !important;
    }

    .payNowButton {
        width: 90%;
    }

    .warning-text {
        font-size: 10px;
    }

    .img-responsive-custom {
        width: 80px;
    }

    .paypal-button {
        width: 80px !important;
    }
}


/* For screens max 390px */
@media only screen and (max-width: 390px) {

    .payNowButton {
        width: 90%;
    }

    .paypal-button {
        width: 80px !important;
    }

    .col-3 {
        flex: 0 0 28%;
    }

    .warning-text {
        font-size: 10px;
    }

    .img-responsive-custom {
        width: 80px;
    }
}

.button-container-flex {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
    margin: 10px 0px
}

    .button-container-flex > button {
        border: 0;
        box-shadow: none;
        outline: none;
        width: 100%;
    }

        .button-container-flex > button img {
            width: 96px;
        }

.applePay {
    background-color: #000000;
}

.amazonPay {
    background-color: #fed314;
}

button#gpay-button-online-api-id {
    width: 100%;
}

/* For screens min 600px */
@media only screen and (min-width: 600px) {
    .page {
        padding-left: 15%;
        padding-right: 15%;
        overflow: auto;
        height: auto;
    }

    .header-logo-user textarea {
        text-align: right;
        font-size: 23px;
    }

    .payNowButton {
        width: 75%;
    }

    .warning-text {
        font-size: 15px;
    }

    .img-responsive-custom {
        width: 80px;
    }

    .button-container-flex {
        flex-direction: row;
    }

        .button-container-flex > button {
            width: auto;
            margin-bottom: 0;
        }

    .paypal-button {
        width: 80px;
    }
}

@media only screen and (min-width: 566px) and (max-width: 930px) {
    .button-container-flex {
        flex-direction: column;
    }
}

.book-item {
    margin-bottom: 25px;
}

    .book-item a.AddBook {
        display: none;
    }

    .book-item:last-child a.AddBook {
        display: inline-block;
    }


#amazonPay-button-container {
    outline: none;
    border: 0px;
    background: #ffd814;
    border-radius: 4px;
    height: 40px;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

    #amazonPay-button-container > img {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 11px;
    }


    #amazonPay-button-container:hover {
        filter: brightness(90%);
    }


.textbox-label {
    border: none;
    background: transparent;
    pointer-events: none; /* Prevent interaction */
    font-weight: bold;
    color: black; /* Make it look like a label */
    font-size: 25px;
    resize: none; /* Disable resizing */
    overflow: hidden; /* Hide scrollbars */
    white-space: pre-wrap;
}


.warning-container {
    display: grid;
    grid-template-columns: auto 1fr; /* Icon takes auto width, text takes the remaining */
    align-items: center; /* Align items in a single row */
    gap: 10px; /* Space between icon and text */
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: auto;
}

.warning-icon {
    width: 24px;
    height: 24px;
}

.warning-text {
    color: black;
    /*font-size: 10px;*/
    word-wrap: break-word;
    line-height: normal
}


.border-style {
    border-radius: 10px;
    border: 1px solid #007bffab
}

.icon-lock {
    padding-right: 30px;
    background: no-repeat right;
    background-size: 22px;
    background-image: url('../../content/img/lock.svg');
    background-position: center right 7px
}

.icon-question {
    padding-right: 30px;
    background: no-repeat right;
    background-size: 22px;
    background-image: url('../../content/img/question-mark.png');
    background-position: center right 7px
}
.icon-info {
    padding-right: 30px;
    background: no-repeat right;
    background-size: 22px;
    background-image: url('../../content/img/info.svg '); 
    background-position: center right 7px
}
