/* ======================= *//* Wall-stock.com – DARK MODE *//* ======================= */

/* ======================= */
/* MODERN TABLE – DARK MODE */
/* ======================= */

/* CSS Variables */
[data-bs-theme="dark"] {
   --table-text: #e5e7eb;
   --table-muted: #9ca3af;

   --ticket-bg: #20293e;
   --ticket-bg-hover: #1f2937;
   --ticket-border-open: #7c43e8;
   --ticket-border-closed: #020617;
   --ticket-bg-closed: #121924;

   --ticket-bg-unread: linear-gradient(90deg, #065f46 0%, #10b981 100%);
   --ticket-bg-unread-hover: linear-gradient(90deg, #10b981 0%, #34d399 100%);
   --ticket-border-unread: #34d399;
   --ticket-text-unread: #ecfdf5;
   
    --mt-bg: #020617;
    --mt-head-bg: #020617;
    --mt-row-hover: #020617;

    --mt-text: #e5e7eb;
    --mt-text-muted: #cbd5f5;
    --mt-head-text: #e5e7eb;

    --mt-border: #020617;
    --mt-border-head: #020617;

    --mt-shadow: 0 20px 50px rgba(0,0,0,.6);
}




/* ======================= */
/* Dark mode Navbar search input */
/* ======================= */
#header[data-bs-theme="dark"] .search-navbar,
[data-bs-theme="dark"] #header .search-navbar {
  background-color: #0f172a !important;
  color: #857d8c !important;
  border: 1px solid #1e293b !important;
}

/* Placeholder */
#header[data-bs-theme="dark"] .search-navbar::placeholder,
[data-bs-theme="dark"] #header .search-navbar::placeholder {
  color: #94a3b8 !important;
}

/* Focus */
#header[data-bs-theme="dark"] .search-navbar:focus,
[data-bs-theme="dark"] #header .search-navbar:focus {
  background-color: #020617 !important;
  color: #ffffff !important;
  border-color: #939cab !important; 
  box-shadow: 0 0 0 0.03rem rgba(56, 75, 105,0.5) !important; 
}

/* Search icon */
#header[data-bs-theme="dark"] .bar-search,
[data-bs-theme="dark"] #header .bar-search {
  color: #94a3b8 !important;
}

/* ======================= */
/* Dark mode Large Search Input - Home Cover */
/* ======================= */
.container-fluid.home-cover[data-bs-theme="dark"] .search-lg,
[data-bs-theme="dark"] .container-fluid.home-cover .search-lg {
    background-color: #0f132a  !important;
    color: #c8bad7 !important;
    border: 1.5px solid #acabba !important;
	box-shadow: 0 0 0 0.19rem rgba(172,171,186,0.4) !important; 
    padding-left: 2rem; /* ps-5 yerine */
    border-radius: 50px;
}

/* Placeholder */
.container-fluid.home-cover[data-bs-theme="dark"] .search-lg::placeholder,
[data-bs-theme="dark"] .container-fluid.home-cover .search-lg::placeholder {
    color: #94a3b8 !important;
}

/* Focus */
.container-fluid.home-cover[data-bs-theme="dark"] .search-lg:focus,
[data-bs-theme="dark"] .container-fluid.home-cover .search-lg:focus {
    background-color: #020617 !important;
    color: #ffffff !important;
    border-color: #acabba !important; 
    box-shadow: 0 0 0 0.19rem rgba(172,171,186,0.7) !important; 
}

/* Search icon */
.container-fluid.home-cover[data-bs-theme="dark"] .btn-search,
[data-bs-theme="dark"] .container-fluid.home-cover .btn-search {
    color: #94a3b8 !important;
}


/* ======================= */
/* Modern Table Wrapper */

[data-bs-theme="dark"] .modern-table-wrapper {
    background: #111827;
}

/* Table Head */
[data-bs-theme="dark"] .modern-table thead {
    background: #1f2937;
}

[data-bs-theme="dark"] .modern-table thead th {
    color: #e5e7eb;
    border-bottom-color: #374151;
}

