:root{
    --mags-light-border:#e7e7e7;
    --mags-border-radius:6px;
    --mags-box-shadow:0rem 0.125rem 0.25rem #1f21241a,0rem 0.0625rem 0.375rem #1f21240d;
    --mags-primary:#d8a31a;
    
  }

  html{

    height:100%;
  }
  body{
    font-family: 'Montserrat', sans-serif;
    position: relative;
    color: #6d6d6d;
    background: #fbfcfc;
    font-weight:400;
    font-size:14px;
    height:100%;
  }


  .dropdown-item i{
    width:20px;
    text-align:center;
  }
  .btn{
    border-radius:6px;
    white-space: nowrap;
  }
  .btn-xs{
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
  }
  .btn-primary {
    /*

  background: #d8a31a;
    color: white;
    border-color:#d8a31a;

    */
    background: #544ce6;
    color: white;
    border-color:#544ce6

}

.btn-primary:hover {
  background: #544ce6;
  border-color:#544ce6;
}

.btn-orchid{
  background: #d8a31a;
  color: white;
  border-color:#d8a31a;
}

.btn-orchid:hover {
  background: #d8a31a;
  color: white;
  border-color:#d8a31a;
}
  
  .btn-light{
    border:1px solid #efefef;
  }
  .btn-white{
    background:#fff;
    color:#000;
  }
  
  /* Sidebar */
  .sidebar{
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 220px;
    height: 100%;
    min-height: 600px;
    background: #fff;
    box-shadow: 4px 0 5px rgba(0,0,0,.05);
  }
  .sidebar .user-info{
    padding:20px;
  }
  .sidebar .sidebar-toggle{
    position:absolute;
    right:0px;
    top:0px;
    display:none;

  }
  .sidebar .logo{
    padding:20px;
  }
  .sidebar .logo img{
    max-width:100%;
  }
  .sidebar .logo a{
    text-decoration:none;
  }
  .sidebar .logo .logo-text{
    color:#000;
    text-decoration:none;
    font-weight:600;
    font-size:24px;
    vertical-align: middle;
  }
    .sidebar .logo .logo-text img{
        display:inline-block;
        max-width:30px;
    }
  .sidebar .menu ul{
    list-style-type:none;
    padding:0px;
    margin:0px;
  }
  .sidebar ul li .sidebar-title{
    font-weight:600;
    padding:10px 20px;
    color:#d8a31a;
    opacity:.6;
    font-size:12px;
    border-top:1px solid #efefef;
    border-bottom:1px solid #efefef;
  }
  .sidebar .menu ul li.divider{
    border-bottom:1px solid #efefef;
    margin:10px 0px;
  }
  .sidebar .menu ul li a{
    position: relative;
    display: block;
    margin: 0 20px 0 0;
    padding: 11px 10px 10px 20px;
    font-weight: 500;
    border-radius: 0 4px 4px 0;
    color: #4c525a;
    text-decoration: none;
    opacity:.6;
    /*
    background: #fafafa;
    opacity: 1;
    */
  }
  .sidebar .menu ul li a:hover,.sidebar .menu ul li.active a{
    background: #fafafa;
    opacity: 1;
  }
  .sidebar .menu ul li.active a{
    background:var(--mags-primary);
    opacity: 1;
    color:#fff;
  }


  .sidebar .menu ul li a i{
    width:25px;
    text-align:center;
  }
  
  
  /* Page Wrapper */
  .page-wrapper{
    padding-left:220px;
  }
  
  /* Header */
  header{
      box-shadow: 0 1px 0 rgba(0,0,0,.15);
  }
  
  /* Footer */
  .footer{
    text-align:center;
    margin-top:40px;
    padding:40px;
  }
  .footer b{
    color:var(--mags-primary);
  }
  .footer .footer-links a{
    color:#000;
    margin:0px 5px;
    text-decoration:none;
  }
  
  
  /* Page Content */
  .page-content{padding:20px 40px;}
  .page-content h1{
    font-size:24px;
  }
  
  .box-white{
      padding: 20px;
      background: #fff;
      box-shadow: 0 1px 3px rgba(0,0,0,.15);
  }
  .card{
        box-shadow: 0 1px 3px rgba(0,0,0,.15);
        border:none;
  }
  
  .page-content .toolbar{
    float:right;
  }
  
  /* Accounts List */
  .accounts-list .account-row{
    cursor:pointer;
  }
  
  
  /* Transactions List */
  .transactions-list{
  
  }
  
  
  /* Dashboard */
  .dashboard{
  
  }
  
  
  /* Helpers */
  .balance-text.credit{
    font-size:24px;
    color:#28a745;
  }
  .balance-text.debit{
    font-size:18px;
    color:#dc3545;
  }
  .mag-hide{
    display:none !important;
  }
  
  .page-not-found{
  
  }
  .page-not-found .icon{
    font-size:40px;
  }
  
  
  /* Currency Dropdown Accounts */
  .currency-accounts-dropdown{
  
  }
  .currency-accounts-dropdown button.name{
    font-weight:500;
    vertical-align: middle;
  }
  .currency-accounts-dropdown button.name span, .currency-accounts-dropdown button.name i{
    vertical-align: middle;
  }
  .currency-accounts-dropdown .options{
    width:250px;
    padding:0px;
  }
  .currency-accounts-dropdown .options .select-account{
    padding:2px 5px;
  }
  .currency-accounts-dropdown .options .select-account.active{
    background:#efefef;
    color:#000;
  }
  .currency-accounts-dropdown .options .select-account > span{
    display:block;
  }
  .currency-accounts-dropdown .options .select-account .account{
    font-weight:500;
  }
  .currency-accounts-dropdown .options .select-account .account-name{
    font-size:10px;
  }
  .currency-accounts-dropdown .options .select-account .account-balance{
    font-size:12px;
    color:green;
  }
  .currency-accounts-dropdown .options .select-account .account .currency-flag{
    float:right;
  }
  
  
  
  /* Transfers Info */
  .internal-transfer-info .from, .internal-transfer-info .to{
    font-weight:bold;
  }
  
  .transactions-list-new .transaction {
    padding: 12px 16px;
    border-left: 4px solid transparent;
    background: #ffffff;
    margin-bottom: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  
  .transactions-list-new .transaction:nth-child(odd) {
    background: #f9fafb;
  }
  
  .transactions-list-new .transaction:hover {
    background: #fef8e8;
    border-left-color: #ffc107;
  }
  
  .transactions-list-new .transaction .date {
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    color: #6c757d;
  }
  
  .transactions-list-new .transaction .description {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 4px;
  }
  
  .transactions-list-new .transaction .amount {
    font-size: 1rem;
    font-weight: 600;
  }
  
  .transactions-list-new .transaction .amount.credit {
    color: #28a745;
  }
  
  .transactions-list-new .transaction .amount.debit {
    color: #dc3545;
  }
  
  .transactions-list-new .transaction .code {
    font-size: 0.75rem;
    color: #6c757d;
    background: #e9ecef;
    padding: 4px 6px;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }
  
  .transactions-list-new .transaction .code:hover {
    background: #d6dde2;
    color: #343a40;
  }
  
  .transactions-list-new .transaction .fee {
    font-size: 0.75rem;
    color: #dc3545;
    font-weight: 500;
    margin-top: 2px;
  }
  
  .transactions-list-new .transaction .vendor-name {
    font-size: 0.85rem;
    color: #6f42c1;
    font-weight: 500;
  }
  
  .transactions-list-new .transaction .vendor-name:hover {
    color: #0056b3;
    text-decoration: underline;
  }
  
  .transaction-type-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 50rem;
    display: inline-block;
    margin-top: 4px;
  }





  
  /* Products */
  
  .products{
  
  }
  .products .product{
    
    border:1px solid #efefef;
    margin-bottom:10px;
  }
  .products .product .image img{
    max-width:100%;
    height:auto;
  }
  .products .product .name{
    font-weight:600;
  }
  .products .product .price{
    color:#dd4245;
    font-weight:600;
    padding:10px;
  }



  /* Product Info in Buy Now Modal */
