/* AdBlock Detector Modal Styles - Base Styles */
#adblockModal .modal-content {
    background: #ffffff !important;
    color: #000000 !important;
}

#adblockModal .modal-header {
    border-bottom: 2px solid #ffc107 !important;
    background: linear-gradient(135deg, #fff9e6, #fff3cd) !important;
    color: #000000 !important;
}

#adblockModal .modal-title {
    color: #000000 !important;
    font-weight: 600;
}

#adblockModal .modal-body {
    background: #ffffff !important;
    color: #000000 !important;
}

#adblockModal .modal-body p,
#adblockModal .modal-body div,
#adblockModal .modal-body span,
#adblockModal .modal-body strong,
#adblockModal .modal-body em {
    color: #000000 !important;
}

#adblockModal .modal-body a {
    color: #0066cc !important;
}

#adblockModal .modal-footer {
    border-top: 1px solid #dee2e6 !important;
    background: #f8f9fa !important;
    color: #000000 !important;
}

#adblockModal ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

#adblockModal ul li {
    margin-bottom: 0.5rem;
    color: #495057;
}

#adblockModal .alert-info {
    background: #e8f4fd;
    border-color: #b6e0fe;
    color: #055160;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.back-to-top:hover {
    background: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    #adblockModal .modal-dialog {
        margin: 20px;
    }
}

/* Dark mode - Force white background with black text */
body:not(.light-mode) #adblockModal .modal-content {
    background: #ffffff !important;
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal .modal-header {
    background: linear-gradient(135deg, #fff9e6, #fff3cd) !important;
    border-bottom-color: #ffc107 !important;
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal .modal-title {
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal .modal-body {
    background: #ffffff !important;
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal .modal-body p,
body:not(.light-mode) #adblockModal .modal-body div,
body:not(.light-mode) #adblockModal .modal-body span,
body:not(.light-mode) #adblockModal .modal-body strong,
body:not(.light-mode) #adblockModal .modal-body em {
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal .modal-body a {
    color: #0066cc !important;
}

body:not(.light-mode) #adblockModal .modal-footer {
    background: #f8f9fa !important;
    border-top-color: #dee2e6 !important;
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal ul li {
    color: #000000 !important;
}

body:not(.light-mode) #adblockModal .alert-info {
    background: #e8f4fd !important;
    border-color: #b6e0fe !important;
    color: #000000 !important;
}

/* Light mode - Force white background with black text */
body.light-mode #adblockModal .modal-content {
    background: #ffffff !important;
    color: #000000 !important;
}

body.light-mode #adblockModal .modal-header {
    background: linear-gradient(135deg, #fff9e6, #fff3cd) !important;
    border-bottom-color: #ffc107 !important;
    color: #000000 !important;
}

body.light-mode #adblockModal .modal-title {
    color: #000000 !important;
}

body.light-mode #adblockModal .modal-body {
    background: #ffffff !important;
    color: #000000 !important;
}

body.light-mode #adblockModal .modal-body p,
body.light-mode #adblockModal .modal-body div,
body.light-mode #adblockModal .modal-body span,
body.light-mode #adblockModal .modal-body strong,
body.light-mode #adblockModal .modal-body em {
    color: #000000 !important;
}

body.light-mode #adblockModal .modal-body a {
    color: #0066cc !important;
}

body.light-mode #adblockModal .modal-footer {
    background: #f8f9fa !important;
    border-top-color: #dee2e6 !important;
    color: #000000 !important;
}

body.light-mode #adblockModal ul li {
    color: #000000 !important;
}

body.light-mode #adblockModal .alert-info {
    background: #e8f4fd !important;
    border-color: #b6e0fe !important;
    color: #000000 !important;
}