/* Floating Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: none;
    font-size: 20px;
    background-color: #0d6efd;
    color: #fff;
    padding: 15px;
    border-radius: 15%;
    cursor: pointer;
    transition: background-color 0.3s;
}

#backToTop:hover {
    background-color: #0b5ed7;
}

/* Global Black & White Theme Overrides */
html, body {
    background: #000 !important;
    color: #fff !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #fff !important;
}
p, li, span, small, label, .text-secondary, .text-muted {
    color: #e5e5e5 !important;
}

/* Links and Navigation */
a, .nav-link {
    color: #f0f0f0 !important;
    text-decoration: none;
}
a:hover, .nav-link:hover {
    color: #ffffff !important;
}
.navbar, .navbar.navbar-expand-lg {
    background: #111 !important;
    border-bottom: 1px solid #222 !important;
}
.navbar .navbar-brand {
    color: #fff !important;
}

/* Containers and Cards */
.container, .main-container, .contact-form-container, .contact-info, .form-section, .benefit-item, .quick-contact-card, .payment-header, .checkbox-container, .security-features, .captcha-container {
    background: #0f0f0f !important;
    border-color: #222 !important;
    color: #fff !important;
}
.card, .modal-content {
    background: #0f0f0f !important;
    color: #fff !important;
    border: 1px solid #222 !important;
}

/* Inputs */
input, textarea, select {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
}
input::placeholder, textarea::placeholder {
    color: #9a9a9a !important;
}
.input-container, .form-input-container {
    background: #111 !important;
    border: 1px solid #333 !important;
}
.input-container.valid, .form-input-container.valid { border-color: #bbb !important; }
.input-container.invalid, .form-input-container.invalid { border-color: #666 !important; }

/* Buttons */
.btn, button, .btn-primary-custom, .btn-secondary-custom, .form-submit, .btn-login, .btn-back {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}
.btn:hover, button:hover, .btn-primary-custom:hover, .btn-secondary-custom:hover, .form-submit:hover, .btn-login:hover, .btn-back:hover {
    background: #e5e5e5 !important;
    color: #000 !important;
}
.btn-secondary-custom {
    background: #111 !important;
    color: #fff !important;
    border-color: #333 !important;
}
.btn-secondary-custom:hover {
    background: #1a1a1a !important;
}

/* Plan Cards */
.plan-card {
    background: #0f0f0f !important;
    border: 1px solid #2a2a2a !important;
}
.plan-card.selected {
    border-color: #fff !important;
    background: #151515 !important;
}
.plan-duration, .plan-price, .plan-devices { color: #fff !important; }

/* Notifications and Toasts */
.notification, .notification-trial, .notification-refer, .toast-modern {
    background: #0f0f0f !important;
    border-left: 4px solid #fff !important;
    color: #fff !important;
}

/* Utility */
.border-light { border-color: #444 !important; }
.text-light { color: #f5f5f5 !important; }
.bg-dark-900 { background: #000 !important; }
.bg-dark-800 { background: #0f0f0f !important; }
.bg-dark-700 { background: #171717 !important; }

/* Navbar dropdown (Packages) - dark theme */
.dropdown-menu {
    background: #0f0f0f !important;
    border: 1px solid #222 !important;
}
.dropdown-menu .dropdown-item {
    color: #e5e5e5 !important;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: #161616 !important;
    color: #ffffff !important;
}