/* MethodFeeder — unificare dark UI (toate paginile frontend + shop + admin panels) */

body.mf-app:not(.mf-light-page) {
  background: var(--mf-bg);
  color: var(--mf-text);
}

/* ── Chenare & fundaluri deschise ── */
body.mf-app:not(.mf-light-page) .bg-white,
body.mf-app:not(.mf-light-page) .bg-white\/95,
body.mf-app:not(.mf-light-page) .bg-white\/90,
body.mf-app:not(.mf-light-page) .bg-white\/80,
body.mf-app:not(.mf-light-page) .bg-white\/50,
body.mf-app:not(.mf-light-page) .bg-white\/20,
body.mf-app:not(.mf-light-page) .bg-white\/10 {
  background-color: var(--mf-panel) !important;
  border-color: var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) .bg-slate-50,
body.mf-app:not(.mf-light-page) .bg-slate-100,
body.mf-app:not(.mf-light-page) .bg-slate-200,
body.mf-app:not(.mf-light-page) .bg-gray-50,
body.mf-app:not(.mf-light-page) .bg-gray-100 {
  background-color: rgba(13, 20, 36, 0.9) !important;
}

body.mf-app:not(.mf-light-page) .bg-emerald-50,
body.mf-app:not(.mf-light-page) .bg-blue-50,
body.mf-app:not(.mf-light-page) .bg-orange-50,
body.mf-app:not(.mf-light-page) .bg-amber-50,
body.mf-app:not(.mf-light-page) .bg-rose-50,
body.mf-app:not(.mf-light-page) .bg-cyan-50,
body.mf-app:not(.mf-light-page) .bg-teal-50,
body.mf-app:not(.mf-light-page) .bg-red-50,
body.mf-app:not(.mf-light-page) .bg-yellow-50,
body.mf-app:not(.mf-light-page) .bg-green-50 {
  background-color: rgba(0, 209, 160, 0.08) !important;
}

body.mf-app:not(.mf-light-page) .bg-rose-100 {
  background-color: rgba(244, 63, 94, 0.15) !important;
}

body.mf-app:not(.mf-light-page) .border-slate-100,
body.mf-app:not(.mf-light-page) .border-slate-200,
body.mf-app:not(.mf-light-page) .border-slate-300,
body.mf-app:not(.mf-light-page) .border-gray-100,
body.mf-app:not(.mf-light-page) .border-gray-200 {
  border-color: var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) .text-slate-800,
body.mf-app:not(.mf-light-page) .text-slate-700,
body.mf-app:not(.mf-light-page) .text-slate-600,
body.mf-app:not(.mf-light-page) .text-gray-700,
body.mf-app:not(.mf-light-page) .text-gray-800 {
  color: var(--mf-text) !important;
}

body.mf-app:not(.mf-light-page) .text-slate-500,
body.mf-app:not(.mf-light-page) .text-slate-400,
body.mf-app:not(.mf-light-page) .text-slate-300,
body.mf-app:not(.mf-light-page) .text-gray-500 {
  color: var(--mf-muted) !important;
}

body.mf-app:not(.mf-light-page) input:not([type="checkbox"]):not([type="radio"]),
body.mf-app:not(.mf-light-page) select,
body.mf-app:not(.mf-light-page) textarea {
  background-color: #0d1424 !important;
  border-color: var(--mf-border) !important;
  color: var(--mf-text) !important;
}

body.mf-app:not(.mf-light-page) input::placeholder,
body.mf-app:not(.mf-light-page) textarea::placeholder {
  color: #64748b !important;
}

body.mf-app:not(.mf-light-page) table.bg-white,
body.mf-app:not(.mf-light-page) .min-w-full.bg-white {
  background: var(--mf-panel) !important;
}

body.mf-app:not(.mf-light-page) table thead {
  background: rgba(0, 209, 160, 0.08) !important;
}