.product-info {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

/* Product Title */
.product-info .product-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 5px;
}

/* Vendor Name */
.product-info .vendor-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 4px;
}

/* Price */
.product-info .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 6px;
}

.product-info .price span {
  color: #28a745;
}

/* Description */
.product-info .description {
  font-size: 0.95rem;
  color: #666;
  opacity: 0.9;
  margin-bottom: 8px;
}

  
  /* Tickets */
  
  .go-to-url{
    cursor:pointer;
  }
  
  /* Tickets System */
  .ticket-message-page{
  
  }
  .ticket-message-page .ticket-message{
    border-bottom:1px dashed #ccc;
    padding:20px 20px;
    background:#ffedeb;
  }
  .ticket-message-page .ticket-message.its-me{
    background:#fff;
  }
  .ticket-message-page .ticket-message .time{
    float:right;
  }
  .ticket-message-page .ticket-message .name{
    font-weight:bold;
  }
  
  
  .ticket-message-page .ticket-message .file{
    padding:2px 4px; border:1px solid #ccc;
    color:#000;
    text-decoration: none;
    background:#fff;
    border-radius:5px;
  }
  
  .ticket-message-page .ticket-form{
    border:1px solid #ccc;
    padding:10px;
  }
  .ticket-message-page .ticket-form textarea{
    margin-bottom:10px;
  }
  /* Custom Simple Select */
  .custom-simple-select input{
    display:none;
  }
  .custom-simple-select .select-file{
    padding:4px;
    cursor:pointer;
  }
  
  /* Exchanges Design */
  .currency-exchange-result,.wire-transfer-result{
    padding:10px;
    background:#efefef;
    border:1px solid #efefef;
  }
  

  .content-custom-account{
    padding:20px;
    background:#fff;
    border:1px solid #efefef;
    border-radius:5px;
    box-shadow:var(--mags-box-shadow);
  }
  .content-custom-account.medium{
   
    max-width:60%;
    margin:0 auto;
  }
  .profile-picture{
    width:100px;
    height:100px;
    border-radius:50%;
    overflow:hidden;
    margin:0 auto;
  }

  .balance-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
  }
  .balance-container h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
  }
  .balance-container p {
    margin: 5px 0 0;
    font-size: 18px;
    color: #666;
  }
  .balance-container h4{
    margin: 0;
    font-size: 18px;
    color: #333;
  }
  .balance-positive{
    color: #28a745;
  }
  .heading-custom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
  }

  .heading-custom .titles{

  }
  .heading-custom .titles .title-main{
    font-size:24px;
    color:#000;
    font-weight:600;
  }

  .page-content h2 {
    font-size: 20px;
  }

  .page-content h3 {
    font-size: 18px;
  }

  .page-content h4 {
    font-size: 16px;
  }
  .heading-custom .toolbar{

  }




