.content__nav2 {
     background-color: #FFFFFF;
     height: 50px;
     left: 0;
     position: absolute;
     right: 0;
     top: 0;
     z-index: 1000;
 }

/* Campaign Container */
.campaign-container {
     margin-top: 50px;
     padding: 20px;
     background-color: #f8f9fa;
     min-height: 100vh;
}

.campaign-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 30px;
     padding: 20px;
     background: white;
     border-radius: 8px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.campaign-header h2 {
     margin: 0;
     color: #333;
     font-size: 24px;
     font-weight: 600;
}



/* Loading */
.campaign-loading {
     text-align: center;
     padding: 60px 20px;
     background: white;
     border-radius: 8px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.campaign-loading .fa-spinner {
     color: #007bff;
     margin-bottom: 15px;
}

.campaign-loading p {
     color: #666;
     margin: 0;
     font-size: 16px;
}

/* Campaign List */
.campaign-list {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
     gap: 20px;
     margin-bottom: 30px;
}

.campaign-card {
     background: white;
     border-radius: 12px;
     box-shadow: 0 4px 6px rgba(0,0,0,0.1);
     overflow: hidden;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-card:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.campaign-image {
     height: 200px;
     overflow: hidden;
     position: relative;
}

.campaign-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease, opacity 0.3s ease;
}

.campaign-image img {
     transition: opacity 0.3s ease;
}

.campaign-image img[src*="banner_picture_default.png"] {
     opacity: 0.8;
     filter: grayscale(20%);
}

.no-image-placeholder {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     height: 100%;
     background-color: #f8f9fa;
     color: #6c757d;
     text-align: center;
}

.no-image-placeholder i {
     font-size: 48px;
     margin-bottom: 10px;
     opacity: 0.5;
}

.no-image-placeholder p {
     margin: 0;
     font-size: 14px;
     font-weight: 500;
}

.campaign-card:hover .campaign-image img {
     transform: scale(1.05);
}

.campaign-content {
     padding: 20px;
}

.campaign-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 15px;
}

.campaign-title {
     font-size: 18px;
     font-weight: 600;
     color: #333;
     margin: 0;
     flex: 1;
     margin-right: 15px;
}

.campaign-status {
     padding: 4px 12px;
     border-radius: 20px;
     font-size: 12px;
     font-weight: 500;
     text-transform: uppercase;
}

.status-active {
     background-color: #d4edda;
     color: #155724;
}

.status-inactive {
     background-color: #f8d7da;
     color: #721c24;
}

.campaign-description {
     color: #666;
     font-size: 14px;
     line-height: 1.5;
     margin-bottom: 20px;
     display: -webkit-box;
     -webkit-line-clamp: 3;
     line-clamp: 3;
     -webkit-box-orient: vertical;
     overflow: hidden;
}

.campaign-details {
     margin-bottom: 20px;
}

.detail-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 8px 0;
     border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
     border-bottom: none;
}

.detail-label {
     font-weight: 500;
     color: #666;
     font-size: 14px;
}

.detail-value {
     color: #333;
     font-size: 14px;
     font-weight: 500;
}

.commission-value {
     color: #28a745;
     font-weight: 600;
}

.campaign-actions {
     display: flex;
     gap: 10px;
     flex-wrap: wrap;
}

.campaign-actions .btn {
     padding: 6px 12px;
     font-size: 12px;
     border-radius: 6px;
     font-weight: 500;
}

/* No Campaigns */
.no-campaigns {
     text-align: center;
     padding: 60px 20px;
     background: white;
     border-radius: 8px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.no-campaigns p {
     color: #666;
     font-size: 16px;
     margin: 0;
}

/* Pagination */
.campaign-pagination {
     margin-top: 30px;
}

.pagination-info {
     background: white;
     padding: 15px 20px;
     border-radius: 8px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
     margin-bottom: 15px;
}

.pagination-info .text-muted {
     font-size: 14px;
     color: #6c757d;
}

.campaign-pagination .pagination {
     margin: 0;
}

.campaign-pagination .page-link {
     color: #007bff;
     border: 1px solid #dee2e6;
     padding: 8px 12px;
     margin: 0 2px;
     border-radius: 6px;
     min-width: 40px;
     text-align: center;
     transition: all 0.2s ease;
}

.campaign-pagination .page-link:hover {
     color: #0056b3;
     background-color: #e9ecef;
     border-color: #dee2e6;
     transform: translateY(-1px);
}

.campaign-pagination .page-item.active .page-link {
     background-color: #007bff;
     border-color: #007bff;
     color: white;
     font-weight: 600;
}

.campaign-pagination .page-item.disabled .page-link {
     color: #6c757d;
     background-color: #f8f9fa;
     border-color: #dee2e6;
     cursor: not-allowed;
}

.campaign-pagination .page-link[title] {
     font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
     .campaign-list {
         grid-template-columns: 1fr;
     }
     
     
     .pagination-info .row {
         flex-direction: column;
         gap: 10px;
     }
     
     .pagination-info .col-md-6 {
         text-align: center !important;
     }
     
     .campaign-pagination .page-link {
         padding: 6px 8px;
         margin: 0 1px;
         min-width: 35px;
         font-size: 14px;
     }
}

@media (max-width: 480px) {
     .campaign-container {
         padding: 10px;
     }
     
     .campaign-header {
         padding: 15px;
     }
     
     .campaign-filters {
         padding: 15px;
     }
     
     .campaign-content {
         padding: 15px;
     }
}/* Camp
aign Detail Modal */
.campaign-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.campaign-detail-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
}

