html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Custom Modal Styles */
.custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1040;
    display: none;
    pointer-events: all;
    overflow: hidden;
    will-change: opacity;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.custom-modal {
    z-index: 1050;
}

.custom-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.custom-modal .modal-content {
    border-radius: 0 0 15px 15px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .custom-modal .modal-content {
        max-width: 95%;
    }
}

.custom-modal .modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.custom-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}

.custom-modal .modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
}

#message-detail-content {
    line-height: 1.5;
}

#message-detail-image {
    max-height: 300px;
    object-fit: contain;
}

/*Deposit Payment Channel*/
.hover-shadow {
    transition: all 0.3s ease;
}

    .hover-shadow:hover {
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

.payment-card {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05), 0 6px 6px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.02);
    transform-style: preserve-3d;
    perspective: 1000px;
}

    .payment-card .card-body {
        border-radius: 15px;
        padding: 1.25rem;
        background: linear-gradient(to bottom, #ffffff, #f9f9f9);
    }

.platform-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.bank-logo {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.deposit-highlight {
    position: relative;
    color: #007bff;
    font-weight: bold;
    text-shadow: 0 0 1px rgba(0, 123, 255, 0.3);
    letter-spacing: -0.5px;
}

    .deposit-highlight::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        background-color: #007bff;
    }

.min-deposit {
    position: relative;
}

.hover-shadow:hover .bi-chevron-right {
    animation: arrow-pulse 1s infinite;
}

@keyframes arrow-pulse {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Wallet Balance Card Styling */
.wallet-balance-card {
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #FF9503 0%, #FAE60D 100%);
    box-shadow: 0 10px 30px rgba(255, 149, 3, 0.15);
    color: white;
    overflow: hidden;
}

.wallet-card-header {
    background: linear-gradient(90deg, rgba(250, 230, 13, 0.2) 0%, rgba(255, 149, 3, 0.3) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    padding: 15px 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.wallet-icon, .point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
}

.wallet-icon {
    color: #FF9503;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(255, 149, 3, 0.3);
}

.point-icon {
    color: #01B0FF;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(1, 176, 255, 0.3);
}

.balance-label, .point-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.balance-value {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.point-value {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Payment Section Styling */
.payment-section-title {
    font-weight: 600;
    color: #455a64;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Blog styles */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.blog-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-content h1, 
.blog-content h2, 
.blog-content h3, 
.blog-content h4, 
.blog-content h5, 
.blog-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: block;
}

.blog-image-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
    
.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.blog-content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mb-5rem {
    margin-bottom: 5rem;
}

.mb-6rem {
    margin-bottom: 6rem;
}

.page-sub-header {
    background: black;
}
.hide{
    display:none !important;
}
.divider {
    background-color: #FFF;
    margin-bottom:1rem !important;
}
.offcanvas, .offcanvas-backdrop {
    margin-left: auto;
    margin-right: auto;
}