/* Register Page */
.register-page{
    padding:60px 0px;
    background: #01334d;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #01334d, #544ce6);  /* Chrome 10-25, Safari 5.1-6 */
  background:linear-gradient(to right, #01334d, #544ce6);

    
}

.register-page .logo {
    padding:20px 0px;
}
.register-page .logo img{
    max-width:200px;
}
.register-page .register-container{
    max-width:600px;
    margin:0 auto;
    background:#fff;
   
    border-radius:5px;
    box-shadow:0px 0px 10px rgba(0,0,0,0.1);
}
.register-page h1 {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 20px;
    color:#000;
}

.register-page h2 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    color:#333;
}

.register-page .right-container{
    padding:20px;
    
}
.register-page .left-container{
    background: url('path/to/your/image.jpg') center top no-repeat;
    background-size: auto;
}
.register-page label{
    color:#000;
}

/* Login Page */
.login-page{
  background: #01334d;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #01334d, #544ce6);  /* Chrome 10-25, Safari 5.1-6 */
  background:linear-gradient(to right, #01334d, #544ce6);

    padding:60px 0px;
    height: 100%;
   
}



.login-page .logo {
  padding:20px 0px;
}


.login-page .logo img{
  max-width:200px;
}


.login-page .login-container{
    max-width:600px;
    margin:0 auto;
    background:#fff;
    padding:0px;
    border-radius:5px;
    box-shadow:0px 0px 10px rgba(0,0,0,0.1);
    padding:20px;
}
.login-page h1 {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 20px;
}

.login-page h2 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    color:#000;
}

