/* --- SEMANTIC AUTH STYLES WITH LIGHT/DARK SUPPORT --- */

:root {
    /* DEFAULT (LIGHT) THEME VARIABLES */
    --auth-bg-color: #f8f9fa;
    /* Light Gray */
    --auth-bg-image: none;
    --auth-primary: #6366f1;
    /* Indigo 500 */
    --auth-card-bg: #ffffff;
    --auth-card-border: 1px solid #e2e8f0;
    --auth-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    --auth-text-primary: #1e293b;
    /* Slate 800 */
    --auth-text-secondary: #64748b;
    /* Slate 500 */
    --auth-text-muted: #94a3b8;
    /* Slate 400 */

    --auth-input-bg: #ffffff;
    --auth-input-border: #cbd5e1;
    /* Slate 300 */
    --auth-input-text: #0f172a;
    --auth-input-placeholder: #94a3b8;
    --auth-input-focus-border: #6366f1;
    --auth-input-focus-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);

    --auth-btn-bg: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --auth-btn-text: #ffffff;
    --auth-btn-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);

    --auth-icon-color: #6366f1;
    --auth-icon-bg: rgba(99, 102, 241, 0.1);

    --auth-link-color: #6366f1;
    --auth-link-hover: #4f46e5;

    --auth-divider-border: #f1f5f9;
}

[data-theme="dark"] {
    /* DARK (CYBER) THEME VARIABLES */
    --auth-bg-color: #0f172a;
    /* Slate 900 */
    --auth-bg-image: linear-gradient(to bottom, #0f172a, #1e293b);
    --auth-primary: #818cf8;
    /* Indigo 400 */
    --auth-card-bg: rgba(15, 23, 42, 0.8);
    --auth-card-border: 1px solid rgba(255, 255, 255, 0.1);
    --auth-card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

    --auth-text-primary: #f8fafc;
    /* Slate 50 */
    --auth-text-secondary: #cbd5e1;
    /* Slate 300 */
    --auth-text-muted: #64748b;
    /* Slate 500 */

    --auth-input-bg: rgba(30, 41, 59, 0.6);
    --auth-input-border: rgba(148, 163, 184, 0.2);
    --auth-input-text: #ffffff;
    --auth-input-placeholder: #64748b;
    --auth-input-focus-border: #06b6d4;
    --auth-input-focus-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);

    --auth-btn-bg: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --auth-btn-text: #ffffff;
    --auth-btn-shadow: 0 0 20px rgba(6, 182, 212, 0.4);

    --auth-icon-color: #22d3ee;
    --auth-icon-bg: rgba(6, 182, 212, 0.15);

    --auth-link-color: #22d3ee;
    --auth-link-hover: #67e8f9;

    --auth-divider-border: rgba(255, 255, 255, 0.1);
}

/* --- GLOBAL RESETS & LAYOUT --- */

/* Reset template background on auth section to allow our background to show */
.rs-login-register {
    background: transparent !important;
}

/* Apply background to the wrapper div or main */
.bg-body-custom {
    background-color: var(--auth-bg-color);
    background-image: var(--auth-bg-image);
    min-height: 100vh;
    transition: background 0.3s ease;
}

