[data-theme="dark"] {
    background-color: #111 !important;
    color: #eee;
}

/* Navbar Dark Mode Styling */
[data-theme="dark"] .navbar {
    background: linear-gradient(135deg, #2b1d5c, #1a1a2e, #16213e) !important;
    background-size: 300% 300% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: darkGradientShift 10s ease infinite;
}

@keyframes darkGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

[data-theme="dark"] .navbar-brand {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

[data-theme="dark"] .navbar-brand img {
    filter: drop-shadow(0 0 3px rgba(111, 66, 193, 0.7));
}

[data-theme="dark"] .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .navbar-nav .nav-link:hover,
[data-theme="dark"] .navbar-nav .nav-item.active .nav-link {
    color: #fff;
}

[data-theme="dark"] .navbar-nav .nav-link::after {
    background: linear-gradient(to right, #9d50bb, #6e48aa);
}

[data-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-theme="dark"] .header {
    background: url(../img/appsloom-header.png) no-repeat center center;
    background-position: bottom !important;
}
[data-theme="dark"] footer {
    background: url(../img/appsloom-footer.png) no-repeat center center;
    background-position: top !important;
}
[data-theme="dark"] footer .footer-social li a {
    color: rgb(255 255 255 / 87%);
    background: rgba(255, 255, 255, 0.11);
}
[data-theme="dark"] table {
    background-color: #272727;
}
[data-theme="dark"] .table>thead>tr>th {
    border-bottom: 1px solid rgba(221, 221, 221, 0.24);
}
[data-theme="dark"] .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #272727;
}
[data-theme="dark"] .table-hover>tbody>tr:hover {
    background-color: #000;
}
[data-theme="dark"] .section-currencies-table td {
    color: rgba(255, 255, 255, 0.95);
}
[data-theme="dark"] .convert-box {
    background-color: #272727;
}
[data-theme="dark"] label.label {
    color: rgb(255 255 255 / 80%);
    font-weight: 500;
}
[data-theme="dark"] .input-wrap .form-control {
    background: #3f3f3f;
    color: rgba(255, 255, 255, 0.9);
    border: none;
}
[data-theme="dark"] button.btn.dropdown-toggle.btn-light {
    background-color: #181818 !important;
    border: none;
}
[data-theme="dark"] .currency_name {
    color: rgba(255, 255, 255, 0.9);
}
[data-theme="dark"] .bootstrap-select .dropdown-menu {
    background: #181818;
}
[data-theme="dark"] .bs-searchbox input.form-control {
    border: 1px solid rgba(222, 222, 222, 0.2);
    background: #272727;
    color: rgba(255, 255, 255, 0.9);
}
[data-theme="dark"] .bootstrap-select .dropdown-menu li a {
    background: #181818;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .dropdown-toggle::after {
    border-top: .3em solid rgb(255 255 255 / 49%);
}
[data-theme="dark"] .slider{
    background-color: #272727;
    box-shadow: 0 0 10px #3a3737;
}
[data-theme="dark"] .slider:before {
    left: auto;
    right: 5px;
}
[data-theme="dark"] .switch i {
    left: 5px;
}
[data-theme="dark"] input:checked + .slider:before {
    transform: translate(-5px, -50%);
}
[data-theme="dark"] .switch i:before {
    content: "\f186";
    color: rgb(255 255 255 / 56%);
}
[data-theme="dark"] tr {
    border-top: 1px solid rgb(255 255 255 / 15%);
}
[data-theme="dark"] thead tr {
    border: none;
}