/* Table Body */
[data-bs-theme="dark"] .modern-table tbody td {
    border-bottom-color: #374151;
}

[data-bs-theme="dark"] .modern-table tbody tr:hover {
    background: #1f2937;
}

[data-bs-theme="dark"] .modern-table tbody td a {
    color: #7d90db !important;
}



/* ======================= */
/* Status Pill – Dark */
/* ======================= */
[data-bs-theme="dark"] .status-pill.success {
  background: rgba(22, 150, 163, 0.25);
  color: #23bb89 !important;
}



/* =========================================================
   MODERN TABLE – STATUS / LICENSE PILL – DARK MODE
   ========================================================= */
[data-bs-theme="dark"] .modern-table .status-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .3px;
}

[data-bs-theme="dark"] .modern-table .status-pill.success {
    background: rgb(36, 49, 66); 
    color: #28aeb5 !important;
}




/* ======================= */
/* DARK MODE: TICKET ROW NEW REPLY */
/* ======================= */

[data-bs-theme="dark"] .support-ticket-row.has-new-reply {
  border-left-color: #34d399;
  background: linear-gradient(90deg, #065f46 0%, #10b981 100%);
  color: #ecfdf5 !important;
  box-shadow: 0 4px 16px rgba(16,185,129,0.15);
}

[data-bs-theme="dark"] .support-ticket-row.has-new-reply:hover {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

/* ======================= */
/* DARK MODE: TICKET ROW TEXT */
/* ======================= */

/* --- NEW REPLY --- */
[data-bs-theme="dark"] .support-ticket-row.has-new-reply .fw-semibold.text-success,
[data-bs-theme="dark"] .support-ticket-row.has-new-reply .fw-semibold.text-success i {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .support-ticket-row.has-new-reply .fw-semibold.text-dark {
  color: #ffffff !important;
}

[data-bs-theme="dark"] .support-ticket-row.has-new-reply .text-muted.small,
[data-bs-theme="dark"] .support-ticket-row.has-new-reply .small.text-muted {
  color: #e5e7eb !important;
}

/* --- OPEN --- */
[data-bs-theme="dark"] .support-ticket-row:not(.closed):not(.has-new-reply):not(.pending) .fw-semibold.text-dark,
[data-bs-theme="dark"] .support-ticket-row:not(.closed):not(.has-new-reply):not(.pending) .text-muted.small,
[data-bs-theme="dark"] .support-ticket-row:not(.closed):not(.has-new-reply):not(.pending) .small.text-muted {
  color: #9ea0bd !important;
}

/* --- CLOSED --- */
[data-bs-theme="dark"] .support-ticket-row.closed .fw-semibold.text-dark,
[data-bs-theme="dark"] .support-ticket-row.closed .fw-semibold.text-muted,
[data-bs-theme="dark"] .support-ticket-row.closed .text-muted.small,
[data-bs-theme="dark"] .support-ticket-row.closed .small.text-muted {
  color: #4e5662 !important;
}

/* --- PENDING --- */
[data-bs-theme="dark"] .support-ticket-row.pending .fw-semibold.text-dark,
[data-bs-theme="dark"] .support-ticket-row.pending .fw-semibold.text-muted,
[data-bs-theme="dark"] .support-ticket-row.pending .text-muted.small,
[data-bs-theme="dark"] .support-ticket-row.pending .small.text-muted {
  color: #9ea0bd !important;
}


/* ======================= */
/* DARK MODE: SUPPORT FORM */
/* ======================= */

/* --- BOX --- */
[data-bs-theme="dark"] .support-gradient-box {
    background: linear-gradient(135deg, #1b2132, #2e3055);
    border-radius: 12px;
    padding: 20px;
    border: 10px solid rgba(69, 79, 98, 0.02); 
}


/* --- LABELS --- */
[data-bs-theme="dark"] .support-gradient-box .form-label {
    color: #e0e0f0;
}

/* --- INPUTS --- */
[data-bs-theme="dark"] .support-gradient-box .form-control {
    background: #161e2b; 
    color: #f4f4f9;
    border: 2px solid #494e80; 
    transition: all 0.3s ease;
    border-radius: 8px;
}

[data-bs-theme="dark"] .support-gradient-box .form-control::placeholder {
    color: #b0aad0;
}

[data-bs-theme="dark"] .support-gradient-box .form-control:focus {
    border-color: #927ce5; 
    box-shadow: 0 0 0 3px rgba(146,124,229,.25);
}

/* --- BUTTONS --- */
[data-bs-theme="dark"] .support-gradient-box .btn-custom {
    background: linear-gradient(135deg, #927ce5, #7f6ed8); 
    color: #ffffff;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .support-gradient-box .btn-link {
    color: #e0e0f0;
    opacity: .9;
}



/* ======================= */
/* DARK MODE: CHAT */
/* ======================= */

[data-bs-theme="dark"] .chat-container {
    background-color: #111827;
    border-color: #1f2937;
}

[data-bs-theme="dark"] .chat-message-user {
    background-color: #1f2937;
    color: #e5e7eb;
    border-color: #374151;
}

[data-bs-theme="dark"] .chat-message-admin {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: #ffffff;
}

[data-bs-theme="dark"] .chat-sender,
[data-bs-theme="dark"] .chat-time {
    color: #d1d5db;
}



/* ======================= */
/* DARK MODE: SUPPORT REPLY CARD */
/* ======================= */

[data-bs-theme="dark"] .support-reply-gradient .form-control {
    background: #1f2937;
    color: #f8fafc;
    border: 1px solid #374151;
}

[data-bs-theme="dark"] .support-reply-gradient .form-control::placeholder {
    color: #9ca3af;
}

[data-bs-theme="dark"] .support-reply-gradient .form-control:focus {
    border-color: #7c43e8;
    box-shadow: 0 0 0 3px rgba(124,67,232,.25);
}




/* ======================= */
/* DARK MODE: SUPPORT TICKET CARD */
/* ======================= */

[data-bs-theme="dark"] .support-ticket-card,
[data-bs-theme="dark"] .support-ticket-card.ticket-open,
[data-bs-theme="dark"] .support-ticket-card.ticket-closed {
    background-color: #1f2937 !important;
    color: #e5e7eb !important;
    border: 1px solid #374151 !important;
}

[data-bs-theme="dark"] .support-ticket-card h5 {
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .support-ticket-card p.text-muted {
    color: #d1d5db !important;
}

[data-bs-theme="dark"] .support-ticket-card .small.text-muted {
    color: #9ca3af !important;
}

/* --- STATUS BADGES --- */
/* Open */
[data-bs-theme="dark"] .support-ticket-card .badge.bg-success {
    background-color: #22c55e !important;
    color: #111827 !important;
}

/* Closed */
[data-bs-theme="dark"] .support-ticket-card .badge.bg-secondary {
    background-color: #374151 !important;
    color: #e5e7eb !important;
}




/* ========================================================= */
/* DARK MODE: DEPOSIT HISTORY TABLE */
/* ========================================================= */

[data-bs-theme="dark"] .deposit-table-card {
    background: #020617;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

[data-bs-theme="dark"] .deposit-table-card thead th {
    color: #e5e7eb;
    border-bottom-color: #020617;
}

[data-bs-theme="dark"] .deposit-table-card tbody td {
    color: #e5e7eb;
    border-bottom-color: #020617;
}

[data-bs-theme="dark"] .deposit-table-card tbody tr:hover {
    background: #020617;
}

[data-bs-theme="dark"] .deposit-table-card a {
    color: #93c5fd;
}




/* ========================= */
/* DARK MODE: MODERN LIST */
/* ========================= */

[data-bs-theme="dark"] .modern-item {
  background-color: #0f172a;
  border-color: #1e293b;
  color: #e5e7eb;
}

[data-bs-theme="dark"] .modern-item:hover {
  background-color: #1e293b;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

[data-bs-theme="dark"] .modern-item i {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .badge-type {
  background-color: #7c3aed;
  color: #fff;
}

[data-bs-theme="dark"] .right-info .resolution {
  color: #e5e7eb;
}

[data-bs-theme="dark"] .right-info .file-size {
  color: #94a3b8;
}

/* Dark mode file-size checked */
[data-bs-theme="dark"] .modern-item:has(input[type="radio"]:checked) .right-info .file-size {
    color: #eba8f0; 
    font-weight: 600; 
}

[data-bs-theme="dark"] .modern-item:has(input:checked) {
  background: linear-gradient(135deg, #7c3aed 0%, #ca2dc0 50%, #9333ea 100%);
  border-color: #939393;
}

[data-bs-theme="dark"] .modern-item:has(input:checked) .badge-type {
  background-color: #fff;
  color: #7c3aed;
}




/* ========================= */
/* DARK MODE: MODERN STATS PANEL */
/* ========================= */

[data-bs-theme="dark"] .list-stats li i {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .list-stats li small {
  color: #e5e7eb;
}




/* ======================= */
/* DARK MODE: LIKE BUTTON */
/* ======================= */

[data-bs-theme="dark"] .modern-like-btn {
  background-color: #0f172a;
  border-color: #1e293b;
}

[data-bs-theme="dark"] .modern-like-btn .like-icon {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .modern-like-btn .like-text {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .modern-like-btn:hover {
  background-color: #1e293b;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

[data-bs-theme="dark"] .modern-like-btn.active,
[data-bs-theme="dark"] .modern-like-btn.liked {
  background-color: #7c3aed;
  border-color: #7c3aed;
}

[data-bs-theme="dark"] .modern-like-btn.active .like-icon,
[data-bs-theme="dark"] .modern-like-btn.liked .like-icon {
  color: #fff;
}

[data-bs-theme="dark"] .modern-like-btn.active .like-text,
[data-bs-theme="dark"] .modern-like-btn.liked .like-text {
  color: #fff;
}




/* ======================= */
/* DARK MODE: MODERN LICENSE */
/* ======================= */

[data-bs-theme="dark"] .modern-license {
    background-color: #121924;
    border-color: #1e293b;
}

[data-bs-theme="dark"] .modern-license h6 {
    color: #c4b5fd;
}

[data-bs-theme="dark"] .modern-license small {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .modern-license small i {
    color: #a78bfa;
}

[data-bs-theme="dark"] .modern-license select {
    width: 80%;
}




/* ======================= */
/* DARK MODE: DETAILS PANEL */
/* ======================= */

[data-bs-theme="dark"] .details-panel {
    background-color: #121924;
    border-color: #1e293b;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

[data-bs-theme="dark"] .details-panel li {
    border-bottom-color: #1e293b;
}

[data-bs-theme="dark"] .details-panel li:hover {
    background-color: rgba(124, 58, 237, 0.12);
}

[data-bs-theme="dark"] .details-panel li i {
    color: #a78bfa;
}

[data-bs-theme="dark"] .details-panel li small {
    color: #c4b5fd;
}

[data-bs-theme="dark"] .details-panel li a {
    color: #c4b5fd;
}

[data-bs-theme="dark"] .details-panel li small.badge {
    background-color: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
}



/* ======================= */
/* Dark Theme for description box */
/* ======================= */

[data-bs-theme="dark"] .desc-wallstock {
    color: #e5e7eb; /* Light text for dark background */
}

[data-bs-theme="dark"] .desc-wallstock::after {
    background: linear-gradient(to bottom, rgba(22, 30, 43,0), rgba(22, 30, 43,5)); /* container dark gradient */
}

[data-bs-theme="dark"] .btn-wallstock {
    border-color: #9ca3af;
    color: #e5e7eb;
}

[data-bs-theme="dark"] .btn-wallstock:hover {
    background: #e5e7eb;
    color: #111827;
    border-color: #e5e7eb;
}



/* ======================= */
/* Dark Mode Tags */

[data-bs-theme="dark"] .tags-block {
    background: linear-gradient(135deg, #0d121a 0%, #161e2b 100%);
    padding: 0.5rem 1rem;
	border-radius: 12px;
}

[data-bs-theme="dark"] .tags-block .tags-title {
    color: #e5e7eb; 
}

[data-bs-theme="dark"] .tags-block .tag-btn {
    background: rgb(27, 31, 43);
    color: #c5b8f4; 
    border: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0px 3px 8px rgba(0,0,0,0.28);
}

[data-bs-theme="dark"] .tags-block .tag-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 5px 14px rgba(0,0,0,0.35);
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.6);
    color: #fff;
}


/* ======================= */
/* Dark Mode Report Button */
[data-bs-theme="dark"] .btn-report {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #f87171;
    background-color: #1f2937;
    border: 1.7px solid rgba(248, 113, 113, 0.6);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
}

/* Cover category list */
[data-bs-theme="dark"] .wall-category-link {
  background: rgba(56, 10, 102, 0.15);
  color: #c4b5fd;
}

/* ======================= */
/* PREMIUM DARK LOGIN – DOT PATTERN */

[data-bs-theme="dark"] .login-section-wrapper {
  background:
    radial-gradient(circle at 2px 2px, rgba(124,58,237,0.22) 1.6px, transparent 0),
    radial-gradient(circle at 10px 14px, rgba(99,102,241,0.18) 1.4px, transparent 0),
    radial-gradient(circle at 18px 6px, rgba(168,85,247,0.14) 1.2px, transparent 0),
    linear-gradient(135deg, #0b1020 0%, #0f172a 40%, #1a1c37 70%, #0b1020 100%);
  background-size: 32px 32px, 36px 36px, 40px 40px, cover;
}


/* INPUTS */
[data-bs-theme="dark"] .login-section-wrapper .form-floating > .form-control {
  background-color: #151a33;
  border: 1px solid #2a3553;
  color: #e5e7eb;
}

[data-bs-theme="dark"] .login-section-wrapper .form-floating > .form-control:focus {
  background-color: #151a33;
  border-color: #7c3aed;
  box-shadow: 0 0 0 0.2rem rgba(124,58,237,.22);
  color: #fff;
}

/* LABELS */
[data-bs-theme="dark"] .login-section-wrapper .form-floating > label {
  color: #9aa4c7;
}

[data-bs-theme="dark"] .login-section-wrapper .form-floating > .form-control:focus ~ label,
[data-bs-theme="dark"] .login-section-wrapper .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: #c7bfff;
}

/* PASSWORD ICON */
[data-bs-theme="dark"] .login-section-wrapper .input-show-password {
  color: #8b93b6;
}

[data-bs-theme="dark"] .login-section-wrapper .input-show-password:hover {
  color: #c7bfff;
}

/* CHECKBOX */
[data-bs-theme="dark"] .login-section-wrapper .form-check-input {
  background-color: #151a33;
  border: 1px solid #2a3553;
}

[data-bs-theme="dark"] .login-section-wrapper .form-check-input:checked {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border-color: #7c3aed;
}

[data-bs-theme="dark"] .login-section-wrapper .form-check-label {
  color: #c7ccef;
}

/* BUTTON */
[data-bs-theme="dark"] .login-section-wrapper .btn-custom {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  border: none;
  color: #fff;
  box-shadow: 0 10px 30px rgba(124,58,237,.35);
}

[data-bs-theme="dark"] .login-section-wrapper .btn-custom:hover {
  filter: brightness(1.08);
}


/* ======================= */
/* Dark pagenation disable */
[data-bs-theme="dark"] .page-item.disabled .page-link {
  background-color: #414d63;
  color: #7f8ba1;
  border-color: #cccccc;
  cursor: not-allowed;
  opacity: 1;
}

/* Dark pagenation active */
[data-bs-theme="dark"] .page-item .page-link {
  background-color: #474b88;
  color: #fff;
  border-color: #cccccc;
  opacity: 1;
}


/* ======================= */
/* Dark mode hover for dropdowns, nav items, and card list items */
[data-bs-theme="dark"] .dropdown-menu.arrow-dm .dropdown-item:hover {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
}

/* ======================= */
/* Dark mode hover with transparency for card-settings and buttons */
[data-bs-theme="dark"] .card-settings .list-group-item:hover,
[data-bs-theme="dark"] .btn:hover {
    background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(79,70,229,0.1));
    color: #fff;
}