/* Yükleme sırası: Tailwind’den sonra (body sonunda) — açık yumuşak tema */

@keyframes login-greeting-glow-light {
  0%,
  100% {
    text-shadow:
      0 0 18px rgba(139, 92, 246, 0.18),
      0 0 42px rgba(129, 140, 248, 0.1);
  }
  50% {
    text-shadow:
      0 0 26px rgba(139, 92, 246, 0.26),
      0 0 52px rgba(129, 140, 248, 0.14);
  }
}

html[data-theme="light"] body.login-body,
html[data-theme="light"] body.vektorya-app {
  background: linear-gradient(165deg, #fbfcff 0%, #f4f6fb 42%, #eef1fa 100%) !important;
  color: #334155 !important;
}

html[data-theme="light"] .ambient-grid {
  opacity: 0.045 !important;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px) !important;
}

html[data-theme="light"] .orb {
  opacity: 0.12 !important;
  filter: blur(100px) !important;
}

html[data-theme="light"] .orb-purple {
  background: rgba(196, 181, 253, 0.55) !important;
}

html[data-theme="light"] .orb-indigo {
  background: rgba(165, 180, 252, 0.48) !important;
}

html[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(203, 213, 225, 0.55) !important;
  backdrop-filter: blur(22px) !important;
  box-shadow:
    0 22px 70px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

html[data-theme="light"] .glass-card::before {
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.28), rgba(99, 102, 241, 0.16)) !important;
}

html[data-theme="light"] .login-greeting {
  color: #0f172a !important;
  animation:
    login-greeting-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both,
    login-greeting-glow-light 4s ease-in-out 1s infinite !important;
}

html[data-theme="light"] .login-greeting-sub {
  color: #64748b !important;
}

html[data-theme="light"] .login-body label {
  color: #475569 !important;
}

html[data-theme="light"] .login-body input[type="text"],
html[data-theme="light"] .login-body input[type="password"] {
  background-color: rgba(255, 255, 255, 0.96) !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .login-body input::placeholder {
  color: #94a3b8 !important;
}

html[data-theme="light"] .login-body button[type="submit"] {
  background: linear-gradient(to right, #7c3aed, #6366f1) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.22) !important;
}

html[data-theme="light"] .login-body .rounded-xl.border.border-red-500\/40 {
  border-color: rgba(248, 113, 113, 0.45) !important;
  background: rgba(254, 242, 242, 0.95) !important;
  color: #991b1b !important;
  box-shadow: none !important;
}

html[data-theme="light"] .dashboard-main {
  background: linear-gradient(165deg, rgba(252, 252, 254, 0.98) 0%, rgba(248, 250, 252, 0.96) 45%, rgba(238, 242, 255, 0.55) 100%) !important;
}

html[data-theme="light"] .dashboard-nav-row {
  color: #475569 !important;
}

html[data-theme="light"] .dashboard-nav-row:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
}

html[data-theme="light"] aside.dashboard-sidebar {
  background-color: #fafbff !important;
  border-right-color: #e8ecf4 !important;
}

html[data-theme="light"] aside.dashboard-sidebar > div {
  border-color: #e8ecf4 !important;
}

html[data-theme="light"] aside.dashboard-sidebar .text-white {
  color: #0f172a !important;
}

html[data-theme="light"] aside.dashboard-sidebar .font-medium.text-slate-200,
html[data-theme="light"] aside.dashboard-sidebar span.font-medium.text-slate-200 {
  color: #334155 !important;
}

html[data-theme="light"] aside.dashboard-sidebar .font-medium.text-slate-300,
html[data-theme="light"] aside.dashboard-sidebar span.font-medium.text-slate-300 {
  color: #475569 !important;
}

html[data-theme="light"] aside.dashboard-sidebar .text-slate-600 {
  color: #64748b !important;
}

html[data-theme="light"] aside.dashboard-sidebar a[href="/home"] {
  background-color: #ede9fe !important;
  color: #5b21b6 !important;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.22) !important;
  --tw-ring-color: transparent !important;
}

html[data-theme="light"] aside.dashboard-sidebar a[href="/home"] svg {
  color: #6d28d9 !important;
}

html[data-theme="light"] aside.dashboard-sidebar #sidebarProfileBtn {
  background-color: #f1f5f9 !important;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.95) !important;
}

html[data-theme="light"] aside.dashboard-sidebar #sidebarProfileBtn:hover {
  background-color: #e8eef5 !important;
}

html[data-theme="light"] aside.dashboard-sidebar .text-slate-600 svg {
  color: #64748b !important;
}

html[data-theme="light"] header.dashboard-topbar {
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: #e5e9f2 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] header.dashboard-topbar .dashboard-search-input {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #1e293b !important;
}

html[data-theme="light"] header.dashboard-topbar .dashboard-search-input::placeholder {
  color: #94a3b8 !important;
}

html[data-theme="light"] header.dashboard-topbar .dashboard-search-input:focus {
  background-color: #fff !important;
  border-color: rgba(139, 92, 246, 0.35) !important;
}