body.mf-app:not(.mf-light-page) table tbody tr {
  border-color: var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

body.mf-app:not(.mf-light-page) .shadow-sm,
body.mf-app:not(.mf-light-page) .shadow-md,
body.mf-app:not(.mf-light-page) .shadow-lg,
body.mf-app:not(.mf-light-page) .shadow-xl {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .hover\:bg-slate-50:hover,
body.mf-app:not(.mf-light-page) .hover\:bg-slate-100:hover {
  background: rgba(0, 209, 160, 0.06) !important;
}

/* Paginare & butoane secundare */
body.mf-app:not(.mf-light-page) .mf-pagination-btn {
  background: var(--mf-panel);
  border: 1px solid var(--mf-border);
  color: var(--mf-muted);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

body.mf-app:not(.mf-light-page) .mf-pagination-btn:hover {
  border-color: var(--mf-primary);
  color: var(--mf-primary);
  background: rgba(0, 209, 160, 0.06);
}

body.mf-app:not(.mf-light-page) .mf-pagination-btn.active {
  background: var(--mf-primary);
  color: #041510;
  border-color: var(--mf-primary);
}

/* Secțiune parteneri */
.mf-partners-strip {
  background: rgba(13, 20, 36, 0.6) !important;
  border-top: 1px solid var(--mf-border);
}

/* Card concurs listă */
.mf-competition-list-card .mf-date-badge {
  background: rgba(13, 20, 36, 0.92) !important;
  border: 1px solid var(--mf-border);
  backdrop-filter: blur(8px);
}

.mf-competition-list-card .mf-date-badge .mf-date-day {
  color: var(--mf-text) !important;
}

.mf-competition-list-card .mf-icon-chip {
  background: rgba(0, 209, 160, 0.1) !important;
  border: 1px solid rgba(0, 209, 160, 0.15);
}

/* Concurs page shell */
body.mf-app:not(.mf-light-page) .mf-competition-shell .mf-competition-hero,
body.mf-app:not(.mf-light-page) .mf-competition-shell .mf-competition-main {
  background: var(--mf-panel) !important;
  border-color: var(--mf-border);
}

body.mf-app:not(.mf-light-page) .mf-competition-shell .mf-competition-main {
  margin-top: 0;
  padding-bottom: 1.5rem;
  border: 1px solid var(--mf-border);
  border-top: none;
  border-radius: 0 0 1rem 1rem;
}

body.mf-app:not(.mf-light-page) .mf-competition-shell .bg-custom-green {
  box-shadow: 0 8px 28px var(--mf-glow);
}

/* Concurs — tab-uri & secțiuni (override inline styles) */
body.mf-app:not(.mf-light-page) .main-tab-button {
  color: var(--mf-muted);
}

body.mf-app:not(.mf-light-page) .main-tab-button.active {
  color: var(--mf-primary) !important;
  border-bottom-color: var(--mf-primary) !important;
  background: rgba(0, 209, 160, 0.06);
}

body.mf-app:not(.mf-light-page) .main-tab-button:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.04) !important;
}

body.mf-app:not(.mf-light-page) .section-title {
  color: var(--mf-text) !important;
  border-bottom-color: var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) .sub-tab-button {
  background: #0d1424 !important;
  border-color: var(--mf-border) !important;
  color: var(--mf-muted) !important;
}

body.mf-app:not(.mf-light-page) .sub-tab-button.active {
  background-color: var(--mf-primary) !important;
  color: #041510 !important;
  border-color: var(--mf-primary) !important;
}

body.mf-app:not(.mf-light-page) .sub-tab-button:hover:not(.active) {
  background-color: rgba(0, 209, 160, 0.08) !important;
}

body.mf-app:not(.mf-light-page) .col-stand,
body.mf-app:not(.mf-light-page) .col-weight {
  background-color: rgba(13, 20, 36, 0.95) !important;
}

body.mf-app:not(.mf-light-page) .heat-weighing-header {
  background-color: rgba(0, 209, 160, 0.1) !important;
  color: var(--mf-text) !important;
}

body.mf-app:not(.mf-light-page) .prize-card-futuristic {
  background: var(--mf-panel) !important;
  border: 1px solid var(--mf-border) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

body.mf-app:not(.mf-light-page) .rank-1 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18) 0%, rgba(255, 215, 0, 0.06) 100%) !important;
  border-color: rgba(255, 215, 0, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .rank-2 {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.2) 0%, rgba(148, 163, 184, 0.06) 100%) !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .rank-3 {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(252, 165, 165, 0.08) 100%) !important;
  border-color: rgba(249, 115, 22, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .rank-generic {
  background: var(--mf-panel) !important;
  border: 1px solid var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) .big-catch-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%) !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .vote-card {
  background: var(--mf-panel) !important;
  border: 1px solid var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) .angler-bar-bg,