.login-page .right-container{
  
    
}

.login-page .left-container{
    background: url('path/to/your/image.jpg') center top no-repeat;
    background-size: auto;
}
.login-page label{
    color:#000;
}



.header-mobile{
  background:#fff;
  padding:20px;
  display:none;
}

.header-mobile .logo img{
  max-width:150px;;
}
.header-mobile .logo .logo-text{
  color:#000;
  text-decoration:none;
  font-weight:600;
  font-size:24px;
  vertical-align: middle;
}
.header-mobile .logo .logo-text img{
      display:inline-block;
      max-width:30px;
  }
  .header-mobile .sidebar-toggle .btn-link{
    font-size:26px;
  }
  .header-mobile .user-icon .btn-link{
    font-size:26px;

  }
  .header-mobile .home-icon .btn-link{
    font-size:26px;
  }


  .header-mobile .mobile-nav-links {
    
    
  }
  .header-mobile .mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    flex: 1;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.85rem;
    transition: color 0.2s ease-in-out;
    justify-content: center;
  }

  .header-mobile .mobile-nav-links a:hover {
    color: var(--mags-primary);
  }

  .header-mobile .mobile-nav-links i {
    color: var(--mags-primary);
    font-size: 1.2rem; /* Adjust icon size */
    transition: transform 0.2s ease-in-out;
  }

  .header-mobile .mobile-nav-links a:hover i {
    transform: scale(1.2);
  }

  .header-mobile .mobile-nav-links p {
    margin: 0;
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
  }

  .header-mobile .mobile-nav-links a:hover p {
    color: var(--mags-primary);
  }
  
  .badge{
    font-weight:500;
    padding:5px 10px;
    border-radius:4px;
  }

  /* Transaction Badge */
  .transaction-badge {
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px; /* Rounded pill shape */
    padding: 4px 12px;
    text-transform: uppercase;
    color: inherit; /* Inherit text color */
  }

  /* Pending Badge */
  .transaction-badge.bg-pending {
    background: #fef3c7; /* Light yellow */
    border: 1px solid #facc15; /* Yellow border */
  }

  /* Completed Badge */
  .transaction-badge.bg-completed {
    background: #d1fae5; /* Light green */
    border: 1px solid #10b981; /* Green border */
  }

  /* Declined Badge */
  .transaction-badge.bg-declined {
    background: #fee2e2; /* Light red */
    border: 1px solid #ef4444; /* Red border */
  }

  /* Reversed Badge */
  .transaction-badge.bg-reversed {
    background: #e5e7eb; /* Light gray */
    border: 1px solid #9ca3af; /* Gray border */
  }




  .inside-modal{
    width:800px;
  }


  .fancybox__container{
  --fancybox-bg: rgb(173 173 173 / 62%);
  backdrop-filter: blur(5px);
  }
  .modal-backdrop{
    background: rgb(173 173 173 / 62%);
    backdrop-filter: blur(5px) !important;
    --bs-backdrop-opacity:none;
  }
  .modal-dialog{
    display: flex;
        align-items: center;
        min-height: calc(100% - var(--bs-modal-margin)* 2);
  }
  .modal-header{
    border:none;
  }
  .modal-content{
    border-radius:0px;
    border:0px;
  }


  /* Compact & Modern Product Card */
.product-card {
    background: #18212f; /* Dark mode friendly */
    color: #ffffff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

/* Hover Interaction */
.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Product Title - Compact & Bold */
.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #f8f9fa;
}

/* Vendor Name */
.product-card .vendor-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff; /* Subtle blue */
    margin-bottom: 4px;
}
.product-card .vendor-name a{
  color:#fff;
}


/* Product Price - Standout */
.product-card .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d8a31a; /* Neon green */
    margin-bottom: 8px;
}

