/* Shadow Ronin - Anime theme for the user panel */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Zen+Dots&display=swap');

body[data-theme="shadow-ronin"] {
  --t-bg: #08080a;
  --t-bg2: #101014;
  --t-card: #0d0d11;
  --t-line: #26262e;
  --t-ink: #f5f2ec;
  --t-muted: #9a94a4;
  --t-acc: #e2143c;
  --t-acc2: #ff5470;
  --t-radius: 4px;
  --bs-primary: #e2143c;
  --bs-primary-rgb: 226, 20, 60;
  --bs-link-color: #e2143c;
  --bs-link-hover-color: #ff5470;
  --bs-body-bg: #08080a;
  --bs-body-color: #f5f2ec;
  --bs-border-color: #26262e;
  --bs-emphasis-color: #f5f2ec;
  --bs-secondary-color: #9a94a4;
  font-family: 'Rajdhani', system-ui, sans-serif;
  color: var(--t-ink);
  background: var(--t-bg);
  background-image: radial-gradient(900px 420px at 85% -10%, rgba(226,20,60,.20), transparent 60%), repeating-linear-gradient(115deg, rgba(255,255,255,.022) 0 2px, transparent 2px 22px);
  background-attachment: scroll;
}

body[data-theme="shadow-ronin"] h1,
body[data-theme="shadow-ronin"] h2,
body[data-theme="shadow-ronin"] h3,
body[data-theme="shadow-ronin"] h4,
body[data-theme="shadow-ronin"] h5,
body[data-theme="shadow-ronin"] h6,
body[data-theme="shadow-ronin"] .navbar-brand,
body[data-theme="shadow-ronin"] .btn { font-family: 'Zen Dots', system-ui, sans-serif; letter-spacing: .02em; }

/* surfaces */
body[data-theme="shadow-ronin"] .card,
body[data-theme="shadow-ronin"] .panel-card,
body[data-theme="shadow-ronin"] .stat-card,
body[data-theme="shadow-ronin"] .pricing-card,
body[data-theme="shadow-ronin"] .feature-card,
body[data-theme="shadow-ronin"] .testimonial,
body[data-theme="shadow-ronin"] .accordion-item,
body[data-theme="shadow-ronin"] .list-group-item,
body[data-theme="shadow-ronin"] .table {
  background: var(--t-card);
  color: var(--t-ink);
  border-color: var(--t-line);
  border-radius: var(--t-radius);
}
body[data-theme="shadow-ronin"] .card-header,
body[data-theme="shadow-ronin"] .card-footer,
body[data-theme="shadow-ronin"] .accordion-button { background: var(--t-bg2); color: var(--t-ink); border-color: var(--t-line); }
body[data-theme="shadow-ronin"] .accordion-button:not(.collapsed) { background: var(--t-bg2); color: var(--t-acc); box-shadow: none; }
body[data-theme="shadow-ronin"] .accordion-button::after { filter: invert(1) grayscale(1) brightness(2); }
body[data-theme="shadow-ronin"] .bg-light-soft,
body[data-theme="shadow-ronin"] .bg-light,
body[data-theme="shadow-ronin"] .bg-white { background: var(--t-bg2) !important; color: var(--t-ink); }
body[data-theme="shadow-ronin"] .text-muted,
body[data-theme="shadow-ronin"] .text-secondary,
body[data-theme="shadow-ronin"] .footer-text { color: var(--t-muted) !important; }
body[data-theme="shadow-ronin"] .text-dark,
body[data-theme="shadow-ronin"] .text-body { color: var(--t-ink) !important; }
body[data-theme="shadow-ronin"] .text-primary { color: var(--t-acc) !important; }
body[data-theme="shadow-ronin"] hr,
body[data-theme="shadow-ronin"] .footer-rule { border-color: var(--t-line); opacity: 1; }

/* tables */
body[data-theme="shadow-ronin"] .table { --bs-table-bg: transparent; --bs-table-color: var(--t-ink); --bs-table-border-color: var(--t-line); --bs-table-striped-color: var(--t-ink); --bs-table-striped-bg: rgba(226,20,60,.07); --bs-table-hover-color: var(--t-ink); --bs-table-hover-bg: rgba(226,20,60,.07); }
body[data-theme="shadow-ronin"] .table > thead { color: var(--t-acc); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }

/* nav */
body[data-theme="shadow-ronin"] .site-nav { background: rgba(8,8,10,.88); border-bottom: 1px solid #26262e; backdrop-filter: blur(12px); }
body[data-theme="shadow-ronin"] .site-nav .nav-link { color: var(--t-muted); font-weight: 600; }
body[data-theme="shadow-ronin"] .site-nav .nav-link:hover,
body[data-theme="shadow-ronin"] .site-nav .nav-link.active { color: var(--t-acc); }
body[data-theme="shadow-ronin"] .navbar-brand,
body[data-theme="shadow-ronin"] .navbar-brand span { color: var(--t-ink) !important; }
body[data-theme="shadow-ronin"] .brand-mark { background: linear-gradient(135deg, var(--t-acc), var(--t-acc2)); color: #ffffff; border-radius: var(--t-radius); }
body[data-theme="shadow-ronin"] .navbar-toggler { border-color: var(--t-line); color: var(--t-ink); }
body[data-theme="shadow-ronin"] .navbar-toggler-icon { filter: invert(1) brightness(1.6); }
body[data-theme="shadow-ronin"] .nav-balance { background: rgba(226,20,60,.12); color: var(--t-acc); border: 1px solid var(--t-line); border-radius: 999px; padding: .25rem .7rem; font-weight: 700; }

/* buttons + forms */
body[data-theme="shadow-ronin"] .btn-primary { --bs-btn-bg: var(--t-acc); --bs-btn-border-color: var(--t-acc); --bs-btn-color: #ffffff; --bs-btn-hover-bg: var(--t-acc2); --bs-btn-hover-border-color: var(--t-acc2); --bs-btn-hover-color: #ffffff; --bs-btn-active-bg: var(--t-acc2); --bs-btn-active-color: #ffffff; }
body[data-theme="shadow-ronin"] .btn-outline-primary { --bs-btn-color: var(--t-acc); --bs-btn-border-color: var(--t-acc); --bs-btn-hover-bg: var(--t-acc); --bs-btn-hover-color: #ffffff; }
body[data-theme="shadow-ronin"] .btn-light,
body[data-theme="shadow-ronin"] .btn-outline-secondary { --bs-btn-bg: var(--t-bg2); --bs-btn-color: var(--t-ink); --bs-btn-border-color: var(--t-line); --bs-btn-hover-bg: var(--t-line); --bs-btn-hover-color: var(--t-ink); }
body[data-theme="shadow-ronin"] .btn { border-radius: var(--t-radius); font-weight: 700; }
body[data-theme="shadow-ronin"] .form-control,
body[data-theme="shadow-ronin"] .form-select,
body[data-theme="shadow-ronin"] .input-group-text { background: #101014; color: var(--t-ink); border-color: var(--t-line); border-radius: var(--t-radius); }
body[data-theme="shadow-ronin"] .form-control::placeholder { color: var(--t-muted); }
body[data-theme="shadow-ronin"] .form-control:focus,
body[data-theme="shadow-ronin"] .form-select:focus { background: #101014; color: var(--t-ink); border-color: var(--t-acc); box-shadow: 0 0 0 .2rem rgba(226, 20, 60, .25); }
body[data-theme="shadow-ronin"] .form-select option { background: var(--t-bg2); color: var(--t-ink); }
body[data-theme="shadow-ronin"] .form-label,
body[data-theme="shadow-ronin"] label { color: var(--t-ink); }
body[data-theme="shadow-ronin"] .badge.bg-light,
body[data-theme="shadow-ronin"] .badge.text-bg-light { background: var(--t-bg2) !important; color: var(--t-ink) !important; }
body[data-theme="shadow-ronin"] .modal-content,
body[data-theme="shadow-ronin"] .offcanvas,
body[data-theme="shadow-ronin"] .dropdown-menu { background: var(--t-card); color: var(--t-ink); border-color: var(--t-line); }
body[data-theme="shadow-ronin"] .dropdown-item { color: var(--t-ink); }
body[data-theme="shadow-ronin"] .dropdown-item:hover { background: var(--t-bg2); color: var(--t-acc); }
body[data-theme="shadow-ronin"] .alert { border-radius: var(--t-radius); border-color: var(--t-line); background: var(--t-bg2); color: var(--t-ink); }
body[data-theme="shadow-ronin"] .nav-tabs .nav-link { color: var(--t-muted); }
body[data-theme="shadow-ronin"] .nav-tabs .nav-link.active { background: var(--t-card); color: var(--t-acc); border-color: var(--t-line) var(--t-line) var(--t-card); }

/* hero + footer */
body[data-theme="shadow-ronin"] .hero,
body[data-theme="shadow-ronin"] .hero-section { background: linear-gradient(160deg,#0b0b0e 0%,#150408 100%); color: var(--t-ink); }
body[data-theme="shadow-ronin"] .site-footer { background: #0a0a0d; color: var(--t-muted); border-top: 1px solid var(--t-line); }
body[data-theme="shadow-ronin"] .site-footer a { color: var(--t-muted); }
body[data-theme="shadow-ronin"] .site-footer a:hover { color: var(--t-acc); }
body[data-theme="shadow-ronin"] .footer-head { color: var(--t-ink); }
body[data-theme="shadow-ronin"] .social { border: 1px solid var(--t-line); color: var(--t-ink); }
body[data-theme="shadow-ronin"] .to-top { background: var(--t-acc); color: #ffffff; }

/* theme signature */

body[data-theme="shadow-ronin"] .card,
body[data-theme="shadow-ronin"] .panel-card { position: relative; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
body[data-theme="shadow-ronin"] .card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--t-acc), transparent); }
body[data-theme="shadow-ronin"] .btn-primary { clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); text-transform: uppercase; }
body[data-theme="shadow-ronin"] h1, body[data-theme="shadow-ronin"] h2 { text-shadow: 0 0 22px rgba(226,20,60,.35); }



/* ---- Theme artwork (shadow-ronin) ---- */
body[data-theme="shadow-ronin"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../../img/themes/shadow-ronin.jpg");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: .42;
  mix-blend-mode: normal;
  filter: saturate(1.1);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.35) 80%, rgba(0,0,0,.12) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 45%, rgba(0,0,0,.35) 80%, rgba(0,0,0,.12) 100%);
}
body[data-theme="shadow-ronin"] { position: relative; }
body[data-theme="shadow-ronin"] .theme-hero-art {
  background-image: url("../../img/themes/shadow-ronin.jpg");
  display: block;
}
@media (max-width: 767.98px) {
  body[data-theme="shadow-ronin"]::before { opacity: .38; }
}
