.card-style{
    border-radius: 0px;
    border: 1px solid var(--line);
    border-radius: 5px;
}
.card-style .card-header{
    background-color: white !important;
    border-bottom: 1px solid var(--line);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.card-style .card-body{
    padding: 20px;
}
.card-style .card-footer{
    background-color: white !important;
    border-top: 1px solid var(--line);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}



/* Modern Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.mgx-toast {
    min-width: 320px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.mgx-toast-show {
    transform: translateX(0);
    opacity: 1;
}

.mgx-toast-hide {
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease-in;
}

.mgx-toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.mgx-toast-success .mgx-toast-icon {
    background: #d4edda;
    color: #155724;
}

.mgx-toast-error .mgx-toast-icon {
    background: #f8d7da;
    color: #721c24;
}

.mgx-toast-warning .mgx-toast-icon {
    background: #fff3cd;
    color: #856404;
}

.mgx-toast-info .mgx-toast-icon {
    background: #d1ecf1;
    color: #0c5460;
}

.mgx-toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.mgx-toast-message {
    font-size: 14px;
    line-height: 1.5;
    color: #2d3748;
    font-weight: 500;
}

.mgx-toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: all 0.2s ease;
    padding: 0;
}

.mgx-toast-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.mgx-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transition: width 5s linear;
    border-radius: 0 0 12px 12px;
}

.mgx-toast-success .mgx-toast-progress {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.mgx-toast-error .mgx-toast-progress {
    background: linear-gradient(90deg, #dc3545, #e74c3c);
}

.mgx-toast-warning .mgx-toast-progress {
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.mgx-toast-info .mgx-toast-progress {
    background: linear-gradient(90deg, #17a2b8, #00bcd4);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .mgx-toast {
        min-width: auto;
        width: 100%;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .mgx-toast {
        background: #2d3748;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .mgx-toast-message {
        color: #e2e8f0;
    }
    
    .mgx-toast-close {
        color: #cbd5e0;
    }
    
    .mgx-toast-close:hover {
        background: #4a5568;
        color: #f7fafc;
    }
}

/* Product Badge Styles */
.product-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    word-break: break-word;
    padding: 0 8px;
    min-width: 45px;
    text-transform: capitalize;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 24px;
    position: relative;
    border-radius: 999px;
    color: #fff;
    transition: all 0.3s ease;
}

.product-badge.badge-sale,
.product-badge.badge-discount {
    background-color: #fc5732;
}

.product-badge.badge-new {
    background-color: #2da5f3;
}

.product-badge.badge-best-seller {
    background-color: #ffa500;
}

.product-badge.badge-hot,
.product-badge.badge-trend {
    background-color: #ff4757;
}

.product-badge.badge-recommend {
    background-color: #26de81;
}

.product-badge.badge-pre-order {
    background-color: #a55eea;
}

.product-badge.badge-out-of-stock {
    background-color: #95a5a6;
}

/* Badge container for multiple badges */
.product-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* Hover effect */
.product-badge:hover {
    opacity: 0.9;
    transform: scale(1.05);
}



