.dashboard-content{
  padding: 20px;
 }
  .info-box{
    border: 1px solid lightgray;
    padding: 10px 10px 10px 10px;
  }
  .info-box a{
    text-decoration: none;
    font-weight: bold;
    color: #198754;
  }
 .info-icon{
    text-align: right;
    font-size: 70px;
    color: #198754;
    position: relative;
    bottom: 19px;
  }
  .support, .intro{
    padding: 20px;
  }


.loader {
  position: relative;
  text-align: center;
  margin: 15px auto 35px auto;
  z-index: 9999;
  display: block;
  width: 80px;
  height: 80px;
  border: 10px solid rgba(0, 0, 0, .3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}


/** MODAL STYLING **/

.modal-content {
  border-radius: 0px;
  box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.7);
}

.modal-backdrop.show {
  opacity: 0.75;
}

.loader-txt {
  p {
    font-size: 13px;
    color: #666;
    small {
      font-size: 11.5px;
      color: #999;
    }
  }
}

tbody tr td{
  word-wrap: break-word;
}

.form-control {
  margin-bottom: 1rem;
}



@media not screen and (max-width: 600px) {
  .img-qr {
    width: 400px; height: 500px
  }
  
}

@media only screen and (min-width: 1000px) {
  .table{
    table-layout: fixed;
  }
}

  @media only screen and (max-width: 600px) {

   .intro{
    text-align: center;
   }
   .info-box{
    text-align: center;
   }
   .info-icon{
    text-align: center;
   }
   .support, .intro {
    padding: 20px 10px 20px 20px;
   }
   .img-qr {
    width: 100%
    }
    
  }

/* Beautiful Notification Modal */
.notification-modal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background: linear-gradient(to bottom, #ffffff, #f8f9fc);
}

.notification-modal .modal-header {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  color: white;
  padding: 1.25rem 1.5rem;
  position: relative;
  border-bottom: none;
}

.notification-modal .modal-title {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  margin: 0;
}

.notification-modal .modal-title i {
  margin-right: 10px;
  font-size: 1.25rem;
}

.notification-modal .btn-close {
  color: white;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.notification-modal .btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.notification-modal .modal-body {
  padding: 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #5a5c69;
}

.notification-modal .modal-body p {
  margin-bottom: 1rem;
}

.notification-modal .modal-body strong {
  color: #4e73df;
  font-weight: 600;
}

.notification-modal .modal-body a {
  color: #4e73df;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px dashed rgba(78, 115, 223, 0.4);
}

.notification-modal .modal-body a:hover {
  color: #224abe;
  border-bottom: 1px solid rgba(78, 115, 223, 0.8);
}

.notification-modal .modal-body ul {
  list-style-type: none;
  padding-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.notification-modal .modal-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.notification-modal .modal-body ul li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  color: #1cc88a;
}

.notification-modal .modal-body .alert-box {
  background-color: rgba(78, 115, 223, 0.1);
  border-left: 4px solid #4e73df;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.notification-modal .modal-body .alert-danger {
  background-color: rgba(231, 74, 59, 0.1);
  border-left: 4px solid #e74a3b;
}

.notification-modal .modal-body .alert-success {
  background-color: rgba(28, 200, 138, 0.1);
  border-left: 4px solid #1cc88a;
}

.notification-modal .modal-body .alert-warning {
  background-color: rgba(246, 194, 62, 0.1);
  border-left: 4px solid #f6c23e;
}

.notification-modal .modal-footer {
  background-color: #f8f9fc;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}

.notification-modal .btn-primary {
  background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  border: none;
  padding: 0.6rem 1.75rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(78, 115, 223, 0.25);
}

.notification-modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(78, 115, 223, 0.35);
}

.notification-modal .btn-secondary {
  background-color: #f8f9fc;
  color: #5a5c69;
  border: 1px solid #e3e6f0;
  padding: 0.6rem 1.75rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.notification-modal .btn-secondary:hover {
  background-color: #eaecf4;
}

/* Animation for the modal */
@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.notification-modal.show .modal-content {
  animation: fadeZoomIn 0.3s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .notification-modal .modal-body {
    padding: 1.25rem;
    font-size: 0.95rem;
  }
  
  .notification-modal .modal-header {
    padding: 1rem 1.25rem;
  }
  
  .notification-modal .modal-footer {
    padding: 0.75rem 1.25rem;
  }
}

/* Custom Select Styling */
.address-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.address-section h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.address-section h5 i {
    margin-right: 8px;
    color: #28a745;
}

.select-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.select-wrapper label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

.custom-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border-radius: 8px;
    background-color: white;
    font-size: 14px;
    color: #495057;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
    background-color: #fff;
}

.custom-select:hover {
    border-color: #28a745;
}

.custom-select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-select option {
    padding: 10px;
    background-color: white;
    color: #495057;
}

.form-control.address-input {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control.address-input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.select-loading {
    position: relative;
}

.select-loading::after {
    content: '';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .address-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.select-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

.has-icon .custom-select {
    padding-left: 45px;
}

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #007bff;
}

.product-card img {
  border-radius: 12px 12px 0 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.product-price {
  color: #ff6b6b;
  font-size: 20px;
  font-weight: bold;
}

.product-original-price {
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
}

.product-rating {
  color: #ffc107;
  font-size: 14px;
}

.product-sold {
  color: #666;
  font-size: 13px;
}

.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 45px;
  font-size: 14px;
  line-height: 1.4;
}

.product-select-btn {
  width: 100%;
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.product-select-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}

.discount-percentage {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b6b;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}