.campaign-detail-description {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin-left: 0;
}

.campaign-detail-description h6 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 8px;
}

.detail-item {
    padding: 8px 0;
}

.detail-item strong {
    color: #495057;
    font-size: 14px;
}

.detail-item .text-muted {
    font-size: 14px;
    margin-top: 2px;
}

.detail-item .text-success {
    font-size: 16px;
}

.no-image-placeholder.text-center {
    border: 2px dashed #dee2e6;
    background-color: #f8f9fa;
}

.no-image-placeholder .fa-image {
    color: #adb5bd;
}

/* Campaign Actions Buttons */
.campaign-actions .btn {
    transition: all 0.2s ease;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.campaign-actions .btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.campaign-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

.campaign-actions .btn-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.campaign-actions .btn-success:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
}

.campaign-actions .btn i {
    margin-right: 5px;
}

/* Modal Enhancements */
.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-bottom: none;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 15px 25px;
}

.modal-footer .btn {
    font-weight: 500;
    padding: 8px 20px;
}

/* Badge Styles */
.badge.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
}

/* Loading Modal */
#loadingModal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#loadingModal .modal-body {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

#loadingModal .fa-spinner {
    color: #007bff;
}

/* Terms Section */
.bg-light.p-3.rounded {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-dialog.modal-lg {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-footer {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .campaign-actions {
        justify-content: center;
    }
    
    .campaign-actions .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Animation for campaign cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.campaign-card {
    animation: fadeInUp 0.5s ease forwards;
}

.campaign-card:nth-child(1) { animation-delay: 0.1s; }
.campaign-card:nth-child(2) { animation-delay: 0.2s; }
.campaign-card:nth-child(3) { animation-delay: 0.3s; }
.campaign-card:nth-child(4) { animation-delay: 0.4s; }
.campaign-card:nth-child(5) { animation-delay: 0.5s; }/* Toas
t Notifications */
#toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-bottom: 10px;
}

.toast-body {
    font-weight: 500;
    padding: 12px 16px;
}

.toast .fa {
    font-size: 16px;
}

/* Link Copied Modal Enhancements */
#linkCopiedModal .modal-header.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

#linkCopiedModal .input-group .form-control {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background-color: #f8f9fa;
}

#linkCopiedModal .input-group .btn {
    border-left: none;
}

#linkCopiedModal .text-muted {
    font-size: 13px;
    line-height: 1.4;
}

/* Hover effects for action buttons */
.campaign-actions .btn {
    position: relative;
    overflow: hidden;
}

.campaign-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.campaign-actions .btn:hover::before {
    left: 100%;
}

/* Improved modal backdrop */
.modal-backdrop {
    background-color: rgba(0,0,0,0.6);
}

/* Campaign card hover effect enhancement */
.campaign-card {
    position: relative;
    overflow: hidden;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,123,255,0.05), rgba(40,167,69,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.campaign-card:hover::before {
    opacity: 1;
}

.campaign-card .campaign-content {
    position: relative;
    z-index: 2;
}/*
 Modal XL size support */
.modal-dialog.modal-xl {
    max-width: 1200px;
}

/* Content description styling */
.content-description {
    line-height: 1.6;
}

.content-description p {
    margin-bottom: 10px;
}

.content-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

/* Campaign content image */
.campaign-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Info boxes styling */
.bg-info.bg-opacity-10 {
    background-color: rgba(13, 202, 240, 0.1) !important;
}

.bg-warning.bg-opacity-10 {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-danger.bg-opacity-10 {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.border-start.border-4 {
    border-left-width: 4px !important;
}

/* Accordion styling */
.accordion-button {
    font-weight: 500;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: #e7f3ff;
    color: #0d6efd;
}

.accordion-body {
    background-color: #fff;
    line-height: 1.6;
}

/* Detail items enhancement */
.detail-item strong {
    color: #495057;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item .text-muted {
    font-size: 15px;
    font-weight: 500;
    margin-top: 4px;
}

.detail-item .text-success {
    font-size: 18px;
    font-weight: 700;
}

/* Campaign images in modal */
.campaign-detail-image h6,
.campaign-content-image h6 {
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive modal XL */
@media (max-width: 1200px) {
    .modal-dialog.modal-xl {
        max-width: 95%;
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .modal-dialog.modal-xl {
        margin: 5px;
        max-width: calc(100% - 10px);
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .campaign-detail-image,
    .campaign-content-image {
        margin-bottom: 20px;
    }
    
    .detail-item {
        margin-bottom: 15px;
    }
    
    .accordion-button {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Enhanced campaign actions */
.campaign-actions .btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.campaign-actions .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.campaign-actions .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.campaign-actions .btn-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
    border: none;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.campaign-actions .btn-success:hover {
    background: linear-gradient(45deg, #1e7e34, #155724);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
}

/* Modal footer buttons */
.modal-footer .btn {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-footer .btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.3);
}

.modal-footer .btn-success:hover {
    background: linear-gradient(45deg, #20c997, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(40, 167, 69, 0.4);
}

/* Loading animation for images */
.campaign-detail-image img,
.campaign-content-image img {
    transition: opacity 0.3s ease;
}

.campaign-detail-image img:not([src]),
.campaign-content-image img:not([src]) {
    opacity: 0;
}

/* Smooth scroll for long modals */
.modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}