/* Description - Subtle and Compact */
.product-card .description {
    font-size: 0.9rem;
    color: #e5e7eb; /* Light gray */
    opacity: 0.85;
    margin-bottom: 10px;
}

/* Buy Now Button - Compact & Stylish */
.product-card .buy-btn {
    background: linear-gradient(135deg, #d8a31a, #FF8C94);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    text-align: center;
    transition: background 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.product-card .buy-btn:hover {
    background: linear-gradient(135deg, #d8a31a, #B65C94);
    transform: scale(1.05);
}


/* Base Badge Style */
.transaction-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 0.75rem; /* Smaller font */
  font-weight: 600;
  border-radius: 20px;
  color: #ffffff;
  opacity: 0.85; /* Transparent effect */
  text-transform: capitalize;
  white-space: nowrap;
  transition: opacity 0.2s ease-in-out, transform 0.1s ease-in-out;
}

/* Hover Effect - Makes badge more visible */
.transaction-type-badge:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Buy Points Badge */
.transaction-type-badge.buy-points {
  background: #e8f5e9; /* Washed green */
  color: #2e7d32; /* Darker green */
  border: 1px solid #2e7d32; /* Green border */
}

/* Purchase Item Badge */
.transaction-type-badge.purchase-item {
  background: #e3f2fd; /* Washed blue */
  color: #1565c0; /* Darker blue */
  border: 1px solid #1565c0; /* Blue border */
}

/* Withdraw Badge */
.transaction-type-badge.withdraw {
  background: #ffebee; /* Washed red */
  color: #b71c1c; /* Darker red */
  border: 1px solid #b71c1c; /* Red border */
}

/* Transfer Badge */
.transaction-type-badge.transfer {
  background: #fff3e0; /* Washed orange */
  color: #e65100; /* Darker orange */
  border: 1px solid #e65100; /* Orange border */
}
/* Checkout Badge */
.transaction-type-badge.checkout {
  background: #f3e8ff; /* Washed purple */
  color: #7c3aed; /* Darker purple */
  border: 1px solid #7c3aed; /* Purple border */
}

/* Unknown Transaction Badge */
.transaction-type-badge.unknown {
  background: #eceff1; /* Washed slate blue */
  color: #37474f; /* Darker slate blue */
  border: 1px solid #37474f; /* Slate blue border */
}

/* FontAwesome Icons */
.transaction-type-badge i {
  font-size: 0.8rem; /* Smaller icon */
}

/* General Price Styling */
.general-price {
  font-size: 14 px; /* Slightly larger for better visibility */
  font-weight:500;
  color: var(--mags-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

/* Currency Styling */
.general-price-container .currency {
  
  color: #080000; /* Neutral grey for better contrast */
  opacity: 0.9;
}

/* Discounted Price */
.general-price.discounted {
  color: #dc3545; /* Red for discount */
  text-decoration: line-through;
  font-weight: normal;
  opacity: 0.75; /* Slightly faded to indicate it's not active */
}

/* Highlighted Sale Price */
.general-price.sale {
  color: #28a745; /* Green for sale price */
  font-weight: bold;
}

/* Hover Effect - Slight Scale and Color Change */
.general-price:hover {
  color: #0056b3;
  transform: scale(1.05);
}

/* Price + Currency Container */
.general-price-container {
  display: flex-inline;
  align-items: center;
  gap: 6px;
}

/* Animated Price Change */
@keyframes priceChange {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.general-price.animated {
  animation: priceChange 0.3s ease-in-out;
}


.search-form{
  margin-bottom:5px;
}


/* Dashboard Container */
.mags-dashboard {
  
}

/* Overview Cards - Smooth Hover Effect */
.mags-dashboard .card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.mags-dashboard .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-link-balance{
color: var(--mags-primary);
font-weight:600;
}


/* Table Mags */
.table-mags{
  color:#000;
}
.table-mags th{
  white-space:nowrap;
}
.select2-container{
  z-index: 99999;
}

/* Select2 Bootstrap 5.3 Styling */
.select2-container .select2-selection--single {
  height: calc(2.25rem + 2px); /* Match Bootstrap input height */
  padding: 0.375rem 0.75rem; /* Match Bootstrap padding */
  font-size: 1rem; /* Match Bootstrap font size */
  line-height: 1.5; /* Match Bootstrap line height */
  color: #495057; /* Match Bootstrap text color */
  background-color: #fff; /* Match Bootstrap background color */
  border: 1px solid #ced4da; /* Match Bootstrap border color */
  border-radius: 0.375rem; /* Match Bootstrap border radius */
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%); /* Match Bootstrap box shadow */
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0; /* Remove extra padding */
  color: #495057; /* Match Bootstrap text color */
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 100%; /* Match height */
  right: 0.75rem; /* Match Bootstrap padding */
}

.select2-container--default .select2-selection--single:focus {
  border-color: #86b7fe; /* Match Bootstrap focus border color */
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); /* Match Bootstrap focus shadow */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #0d6efd; /* Match Bootstrap primary color */
  color: #fff; /* Match Bootstrap text color */
}

.select2-container--default .select2-selection--multiple {
  padding: 0.375rem 0.75rem; /* Match Bootstrap padding */
  border: 1px solid #ced4da; /* Match Bootstrap border color */
  border-radius: 0.375rem; /* Match Bootstrap border radius */
  background-color: #fff; /* Match Bootstrap background color */
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #0d6efd; /* Match Bootstrap primary color */
  border: none; /* Remove border */
  color: #fff; /* Match Bootstrap text color */
  padding: 0.25rem 0.5rem; /* Match Bootstrap badge padding */
  border-radius: 0.375rem; /* Match Bootstrap border radius */
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff; /* Match Bootstrap text color */
  margin-right: 0.25rem; /* Match Bootstrap spacing */
}


.ticket-view {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.ticket-view .ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ticket-view .ticket-info {
  font-size: 16px;
}

.ticket-view .ticket-subject {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.ticket-view .ticket-participant {
  color: #555;
}

.ticket-view .ticket-status .badge {
  margin-right: 5px;
}

.ticket-view .ticket-messages {
  margin-bottom: 20px;
}

.ticket-view .ticket-message {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
}

.ticket-view .ticket-message.user {
  background-color: #feeaff;
  text-align: right;
}

.ticket-view .ticket-message.vendor {
  background-color: #ffffff;
  text-align: left;
}

.ticket-view .message-content {
  font-size: 14px;
  margin-bottom: 5px;
  padding:4px;
}
.ticket-view .message-attachment a{
  color: #007bff;
  text-decoration: none;
}

.ticket-view .message-sender {
  font-weight: bold;
  font-size: 12px;
  color: #333;
}

.ticket-view .message-date {
  font-size: 12px;
  color: #888;
}

.ticket-view .ticket-reply textarea {
  resize: none;
}

.ticket-view .ticket-reply button {
  
}

.badge-count {
  display: inline-block;
  background-color: #dc3545; /* Red background */
  color: #fff; /* White text */
  font-size: 0.75rem; /* Small font size */
  font-weight: bold;
  padding: 4px 8px; /* Padding for size */
  border-radius: 12px; /* Rounded shape */
  min-width: 24px; /* Minimum width for alignment */
  text-align: center; /* Center the text */
  line-height: 1.2; /* Adjust line height */
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.vendor-circle{

}


.vendor-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;;
}

.vendor-card .vendor-image{
  width:100%;
  height:200px;
  overflow:hidden;
  display:block;
  border-radius:8px;
  background-position: center;;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom:10px;
}
.vendor-card .vendor-image img{
  width:100%;
  height:auto;
}

.vendor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vendor-card .vendor-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.vendor-card .vendor-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}
.vendor-card .vendor-products {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.fancybox__content>.f-button.is-close-btn{
 
  color: #000; /* Light text for contrast */
  border:none; /* Subtle border for visibility */
  top:5px;
  right:5px;
}

.code-red{
  color:#d8a31a;
  cursor:pointer;
}



.card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card-list .card-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
  width: calc(33.333% - 20px);
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-list .card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-list .card-item .card-details p {
  margin: 5px 0;
  font-size: 14px;
  color: #333;
}

.card-list .card-item .card-actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

.card-list .card-item .card-actions .btn {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 4px;
}

.card-list .card-item .card-actions .btn-warning {
  background-color: #ffc107;
  color: #fff;
  border: none;
}

.card-list .card-item .card-actions .btn-danger {
  background-color: #dc3545;
  color: #fff;
  border: none;
}

.card-list .card-item .card-actions .btn:hover {
  opacity: 0.9;
}

.profile-page{

}
.profile-page .profile-image{
  width:100%;
  height:200px;
  overflow:hidden;
  border-radius:8px;
  background-position: center;;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom:10px;

}

.custom-filters input,
.custom-filters select {
  font-size: 0.85rem;
}

.custom-filters .btn {
  font-size: 0.75rem;
  padding: 4px 10px;
}


.vendor-search-section{
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
  }



.front-theme .page-wrapper{
  
  padding: 20px;
}
.page-design{
  padding:20px;
}
.page-design .page-container {
  max-width: 900px;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 80%, #f8e8f7 100%);
  margin: 32px auto 0 auto;
  box-shadow: 0 6px 32px rgba(209, 107, 165, 0.08), 0 1.5px 8px rgba(80, 80, 80, 0.04);
  
  
}

.page-design .page-container .page-heading {
  text-align:center;
}

.page-design .page-container .page-heading h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.page-design .page-container .page-content {
  
}


.card-container-table-mobile{


}

.card-container-table-mobile .card:nth-child(odd) {
  background-color: #f9f9f9; /* Light gray for odd cards */
}

.card-container-table-mobile .card:nth-child(even) {
  background-color: #ffffff; /* White for even cards */
}





.two-factor-page {
  background: #FF0099; /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #493240, #FF0099); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #493240, #FF0099); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 60px 0px;
  height: 100%;
}

.two-factor-page .logo {
  padding: 20px 0px;
}
.two-factor-page .logo img {
  max-width: 200px;
}
.two-factor-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.two-factor-container h1 {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #000;
}

.two-factor-container p {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #333;
}


.form-label{
  font-weight:600;
  color:#000;
}

.compliance-page {
  padding: 40px 20px;
  background: #f8f9fa;
}


.compliance-page .compliance-step-1 {
  border-left: 4px solid #5a9bd5 !important;
  background-color: #f0f7fc !important; /* Soft blue background */
}

.compliance-page .compliance-step-2 {
  border-left: 4px solid #85c88a !important;
  background-color: #f3faf4 !important; /* Soft green background */
}

.compliance-page .compliance-step-3 {
  border-left: 4px solid #e6c76c !important;
  background-color: #fdf9f0 !important; /* Soft yellow background */
}

.compliance-page .compliance-step-4 {
  border-left: 4px solid #e28b8b !important;
  background-color: #fcf2f2 !important; /* Soft red background */
}

.vendor-handler{
  
    font-weight: bold;
    color: var(--mags-primary);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
}


.vendor-handler:hover{
    text-decoration: underline;
    color: #ff0099;
  }


  .checkout-page {
    max-width: 800px;
    background: linear-gradient(135deg, #fff 80%, #f8e8f7 100%);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(209, 107, 165, 0.10), 0 2px 12px rgba(80, 80, 80, 0.06);
    margin: 48px auto 0 auto;
   
    transition: box-shadow 0.2s, transform 0.2s;
}
.checkout-page .alert-warning {
   background: linear-gradient(90deg, #fffbe6 60%, #fff3cd 100%);
  border: 1px solid #ffe58f;
  color: #856404;
  border-radius: 6px;
  font-size: 0.95rem;
  padding: 8px 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(255, 243, 205, 0.10);

}
.checkout-page .checkout-logo {
  height: 50px;
}

.checkout-page .total-amount {
  font-size: 1.2rem;
  color: #333;
}

.checkout-page .card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.checkout-page .card-text {
  font-size: 1rem;
  color: #555;
}

.checkout-page .btn i {
  margin-right: 8px;
}


.alert-sm{
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 4px;
}
.alert-xs{
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 4px;
}


.rewards-balance-container {
 
  padding: 20px;
  border-radius: 5px;
  
  margin-top: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rewards-balance-container h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.rewards-balance-container p {
  margin: 5px 0 0;
  font-size: 18px;
  color: #666;
}

.rewards-balance-container h4 {
  margin: 0;
  font-size: 18px;
  color: #007bff;
}

.rewards-positive {
  color: #28a745;
}


/*Transaction Card */
.transaction-cards{
  background:#f9fafa;
  padding:20px;
  border-radius:16px;
  margin-bottom:10px;
}


.transaction-cards .transaction-card {
  background-color: #ffffff;
  border: 1px solid #f1f0f1;
  border-left: 4px solid transparent;
 
  padding: 20px;
  
  transition: background 0.3s ease, border-left-color 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  margin-bottom:10px;
}

/* Stripe alternating cards */
.transaction-cards .transaction-card:nth-child(odd) {
  /* background-color: #f9f9f9; */
}

/* Hover effect */
.transaction-cards .transaction-card:hover {
  background-color: #eef5ff;
  border-left-color: #0d6efd;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.08);
}



.transaction-card .amount.credit {
  color: #28a745;
}

.transaction-card .amount.debit {
  color: #dc3545;
}

.transaction-card .reward-points {
  font-size: 0.8rem;
  color: #20c997;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.transaction-card .reward-points::before {
  content: "🎉 ";
}

.transaction-card .code {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  background-color: #f1f3f5;
  display: inline-block;
  margin-top: 6px;
  transition: background 0.3s ease;
}

.transaction-card .code:hover {
  background-color: #dee2e6;
  cursor: pointer;
}

.transaction-card .fee {
  font-size: 0.75rem;
  color: #dc3545;
  font-weight: 500;
}

.transaction-card .date{
  font-size:12px;
  color: #6c757d;
  font-weight: 500;
}

/* Recipient (e.g. To 2Way) */
.transaction-card .vendor-name {
  font-size: 14px;
  font-weight: 600;
  color: #212529;
}

.transaction-card .vendor-name a {
  color: #0d3efd; /* Bootstrap Primary */
  font-weight: 600;
  text-decoration: none;
}


.transaction-filters {
  border: 1px solid #e9ecef;
  border-left: 4px solid #0d6efd;
  border-radius: 12px;
}


/* Magic Filters */
.magic-filters {
  border: 1px solid #e9ecef;
  border-left: 4px solid #0d6efd;
}

.magic-filters  .quick-filters{
  padding-top:10px;
}
.magic-filters  .quick-filters .btn {
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 2px 12px;
  margin-bottom:4px;
}
.magic-filters .quick-filters .title{
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}



.rewards-section .btn-pink {
  background-color: #d8a31a;
  color: #fff;
  border: none;
}
.rewards-section .btn-pink:hover {
  background-color: #b55391;
}

.rewards-section .card {
  background-color: #ffffff;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.rewards-section .card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.rewards-section .alert {
  border-radius: 10px;
}

.prizes-section{

}
.prizes-section .prize-image {
  width: 150px;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.prizes-section .prize-image .placeholder {
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #adb5bd;
}
.reward-inside {
  .reward-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;

    .reward-header {
      display: flex;
      align-items: center;
      margin-bottom: 16px;

      .reward-image {
        width: 64px;
        height: 64px;
        background-size: cover;
        background-position: center;
        border-radius: 50%;
        margin-right: 16px;
      }

      .reward-title {
        font-size: 18px;
        font-weight: bold;
        margin: 0;
      }

      .description {
        font-size: 14px;
        color: #666;
        margin: 4px 0 0;
      }
    }

    .points-required,
    .stock {
      font-size: 14px;
      margin: 8px 0;

      span {
        font-weight: bold;
        color: #333;
      }
    }
  }
}

.cursor-pointer {
  cursor: pointer;
}

.transaction-option input{
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ced4da;
  border-radius: 4px;
  background-color: #ffffff;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  cursor: pointer;
  display: inline-block;
  position: relative;

  /* Checkmark styling */
  &:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
  }

  &:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  &:hover {
    border-color: #0d6efd;
  }
}