﻿:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --danger-color: #ef476f;
    --success-color: #06d6a0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden !important;
}

.payBox {
    border: none;
    border-radius: 25px;
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.payBox_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal popup (viewMoreBtn) */
#detailsModal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Tooltip */
.tooltip-container {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.tooltip-image {
    display: none;
    position: absolute;
    top: -170px;
    right: 0;
    z-index: 10;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.tooltip-container:hover .tooltip-image {
    display: block;
}

/* Loader style */
.map-loader-screen {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #fff, #ffffff73);
    font-family: Arial, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(to right, #e98a10, #f6de72);
    animation: spin 1s linear infinite;
}

.inner-circle {
    width: 90%;
    height: 90%;
    background-color: white;
    border-radius: 50%;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.loader-text {
    margin-top: 20px;
    font-size: 1.2em;
    color: black;
    text-align: center;
    font-weight: bold;
}

    .loader-text span::after {
        content: '';
        display: inline-block;
        animation: dots 1.5s steps(4, end) infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }

    100% {
        content: '';
    }
}

/* Animation styles */
#InstantPaySection, #ipgSection {
    transition: all 0.3s ease;
}

#accountNumberDisplay {
    display: block !important;
    visibility: visible !important;
}

#ipgSection {
    display: none;
    opacity: 0;
}

/* Heading */
h2.heading01 {
    font-size: 24px;
    position: relative;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    h2.heading01::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 0;
        width: 60px;
        height: 5px;
        background-color: #922582;
        border-radius: 5px;
    }

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

select, input[type="text"], input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

select, input[type="number"], input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}


    select:focus, input:focus {
        outline: none;
        border-color: #0d43bb;
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        background-color: #fff;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon input {
        padding-right: 40px !important;
    }

/* Button CSS */
.custom-btn {
    /*    background: #e98a10;
*/  background: #922582;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 10px;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
    box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.5), inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    touch-action: manipulation;
}

    .custom-btn:hover {
        background: #47093A;
        color: #fff;
        box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.6), inset -1px -1px 3px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

#submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
}

    #submitBtn:hover {
        transform: translateY(-2px);
    }

.refresh-btn {
    height: 49px;
    width: 50px;
    border-radius: 12px;
    background-color: white;
    border: 3px solid #e9ecef;
    color: #6c757d;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

    .refresh-btn:hover {
        background-color: #fceffd;
        color: #922582;
        border-color: #922582;
    }

    .refresh-btn i {
        transition: transform 0.3s ease;
    }

    .refresh-btn:hover i {
        transform: rotate(180deg);
    }

.scroll-down-btn {
    display: inline-block;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 45px;
    border-radius: 20px;
    background: linear-gradient(to right, #e98a10, #f6de72);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
    touch-action: manipulation;
    font-weight: bold;
}

.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(to right, #922582, #47093A);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s;
    touch-action: manipulation;
}


    .scroll-down-btn:hover, .back-to-top-btn:hover {
        transform: translateY(-3px);
    }

.backbtn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid #e9ecef;
    color: #922582;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

    .backbtn:hover {
        background-color: #fceffd;
        color: #922582;
        border-color: #922582;
    }

.tpbtn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid #e9ecef;
    color: #922582;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

    .tpbtn:hover {
        background-color: #fceffd;
        color: #922582;
        border-color: #922582;
    }

.spinner-border {
    vertical-align: middle;
}

.loading {
    pointer-events: none;
    opacity: 0.6;
}

.payBox_container_3 {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.detail-value {
    color: #333;
    font-size: 14px;
}

.payment-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.details-section {
/*    background-color: #e98a1012;
*/    background: linear-gradient(135deg, #f8f1f8, #fceffd);
}

.payment-form-section, .details-section {
    padding: 1.5rem;
}

.form-control {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
    font-size: 14px;
    width: 100%;
}

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.25);
        border-color: var(--primary-color);
    }

.error-text {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Payment Options */
.payment-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Creates 4 equal-width columns */
    gap: 1rem; /* Adds spacing between grid items */
    align-items: stretch; /* Make all items stretch to same height */
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100%; /* Ensure full height in grid */
    box-sizing: border-box; /* Include padding in height calculation */
    min-width:100px;
}

    .payment-option:hover:not(.disabled) {
        border-color: #922582;
    }

    .payment-option.active {
        border-color: #922582;
        background-color: #fceffd;
    }

    .payment-option.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.payment-logo {
    /*height: 40px;
    margin-bottom: 0.5rem;*/
    height: 60px; /* Increase height */
    max-width: 100%; /* Ensure it doesn't overflow its container */
    object-fit: contain; /* Keep image aspect ratio without distortion */
}

.payment-label {
    font-weight: 600;
    font-size: 10px;
}

.balance-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--danger-color);
}

