.frontend-dashboard {
    background-color: #f5f7ff;
}

/* Sidebar */
.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    background: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-nav {
    padding: 1rem;
}

.nav-link {
    color: #6c757d;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    padding: 0.75rem 1rem;
    font-size: 16px;
}

.nav-link:hover,
.nav-link.active {
    background-color: #e0e3ff;
    color: #4361ee;
}

.nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 0.75rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 2rem;
    transition: all 0.3s;
}

.navbar-toggler {
    padding: 15px!important;
    color: #fff;
}

/* Stats Cards */
.stat-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
}

.product-img {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

/* Modal */
.promotion-modal .nav-link {
    color: #6c757d;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.5rem;
    margin-bottom: -1px;
}

.promotion-modal .nav-link.active {
    color: #4361ee;
    background: transparent;
    border-bottom-color: #4361ee;
}

.banner-card {
    border: 1px solid #3f37c9;
    border-radius: 0.5rem;
    overflow: hidden;
}

.banner-preview {
    height: 120px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1050;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .navbar-toggler {
        display: block;
    }
}

.load-all-chats {
    font-weight: bolder;
    border-radius: 10px;
    border: 1px solid;
    padding: 5px 15px;
    display: inline-block;
    margin-bottom: 25px;
}


/* Promotion Modal Styles */
#promotionModal .modal-dialog {
    max-width: 800px;
}

#promotionModal .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

#promotionModal .nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

#promotionModal .nav-tabs .nav-link.active {
    color: #4361ee;
    border-bottom-color: #4361ee;
    background: transparent;
}

#promotionModal .nav-tabs .nav-link:hover {
    border-bottom-color: #dee2e6;
}

#promotionModal .tab-content {
    padding: 1.5rem 0;
}

#promotionModal .banner-preview {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #dee2e6;
    border-radius: 0.25rem;
}

#promotionModal .banner-preview img {
    max-width: 100%;
    max-height: 100%;
}


.banner-images-container {
    padding: 15px;
}

.banner-size-field {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.banner-size-field h4 {
    margin-top: 0;
    font-size: 14px;
    font-weight: 600;
}

.banner-preview {
    margin-bottom: 10px;
}

.banner-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}

.upload-banner-button,
.remove-banner-button {
    margin-right: 5px;
}

/* Frontend Banner Display */
.banner-preview-card {
    margin-bottom: 20px;
}

.banner-preview-card .banner-preview {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}