/* Mecha Core - Anime theme for the user panel */
@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@600;700&family=Share+Tech+Mono&display=swap');

body[data-theme="mecha-core"] {
  --t-bg: #070809;
  --t-bg2: #12151a;
  --t-card: #0e1116;
  --t-line: #2a3038;
  --t-ink: #e6ecf2;
  --t-muted: #8b98a6;
  --t-acc: #ff8a1f;
  --t-acc2: #ffd23f;
  --t-radius: 2px;
  --bs-primary: #ff8a1f;
  --bs-primary-rgb: 255, 138, 31;
  --bs-link-color: #ff8a1f;
  --bs-link-hover-color: #ffd23f;
  --bs-body-bg: #070809;
  --bs-body-color: #e6ecf2;
  --bs-border-color: #2a3038;
  --bs-emphasis-color: #e6ecf2;
  --bs-secondary-color: #8b98a6;
  font-family: 'Share Tech Mono', ui-monospace, monospace;
  color: var(--t-ink);
  background: var(--t-bg);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 40px);
  background-attachment: scroll;
}

body[data-theme="mecha-core"] h1,
body[data-theme="mecha-core"] h2,
body[data-theme="mecha-core"] h3,
body[data-theme="mecha-core"] h4,
body[data-theme="mecha-core"] h5,
body[data-theme="mecha-core"] h6,
body[data-theme="mecha-core"] .navbar-brand,
body[data-theme="mecha-core"] .btn { font-family: 'Saira Condensed', system-ui, sans-serif; letter-spacing: .06em; }

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

/* tables */
body[data-theme="mecha-core"] .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(255,138,31,.07); --bs-table-hover-color: var(--t-ink); --bs-table-hover-bg: rgba(255,138,31,.07); }
body[data-theme="mecha-core"] .table > thead { color: var(--t-acc); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }

/* nav */
body[data-theme="mecha-core"] .site-nav { background: rgba(7,8,9,.92); border-bottom: 2px solid #ff8a1f; backdrop-filter: blur(12px); }
body[data-theme="mecha-core"] .site-nav .nav-link { color: var(--t-muted); font-weight: 600; }
body[data-theme="mecha-core"] .site-nav .nav-link:hover,
body[data-theme="mecha-core"] .site-nav .nav-link.active { color: var(--t-acc); }
body[data-theme="mecha-core"] .navbar-brand,
body[data-theme="mecha-core"] .navbar-brand span { color: var(--t-ink) !important; }
body[data-theme="mecha-core"] .brand-mark { background: linear-gradient(135deg, var(--t-acc), var(--t-acc2)); color: #120800; border-radius: var(--t-radius); }
body[data-theme="mecha-core"] .navbar-toggler { border-color: var(--t-line); color: var(--t-ink); }
body[data-theme="mecha-core"] .navbar-toggler-icon { filter: invert(1) brightness(1.6); }
body[data-theme="mecha-core"] .nav-balance { background: rgba(255,138,31,.14); color: var(--t-acc); border: 1px solid var(--t-line); border-radius: 999px; padding: .25rem .7rem; font-weight: 700; }

/* buttons + forms */
body[data-theme="mecha-core"] .btn-primary { --bs-btn-bg: var(--t-acc); --bs-btn-border-color: var(--t-acc); --bs-btn-color: #120800; --bs-btn-hover-bg: var(--t-acc2); --bs-btn-hover-border-color: var(--t-acc2); --bs-btn-hover-color: #120800; --bs-btn-active-bg: var(--t-acc2); --bs-btn-active-color: #120800; }
body[data-theme="mecha-core"] .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: #120800; }
body[data-theme="mecha-core"] .btn-light,
body[data-theme="mecha-core"] .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="mecha-core"] .btn { border-radius: var(--t-radius); font-weight: 700; }
body[data-theme="mecha-core"] .form-control,
body[data-theme="mecha-core"] .form-select,
body[data-theme="mecha-core"] .input-group-text { background: #12151a; color: var(--t-ink); border-color: var(--t-line); border-radius: var(--t-radius); }
body[data-theme="mecha-core"] .form-control::placeholder { color: var(--t-muted); }
body[data-theme="mecha-core"] .form-control:focus,
body[data-theme="mecha-core"] .form-select:focus { background: #12151a; color: var(--t-ink); border-color: var(--t-acc); box-shadow: 0 0 0 .2rem rgba(255, 138, 31, .25); }
body[data-theme="mecha-core"] .form-select option { background: var(--t-bg2); color: var(--t-ink); }
body[data-theme="mecha-core"] .form-label,
body[data-theme="mecha-core"] label { color: var(--t-ink); }
body[data-theme="mecha-core"] .badge.bg-light,
body[data-theme="mecha-core"] .badge.text-bg-light { background: var(--t-bg2) !important; color: var(--t-ink) !important; }
body[data-theme="mecha-core"] .modal-content,
body[data-theme="mecha-core"] .offcanvas,
body[data-theme="mecha-core"] .dropdown-menu { background: var(--t-card); color: var(--t-ink); border-color: var(--t-line); }
body[data-theme="mecha-core"] .dropdown-item { color: var(--t-ink); }
body[data-theme="mecha-core"] .dropdown-item:hover { background: var(--t-bg2); color: var(--t-acc); }
body[data-theme="mecha-core"] .alert { border-radius: var(--t-radius); border-color: var(--t-line); background: var(--t-bg2); color: var(--t-ink); }
body[data-theme="mecha-core"] .nav-tabs .nav-link { color: var(--t-muted); }
body[data-theme="mecha-core"] .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="mecha-core"] .hero,
body[data-theme="mecha-core"] .hero-section { background: linear-gradient(180deg,#0a0c0f,#14100a); color: var(--t-ink); }
body[data-theme="mecha-core"] .site-footer { background: #08090b; color: var(--t-muted); border-top: 1px solid var(--t-line); }
body[data-theme="mecha-core"] .site-footer a { color: var(--t-muted); }
body[data-theme="mecha-core"] .site-footer a:hover { color: var(--t-acc); }
body[data-theme="mecha-core"] .footer-head { color: var(--t-ink); }
body[data-theme="mecha-core"] .social { border: 1px solid var(--t-line); color: var(--t-ink); }
body[data-theme="mecha-core"] .to-top { background: var(--t-acc); color: #120800; }

/* theme signature */

body[data-theme="mecha-core"] .card { border: 1px solid var(--t-line); border-left: 4px solid var(--t-acc); }
body[data-theme="mecha-core"] .card-header { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--t-acc); }
body[data-theme="mecha-core"] .btn { text-transform: uppercase; letter-spacing: .08em; }
body[data-theme="mecha-core"] .btn-primary { background: repeating-linear-gradient(45deg,#ff8a1f 0 10px,#ffa347 10px 20px); }
body[data-theme="mecha-core"] .nav-balance { border-radius: 2px; font-family: 'Share Tech Mono', monospace; }
body[data-theme="mecha-core"] .site-footer { border-top: 2px dashed var(--t-acc); }



/* ---- Theme artwork (mecha-core) ---- */
body[data-theme="mecha-core"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../../img/themes/mecha-core.jpg");
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: .22;
  mix-blend-mode: normal;
  filter: saturate(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="mecha-core"] { position: relative; }
body[data-theme="mecha-core"] .theme-hero-art {
  background-image: url("../../img/themes/mecha-core.jpg");
  display: block;
}
@media (max-width: 767.98px) {
  body[data-theme="mecha-core"]::before { opacity: .38; }
}