body.mf-app:not(.mf-light-page) .vote-progress-bar {
  background-color: #1e293b !important;
}

body.mf-app:not(.mf-light-page) .team-name {
  color: #38bdf8 !important;
}

body.mf-app:not(.mf-light-page) .prose a {
  color: var(--mf-primary) !important;
}

body.mf-app:not(.mf-light-page) .bg-yellow-100 {
  background-color: rgba(234, 179, 8, 0.12) !important;
  border-color: rgba(234, 179, 8, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .from-amber-50,
body.mf-app:not(.mf-light-page) .to-orange-50 {
  --tw-gradient-from: rgba(245, 158, 11, 0.12) !important;
  --tw-gradient-to: rgba(249, 115, 22, 0.08) !important;
}

body.mf-app:not(.mf-light-page) .border-amber-200 {
  border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Top pescari — tab-uri & chat */
body.mf-app:not(.mf-light-page) .tab-container {
  background-color: rgba(13, 20, 36, 0.95) !important;
  border: 1px solid var(--mf-border);
}

body.mf-app:not(.mf-light-page) .tab-btn {
  color: var(--mf-muted) !important;
}

body.mf-app:not(.mf-light-page) .tab-btn.active {
  background-color: var(--mf-panel) !important;
  color: var(--mf-primary) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

body.mf-app:not(.mf-light-page) .tab-btn:hover:not(.active) {
  color: var(--mf-text) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
}

body.mf-app:not(.mf-light-page) .chat-message.bot {
  background-color: var(--mf-panel) !important;
  border-color: var(--mf-border) !important;
  color: var(--mf-text) !important;
}

body.mf-app:not(.mf-light-page) .chat-message.user {
  background-color: var(--mf-primary) !important;
  color: #041510 !important;
}

/* Braila pariuri */
body.mf-app:not(.mf-light-page) .winner-card {
  background: linear-gradient(135deg, rgba(0, 209, 160, 0.12) 0%, rgba(0, 209, 160, 0.04) 100%) !important;
  border-left-color: var(--mf-primary) !important;
}

/* Alerte & badge-uri */
body.mf-app:not(.mf-light-page) .bg-green-100,
body.mf-app:not(.mf-light-page) .bg-emerald-100 {
  background-color: rgba(0, 209, 160, 0.12) !important;
}

body.mf-app:not(.mf-light-page) .bg-red-100 {
  background-color: rgba(244, 63, 94, 0.12) !important;
}

body.mf-app:not(.mf-light-page) .bg-blue-100 {
  background-color: rgba(59, 130, 246, 0.12) !important;
}

body.mf-app:not(.mf-light-page) .text-green-800,
body.mf-app:not(.mf-light-page) .text-emerald-800 {
  color: #6ee7b7 !important;
}

body.mf-app:not(.mf-light-page) .text-red-800 {
  color: #fda4af !important;
}

body.mf-app:not(.mf-light-page) .text-blue-800 {
  color: #93c5fd !important;
}

/* Footer site */
body.mf-app:not(.mf-light-page) .mf-footer,
body.mf-app:not(.mf-light-page) footer.mf-site-footer {
  background: rgba(7, 11, 20, 0.98) !important;
  border-top: 1px solid var(--mf-border);
}

body.mf-app:not(.mf-light-page) .mf-footer a,
body.mf-app:not(.mf-light-page) footer.mf-site-footer a {
  color: var(--mf-muted);
}

body.mf-app:not(.mf-light-page) .mf-footer a:hover,
body.mf-app:not(.mf-light-page) footer.mf-site-footer a:hover {
  color: var(--mf-primary);
}

/* Shop sticky bar & categorii */
body.mf-app #root .bg-\[\#f1f5f9\]\/90,
body.mf-app #root [class*="bg-[#f1f5f9]"] {
  background-color: rgba(7, 11, 20, 0.92) !important;
  border-color: var(--mf-border) !important;
}

body.mf-app #root button.bg-white {
  background: var(--mf-panel) !important;
  color: var(--mf-muted) !important;
  border-color: var(--mf-border) !important;
}

body.mf-app #root button.bg-\[\#00B491\] {
  color: #041510 !important;
}

/* Profil pescar card hero */
body.mf-app:not(.mf-light-page) .cover-pattern {
  background: linear-gradient(135deg, #0d1424 0%, #111827 50%, rgba(0, 209, 160, 0.08) 100%);
}

body.mf-app:not(.mf-light-page) .pagination-link.active {
  background-color: var(--mf-primary) !important;
  color: #041510 !important;
  border-color: var(--mf-primary) !important;
}


/* Social */
body.mf-app:not(.mf-light-page) .post-card-dark,
body.mf-app:not(.mf-light-page) #feedContainer .bg-white {
  background: var(--mf-panel) !important;
  border-color: var(--mf-border) !important;
}

body.mf-app:not(.mf-light-page) .post-dropdown {
  background: var(--mf-bg-elevated) !important;
  border-color: var(--mf-border) !important;
}

/* Shop React (#root) */
body.mf-app #root {
  position: relative;
  z-index: 1;
}