/* Animations (Blobs) - Only visible in Dark Mode */
.auth-decoration {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .auth-decoration {
    display: block;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: auth-blob 10s infinite alternate;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: #06b6d4;
    animation-delay: 0s;
}

.blob-2 {
    bottom: 20%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: #a855f7;
    animation-delay: -2s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 150px;
    height: 150px;
    background: #ec4899;
    animation-delay: -4s;
}

@keyframes auth-blob {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

/* --- COMPONENT STYLES --- */

.auth-card {
    background: var(--auth-card-bg);
    border: var(--auth-card-border);
    box-shadow: var(--auth-card-shadow);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    /* For glass effect in dark mode */
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.auth-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--auth-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid var(--auth-icon-color);
    box-shadow: 0 0 15px var(--auth-icon-bg);
}

.auth-icon {
    font-size: 1.8rem;
    color: var(--auth-icon-color);
}

.auth-title {
    color: var(--auth-text-primary);
    font-weight: 700;
    font-size: 1.75rem;
}

.auth-desc {
    color: var(--auth-text-secondary);
    font-size: 0.95rem;
}

.auth-label {
    color: var(--auth-text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.auth-label-sm {
    color: var(--auth-text-secondary);
    font-size: 0.9rem;
}

/* Inputs */
.auth-input {
    width: 100%;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-input-border);
    color: var(--auth-input-text);
    padding: 0.8rem 1rem 0.8rem 3rem;
    /* Space for icon */
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

/* Adjust padding for RTL */
html[dir="rtl"] .auth-input {
    padding: 0.8rem 3rem 0.8rem 1rem;
}

.auth-input:focus {
    border-color: var(--auth-input-focus-border);
    box-shadow: var(--auth-input-focus-shadow);
}

.auth-input::placeholder {
    color: var(--auth-input-placeholder);
}

/* Input Icons */
.relative {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--auth-text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.2s;
}

/* Adjust icon position for RTL */
html[dir="rtl"] .auth-input-icon {
    left: auto;
    right: 1rem;
}

.group:focus-within .auth-input-icon {
    color: var(--auth-icon-color);
}

/* Buttons */
.auth-btn {
    width: 100%;
    background: var(--auth-btn-bg);
    color: var(--auth-btn-text);
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--auth-btn-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Secondary Button (Ghost/Outline) */
.auth-btn-secondary {
    width: 100%;
    background: transparent;
    border: 1px solid var(--auth-input-border);
    color: var(--auth-text-secondary);
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--auth-text-primary);
    border-color: var(--auth-text-secondary);
    transform: translateY(-1px);
}

[data-theme="dark"] .auth-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: #fff;
}

/* Links */
.auth-link-sm {
    font-size: 0.85rem;
    color: var(--auth-link-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link-sm:hover {
    color: var(--auth-link-hover);
    text-decoration: underline;
}

.auth-link {
    color: var(--auth-link-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--auth-link-hover);
}

.auth-text-sm {
    color: var(--auth-text-secondary);
    font-size: 0.9rem;
}

.auth-divider {
    border-top: 1px solid var(--auth-divider-border);
    margin-top: 1.5rem;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}

.text-danger {
    color: #ef4444 !important;
}

.d-block {
    display: block;
}

.gap-2 {
    gap: 0.5rem;
}

/* =========================================
   DASHBOARD STYLES (Cyber Theme Extension)
   ========================================= */

/* Banner */
.dashboard-banner {
    background: linear-gradient(135deg, var(--auth-primary) 0%, #1e1b4b 100%);
    padding: 60px 0 40px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .dashboard-banner {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-banner h1 {
    color: #fff !important;
}

.dashboard-banner p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Sidebar */
.dashboard-sidebar {
    background: var(--auth-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--auth-input-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: var(--auth-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0.75rem;
    margin: 0.25rem 0.75rem;
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--auth-primary);
}

[data-theme="dark"] .sidebar-nav-link:hover,
[data-theme="dark"] .sidebar-nav-link.active {
    background: rgba(99, 102, 241, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

/* Dashboard Cards (Stats) */
.dashboard-stat-card {
    background: var(--auth-card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--auth-input-border);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--auth-primary);
}

[data-theme="dark"] .dashboard-stat-card:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--auth-primary);
    margin-bottom: 1rem;
}

/* Tables */
.dashboard-table-card {
    background: var(--auth-card-bg);
    border: 1px solid var(--auth-input-border);
    border-radius: 1rem;
    overflow: hidden;
}

.dashboard-table-header {
    background: var(--auth-card-bg);
    border-bottom: 1px solid var(--auth-input-border);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-table thead th {
    background: rgba(0, 0, 0, 0.02);
    color: var(--auth-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--auth-input-border);
    padding: 1rem;
}

[data-theme="dark"] .dashboard-table thead th {
    background: rgba(255, 255, 255, 0.02);
}

.dashboard-table tbody td {
    padding: 1rem;
    color: var(--auth-text-primary);
    border-bottom: 1px solid var(--auth-input-border);
    vertical-align: middle;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.dashboard-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="dark"] .dashboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Badge Tweaks */
.badge-soft-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-soft-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-soft-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-soft-primary {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* --- GLOBAL DASHBOARD COMPONENT OVERRIDES --- */
.bg-body-custom .card {
    background-color: var(--auth-card-bg);
    border: 1px solid var(--auth-input-border);
    box-shadow: var(--auth-card-shadow);
    border-radius: 1rem;
}

.bg-body-custom .table {
    margin-bottom: 0;
    color: var(--auth-text-primary);
}

.bg-body-custom .table thead th {
    background: rgba(0, 0, 0, 0.02);
    color: var(--auth-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--auth-input-border);
    border-top: none;
    padding: 1rem;
}

[data-theme="dark"] .bg-body-custom .table thead th {
    background: rgba(255, 255, 255, 0.05);
}

.bg-body-custom .table td,
.bg-body-custom .table th {
    vertical-align: middle;
    padding: 1rem;
    border-color: var(--auth-input-border);
}

.bg-body-custom h1,
.bg-body-custom h2,
.bg-body-custom h3,
.bg-body-custom h4,
.bg-body-custom h5,
.bg-body-custom h6 {
    color: var(--auth-text-primary);
}

.dashboard-table,
.dashboard-table td,
.dashboard-table th {
    background-color: transparent !important;
}

/* --- DARK MODE AUTOMATIC PATCHES --- */
[data-theme="dark"] .bg-body-custom .text-dark {
    color: var(--auth-text-primary) !important;
}

[data-theme="dark"] .bg-body-custom .text-muted {
    color: var(--auth-text-secondary) !important;
}

[data-theme="dark"] .bg-body-custom .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .bg-body-custom .bg-white {
    background-color: var(--auth-card-bg) !important;
}

[data-theme="dark"] .bg-body-custom .border-light {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Dashboard Inputs */
.bg-body-custom .form-control,
.bg-body-custom .form-select,
.bg-body-custom textarea {
    background-color: var(--auth-input-bg);
    border: 1px solid var(--auth-input-border);
    color: var(--auth-input-text);
    border-radius: 0.5rem;
}

.bg-body-custom .form-control:focus,
.bg-body-custom .form-select:focus,
.bg-body-custom textarea:focus {
    border-color: var(--auth-input-focus-border);
    box-shadow: var(--auth-input-focus-shadow);
    background-color: var(--auth-input-bg);
    color: var(--auth-input-text);
}

.bg-body-custom .form-label {
    color: var(--auth-text-primary);
}

/* FORCE TRANSPARENT TABLES GLOBALLY */
.bg-body-custom .table,
.bg-body-custom .table td,
.bg-body-custom .table th,
.bg-body-custom .table tr {
    background-color: transparent !important;
}

/* Fix Table Hover in Dark Mode */
[data-theme="dark"] .bg-body-custom .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--auth-text-primary) !important;
}

/* Fix Card Header Borders in Dark Mode */
[data-theme="dark"] .bg-body-custom .card-header {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* === Domain Search Results Styling === */
.domain-result {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.domain-main-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.domain-main-card.available {
    border-color: #00b894;
    background: rgba(0, 184, 148, 0.05);
}

.domain-main-card.unavailable {
    border-color: #d63031;
    background: rgba(214, 48, 49, 0.05);
}

.domain-name-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--auth-text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.domain-price-large {
    font-size: 1.25rem;
    color: #00b894;
    font-weight: 600;
    margin-top: 0.5rem;
}

.btn-add-cart {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn-add-cart:disabled {
    background: #636e72;
    cursor: not-allowed;
    box-shadow: none;
}

/* Suggestion Table */
.suggestions-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestions-title {
    color: var(--auth-text-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.suggestions-table {
    width: 100%;
}

.suggestions-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestions-table tr:last-child {
    border-bottom: none;
}

.suggestions-table td {
    padding: 1rem 0;
    color: var(--auth-text-secondary);
    font-size: 1rem;
}

.suggestion-price {
    font-weight: 600;
    color: #00b894;
    margin-right: 15px;
    margin-left: 15px;
}

.btn-add-cart-sm {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    color: #a29bfe;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart-sm:hover {
    background: #6c5ce7;
    color: white;
}

.domain-status-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.domain-status-badge.available {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.domain-status-badge.unavailable {
    background: rgba(214, 48, 49, 0.2);
    color: #d63031;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Homepage Domain Search Specific Overrides (Always Dark Section) */
.domain-search-legendary .domain-name-large,
.domain-search-legendary .suggestions-title,
.domain-search-legendary .suggestions-table td {
    color: #ffffff !important;
}

.domain-search-legendary .domain-main-card,
.domain-search-legendary .suggestions-wrapper {
    background: rgba(20, 20, 30, 0.8) !important;
    /* Darker background for legibility */
    border-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px);
}

/* === BOOTSTRAP DARK MODE COMPATIBILITY WITHIN CUSTOM THEME === */
[data-theme="dark"] .bg-body-custom .text-dark {
    color: var(--auth-text-primary) !important;
}

[data-theme="dark"] .bg-body-custom .text-muted {
    color: var(--auth-text-secondary) !important;
}

[data-theme="dark"] .bg-body-custom .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .bg-body-custom .bg-white {
    background-color: var(--auth-card-bg) !important;
}

[data-theme="dark"] .bg-body-custom .card {
    background-color: var(--auth-card-bg);
    border: var(--auth-card-border);
    color: var(--auth-text-primary);
}

[data-theme="dark"] .bg-body-custom .card-header {
    border-bottom: var(--auth-card-border);
}

[data-theme="dark"] .bg-body-custom .border-light {
    border-color: var(--auth-divider-border) !important;
}

/* Transparency rule removed to force dark gradient */

[data-theme="dark"] .domain-search-wrapper,
[data-theme="dark"] .bg-body-custom .card {
    background: rgba(30, 41, 59, 0.4) !important;
    backdrop-filter: blur(5px);
}

/* === BALANCED SLIDER ELEMENTS === */
.hero-holographic .blob {
    opacity: 0.4 !important;
    /* Subtle, natural opacity */
    filter: blur(70px) !important;
    /* Soft blur */
    width: 400px !important;
    /* Normal size */
    height: 400px !important;
    mix-blend-mode: normal;
}

/* === HERO SLIDER: ALWAYS DARK (THEME INDEPENDENT) === */
.hero-holographic {
    background: #0f172a linear-gradient(to bottom, #0f172a, #1e293b) !important;
    /* Fixed Dark Gradient */
    position: relative;
    z-index: 1;
}

/* Force Text to be White/Light ALWAYS in Slider */
.hero-holographic .display-3,
.hero-holographic .text-theme-contrast,
.hero-holographic h1 {
    color: #ffffff !important;
}

.hero-holographic .text-blue-200 {
    color: #bfdbfe !important;
    /* Always light blue */
}

/* Fix "Transparent Stroke" - Always White/Transparent Stroke */
.text-transparent-stroke {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
}

/* Reset positions for balanced layout */
.hero-holographic .blob-1 {
    top: 10%;
    left: 10%;
}

.hero-holographic .blob-2 {
    bottom: 20%;
    right: 10%;
    opacity: 0.3 !important;
}

.hero-holographic .blob-3 {
    top: 40%;
    left: 40%;
    width: 300px !important;
    height: 300px !important;
}

/* Ensure Blobs and Cards override any light theme defaults */
.hero-holographic .auth-decoration {
    display: block !important;
    z-index: 0 !important;
}



.cyber-grid {
    z-index: 1 !important;
    opacity: 0.1 !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Tables in Dark Mode */
[data-theme="dark"] .bg-body-custom .table {
    color: var(--auth-text-primary);
    background-color: transparent !important;
}

[data-theme="dark"] .bg-body-custom .table thead th {
    color: var(--auth-text-secondary);
    border-bottom: var(--auth-divider-border);
    background-color: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .bg-body-custom .table td {
    color: var(--auth-text-primary);
    border-bottom: var(--auth-divider-border);
}

/* Buttons and Inputs in Dark Mode */
[data-theme="dark"] .bg-body-custom .btn-outline-light {
    border-color: var(--auth-divider-border) !important;
    color: var(--auth-text-primary) !important;
}

[data-theme="dark"] .bg-body-custom .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .bg-body-custom .btn-check:checked+.btn-outline-light {
    background-color: rgba(114, 46, 209, 0.2) !important;
    border-color: #722ed1 !important;
    color: #fff !important;
}

/* Breadcrumbs in Dark Mode */
[data-theme="dark"] .bg-body-custom .breadcrumb-item,
[data-theme="dark"] .bg-body-custom .breadcrumb-item a {
    color: var(--auth-text-secondary);
}

[data-theme="dark"] .bg-body-custom .breadcrumb-item.active {
    color: var(--auth-text-primary);
}