.transition {
    border: none;
    /*    background-color: #e98a1012;
*/ background: linear-gradient(135deg, #f8f1f8, #fceffd);
    transition: transform 0.3s ease;
    border-radius: 20px;
}

    .transition:hover {
        transform: translateY(-3px);
    }

/* Slider Section */
.slider_section {
    padding: 2rem 1rem;
}

.detail_box h2 {
    font-size: 28px;
    line-height: 1.4;
}

.detail_box p {
    font-size: 16px;
}

.img-box img {
    max-width: 100%;
    height: auto;
}

/* Price Section */
.price_section {
    padding: 2rem 1rem;
}

.price_container {
    font-size: 16px;
}

    .price_container h4 {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .price_container p, .price_container li {
        font-size: 15px;
        line-height: 1.6;
    }

/* Responsive Adjustments */
@media (min-width: 768px) {
    

    .payment-option {
        flex: 0 0 calc(33.333% - 0.67rem);
    }

    .slider_section {
        padding: 3rem 2rem;
    }

    .detail_box h2 {
        font-size: 32px;
    }

    .price_section {
        padding: 3rem 2rem;
    }
}

@media (min-width: 992px) {
    .payment-container {
        display: flex;
        flex-direction: row;
    }

    .payment-form-section {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .details-section {
        flex: 0 0 41.667%;
        max-width: 41.667%;
    }

    h2.heading01 {
        font-size: 26px;
    }

    .custom-btn {
        padding: 15px 20px;
        font-size: 16px;
    }

    .detail_box h2 {
        font-size: 36px;
    }

    .detail_box p {
        font-size: 18px;
    }

    .price_container h4 {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .payment-container {
        margin: 1rem;
    }

    .payment-form-section, .details-section {
        max-width: 100%;
    }

    .details-section {
        margin-top: 1rem;
    }

    .payBox {
        margin: 15px auto;
        padding: 15px;
    }

    .custom-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .payment-options {
        display: grid;
        grid-template-columns: repeat(1, 1fr); /* Creates 4 equal-width columns */
        gap: 1rem; /* Adds spacing between grid items */
    }

    .payBox {
        padding: 12px;
        margin: 10px;
    }

    .payment-form-section, .details-section {
        padding: 1rem;
    }

    h2.heading01 {
        font-size: 20px;
    }

    .custom-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    select, input[type="text"], input[type="email"] {
        font-size: 13px;
        padding: 8px;
    }

    select, input[type="number"], input[type="email"] {
        font-size: 13px;
        padding: 8px;
    }

    .detail-label, .detail-value {
        font-size: 13px;
    }

    .balance-value {
        font-size: 1.2rem;
    }

    .back-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .scroll-down-btn {
        width: 100px;
        height: 30px;
        font-size: 12px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    #paymentModal > div {
        max-width: 90%;
        margin: 10px auto;
    }

    #paymentModal table {
        font-size: 13px;
    }

    #paymentModal p {
        font-size: 13px;
    }

    #paymentModal button {
        padding: 8px 15px;
        font-size: 13px;
    }

    .detail_box h2 {
        font-size: 24px;
    }

    .detail_box p {
        font-size: 14px;
    }

    .price_container h4 {
        font-size: 18px;
    }

    .price_container p, .price_container li {
        font-size: 14px;
    }
}

#paymentModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none; /* Ensure CSS default is none */
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

    #paymentModal > div {
        background: white;
        border-radius: 16px;
        max-width: 500px;
        width: 100%;
        text-align: center;
        position: relative;
        margin: 20px auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        max-height: 90vh;
        overflow-y: auto;
    }

    #paymentModal button:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

    #paymentModal button:active {
        transform: translateY(0);
    }

    #paymentModal button:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(233, 138, 16, 0.3);
    }

@media (max-width: 768px) {
    #paymentModal > div {
        max-width: 90%;
        margin: 15px auto;
        border-radius: 14px;
    }

        #paymentModal > div > div:first-child {
            padding: 18px;
            font-size: 17px;
            border-radius: 14px 14px 0 0;
        }

        #paymentModal > div > div:last-child {
            padding: 20px 15px;
        }

    #paymentModal table {
        font-size: 13.5px;
    }

    #paymentModal button {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #paymentModal {
        padding: 10px;
    }

        #paymentModal > div {
            max-width: 95%;
            margin: 10px auto;
            border-radius: 12px;
        }

            #paymentModal > div > div:first-child {
                padding: 16px;
                font-size: 16px;
                border-radius: 12px 12px 0 0;
            }

            #paymentModal > div > div:last-child {
                padding: 15px 10px;
            }

        #paymentModal table {
            font-size: 13px;
        }

            #paymentModal table td {
                padding: 8px 0;
            }

        #paymentModal button {
            padding: 10px;
            font-size: 13px;
        }

        #paymentModal p {
            font-size: 14px;
        }

    }

        .custom-swal-popup {
            border-radius: 20px !important;
            background-color: #fff; /* Optional: soft background tone */
            border: 2px solid #922582;
        }

        .custom-swal-button {
            background-color: #922582 !important;
            color: white !important;
            border-radius: 20px !important;
            padding: 8px 24px !important;
            font-weight: bold;
            border: none;
        }

            .custom-swal-button:hover {
                background-color: #47093A !important;
            }


/*Home & Feedback Icons CSS*/
.icon-img {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.icon-text {
    transition: all 0.3s ease;
    color: black !important;
    font-size: 12px;
}

.icon-hover:hover .icon-img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.icon-hover:hover .icon-text {
    color: #0066cc; /* Change to your preferred hover color */
    font-weight: 500;
}