body.mf-app #root .bg-white,
body.mf-app #root .bg-white\/95,
body.mf-app #root .bg-white\/90,
body.mf-app #root .bg-white\/80 {
  background-color: var(--mf-panel) !important;
}

body.mf-app #root .bg-slate-50,
body.mf-app #root .bg-slate-100,
body.mf-app #root .bg-\[\#f1f5f9\],
body.mf-app #root .bg-\[\#f1f5f9\]\/90 {
  background-color: rgba(7, 11, 20, 0.92) !important;
}

body.mf-app #root .text-slate-800,
body.mf-app #root .text-slate-700,
body.mf-app #root .text-slate-600 {
  color: var(--mf-text) !important;
}

body.mf-app #root .text-slate-500,
body.mf-app #root .text-slate-400 {
  color: var(--mf-muted) !important;
}

body.mf-app #root .border-slate-100,
body.mf-app #root .border-slate-200,
body.mf-app #root .border-slate-300 {
  border-color: var(--mf-border) !important;
}

body.mf-app #root nav {
  background: rgba(13, 20, 36, 0.95) !important;
  backdrop-filter: blur(12px);
  border-color: var(--mf-border) !important;
}

body.mf-app #msgModal .bg-white {
  background: var(--mf-panel) !important;
}

/* Lacuri */
.mf-lacuri-page .hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.mf-lacuri-page .hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 209, 160, 0.1);
  border-color: rgba(0, 209, 160, 0.35);
}

.mf-lacuri-page .hero-gradient {
  background: linear-gradient(90deg, rgba(7, 11, 20, 1) 0%, rgba(7, 11, 20, 0.85) 45%, rgba(7, 11, 20, 0.1) 100%);
}

.mf-lacuri-page .weather-skeleton {
  background: linear-gradient(90deg, #111827 25%, #1f2937 50%, #111827 75%);
  background-size: 200% 100%;
  animation: mf-skeleton 1.5s infinite;
  border-radius: 0.5rem;
}

@keyframes mf-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.mf-lacuri-page .weather-box {
  background: #0d1424;
  border-radius: 1rem;
  border: 1px solid var(--mf-border);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

.mf-lacuri-page .modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.mf-lacuri-page .modal-overlay.active {
  display: flex;
  opacity: 1;
}

.mf-lacuri-page .modal-content {
  background: var(--mf-panel);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 1.5rem;
  border: 1px solid var(--mf-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mf-lacuri-page .modal-overlay.active .modal-content {
  transform: translateY(0);
}

.mf-lacuri-page .modal-scroll-area {
  overflow-y: auto;
  flex-grow: 1;
}

.mf-bottom-nav a span {
  font-size: 0.5625rem;
  max-width: 4.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .mf-bottom-nav a i { font-size: 1.1rem; }
  .mf-bottom-nav a span { font-size: 0.5rem; }
}

.partner-logo {
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}