html[data-theme="light"] header.dashboard-topbar .absolute svg.text-slate-500\/90 {
  color: #94a3b8 !important;
}

html[data-theme="light"] header.dashboard-topbar > div.absolute button.rounded-lg {
  color: #64748b !important;
}

html[data-theme="light"] header.dashboard-topbar > div.absolute button.rounded-lg:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
  color: #334155 !important;
}

html[data-theme="light"] header.dashboard-topbar .text-white {
  color: #0f172a !important;
}

html[data-theme="light"] header.dashboard-topbar #topbarProfileBtn > span.rounded-full {
  color: #ffffff !important;
}

html[data-theme="light"] header.dashboard-topbar .text-slate-500 {
  color: #64748b !important;
}

html[data-theme="light"] header.dashboard-topbar .hidden.h-5.w-px {
  background-color: #cbd5e1 !important;
}

html[data-theme="light"] .notif-panel .text-emerald-400\/90,
html[data-theme="light"] .notif-panel .text-emerald-400 {
  color: #059669 !important;
}

html[data-theme="light"] .notif-panel .text-rose-400 {
  color: #e11d48 !important;
}

html[data-theme="light"] .notif-panel .text-amber-400,
html[data-theme="light"] .notif-panel .text-amber-400\/90,
html[data-theme="light"] .notif-panel .text-amber-400\/95 {
  color: #b45309 !important;
}

html[data-theme="light"] aside.dashboard-sidebar .text-slate-400 {
  color: #64748b !important;
}

html[data-theme="light"] .dashboard-hero-title,
html[data-theme="light"] .dashboard-hero h1 {
  color: #0f172a !important;
}

html[data-theme="light"] .dashboard-hero-sub {
  color: #64748b !important;
}

html[data-theme="light"] .dashboard-hero::after {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.55) 0%, rgba(203, 213, 225, 0.35) 55%, rgba(226, 232, 240, 0.15) 100%) !important;
}

html[data-theme="light"] .notif-panel {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow:
    0 18px 50px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(226, 232, 240, 0.8) !important;
}

html[data-theme="light"] .notif-panel .border-b {
  border-color: #eef2f7 !important;
}

html[data-theme="light"] .notif-panel .text-slate-200,
html[data-theme="light"] .notif-panel .text-slate-400,
html[data-theme="light"] .notif-panel .text-slate-500,
html[data-theme="light"] .notif-panel p {
  color: #475569 !important;
}

html[data-theme="light"] .notif-panel #notifRefreshBtn {
  color: #6d28d9 !important;
}

html[data-theme="light"] .notif-panel #notifRefreshBtn:hover {
  background-color: #f1f5f9 !important;
}

html[data-theme="light"] .profile-menu-dropdown > div {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] .profile-menu-dropdown button {
  color: #334155 !important;
}

html[data-theme="light"] .profile-menu-dropdown button:hover {
  background-color: #f1f5f9 !important;
}

html[data-theme="light"] [data-theme-toggle].theme-fab-login {
  border-color: #e2e8f0 !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #475569 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] [data-theme-toggle].theme-fab-login:hover {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Sağ aktivite şeridi + işlem geçmişi modal */
html[data-theme="light"] .activity-rail {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border-left-color: #e8ecf4 !important;
}

html[data-theme="light"] .activity-rail h2 {
  color: #0f172a !important;
}

html[data-theme="light"] .activity-item-title {
  color: #1e293b !important;
}

html[data-theme="light"] .activity-item-meta {
  color: #64748b !important;
}

html[data-theme="light"] .activity-empty {
  color: #64748b !important;
}

html[data-theme="light"] .activity-rail-cta {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2) !important;
}

html[data-theme="light"] .activity-modal .activity-modal-backdrop {
  background-color: rgba(15, 23, 42, 0.35) !important;
}

html[data-theme="light"] .activity-modal-panel {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .activity-modal-panel .border-b,
html[data-theme="light"] .activity-modal-panel .border-t {
  border-color: #eef2f7 !important;
}

html[data-theme="light"] #activityModalTitle {
  color: #0f172a !important;
}

html[data-theme="light"] #activityModalClose {
  color: #64748b !important;
}

html[data-theme="light"] #activityModalPageInfo {
  color: #64748b !important;
}

html[data-theme="light"] .activity-modal-page-btn {
  border-color: #e2e8f0 !important;
  background-color: #f8fafc !important;
  color: #334155 !important;
}

html[data-theme="light"] .activity-modal-page-btn:hover:not(:disabled) {
  background-color: #f1f5f9 !important;
}

html[data-theme="light"] #whatpro3Shell {
  border-color: #e2e8f0 !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] #whatpro3Shell .border-b {
  border-color: #eef2f7 !important;
}

html[data-theme="light"] #leadfinderShell {
  border-color: #e2e8f0 !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08) !important;
}

html[data-theme="light"] #leadfinderShell .border-b {
  border-color: #eef2f7 !important;
}
