/* Base Container */
.bss-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Row layout */
  .bss-row {
    display: flex;
    align-items: center;
  }
  
  /* Image style */
  .bss-image {
    width: 40px; /* Adjust size as needed */
    height: 40px;
    object-fit: cover;
  }
  
  /* Checkbox style */
  .bss-checkbox {
    width: 20px;
    height: 20px;
  }
  
  /* Input field style */
  .bss-input {
    width:100%;
    flex-grow: 1;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* Optional: add focus effect on input */
  .bss-input:focus {
    border-color: #007BFF;
    outline: none;
  }

  .info_detailes{
    display: flex;
    margin: 0px !important;
    gap: 17px;
  }
  
  .info_payment_detailes{
    border: 1px solid #f3f1f1;
    padding: 30px;
  }

  .info_timer{
    border: 1px solid #f3f1f1;
    padding: 30px;
  }

  .info p{
    text-align:left !important;
  }

  .info_exchange span{
    color: #888;
  }

/* =============================================================================
   PRODUCT LABELS AND BADGES STYLES
   ============================================================================= */

/* Product badges container */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    max-width: 120px;
}

/* Badge base styles */
.product-badges .badge {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    line-height: 1.2;
    word-break: break-word;
}

/* Verified badge */
.badge-verified {
    background-color: #28a745 !important;
    color: white !important;
}

.badge-verified i {
    margin-right: 3px;
}

/* Label badge */
.badge-label {
    color: white !important;
}

/* Admin label management styles */
.label-color-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #ddd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-badges {
        max-width: 80px;
    }
    
    .product-badges .badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Admin table label styles */
.admin-label-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    color: white;
    font-size: 11px;
    margin-right: 3px;
}

/* Online Status Button Styles */
.online-status-button {
    display: inline-block;
    padding: 6px 12px;
    margin: 5px 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #28a745;
    border-radius: 20px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.online-status-button:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

.online-status-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.online-status-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Loading state */
.online-status-button.loading {
    pointer-events: none;
    opacity: 0.8;
    background-color: #6c757d;
    border-color: #6c757d;
}

.online-status-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -6px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success state */
.online-status-button.success {
    background-color: #198754;
    border-color: #198754;
    animation: pulse-green 0.6s ease-in-out;
}

/* Error state */
.online-status-button.error {
    background-color: #dc3545;
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

/* Disabled state */
.online-status-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
}

.online-status-button:disabled:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: none;
    box-shadow: none;
}

/* Keyframe animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-green {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive design */
@media (max-width: 768px) {
    .online-status-button {
        padding: 4px 8px;
        font-size: 11px;
        margin: 3px 0;
    }
}

/* Make sure the button works well in product seller widget */
.product-seller-info .online-status-button {
    margin-top: 8px;
    display: inline-block;
    clear: both;
}

/* Ensure button visibility on different backgrounds */
.card .online-status-button,
.widget .online-status-button {
    margin-top: 10px;
}