:root {
  --fm-bg: #f5f1ea;
  --fm-surface: #ffffff;
  --fm-surface-soft: #efe6d9;
  --fm-text: #1f2824;
  --fm-muted: #34413b;
  --fm-border: #d9d0c2;
  --fm-accent: #264e45;
  --fm-accent-dark: #193630;
  --fm-gold: #5d4424;
  --fm-dark: #1f2724;
  --fm-light: #f9f6f1;
  --fm-shadow: 0 18px 40px rgba(35, 39, 35, 0.08);
  --fm-shadow-sm: 0 4px 16px rgba(35, 39, 35, 0.06);
  --fm-radius: 24px;
  --fm-radius-sm: 16px;
  --fm-radius-pill: 999px;
  --fm-transition: 0.2s ease;
}

/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body.fm-body {
  margin: 0;
  color: var(--fm-text);
  font-family: "Instrument Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--fm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fm-body h1,
.fm-body h2,
.fm-body h3,
.fm-body h4,
.fm-body h5,
.fm-body h6 {
  margin: 0 0 1rem;
  color: var(--fm-text);
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.08;
}

.fm-body p {
  margin-bottom: 1rem;
  color: var(--fm-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.fm-body a:not(.fm-btn) {
  color: inherit;
}

/* ===== Skip link ===== */
.fm-skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--fm-accent);
  color: #fff;
  border-radius: var(--fm-radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--fm-transition);
}

.fm-skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--fm-gold);
  outline-offset: 2px;
}

/* ===== Focus visible ===== */
:focus-visible {
  outline: 2px solid var(--fm-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Navigation ===== */
.fm-nav {
  padding: 1rem 0;
  background: rgba(249, 246, 241, 0.94) !important;
  border-bottom: 1px solid rgba(31, 40, 36, 0.08);
  box-shadow: 0 8px 24px rgba(26, 30, 28, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fm-nav-shell {
  align-items: center;
}

.fm-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  gap: 2px;
}

.fm-brand-name {
  color: var(--fm-accent);
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.fm-brand-role {
  color: #36433d;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fm-toggler {
  border: 1px solid rgba(38, 78, 69, 0.2);
}

.fm-menu {
  gap: 1.1rem;
}

.fm-menu .nav-link {
  color: var(--fm-text) !important;
  font-weight: 600;
  padding: 0.5rem 0.2rem !important;
  position: relative;
}

.fm-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--fm-accent);
  border-radius: 2px;
  transition: width var(--fm-transition);
}

.fm-menu .nav-link:hover::after,
.fm-menu .nav-link:focus-visible::after {
  width: 100%;
}

.fm-menu .nav-link:hover,
.fm-menu .nav-link:focus {
  color: var(--fm-accent) !important;
}

.fm-nav-cta {
  margin-left: 1.5rem;
}

/* ===== Scroll margin for anchor links ===== */
section[id],
footer[id] {
  scroll-margin-top: 80px;
}

/* ===== Buttons ===== */
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--fm-radius-pill);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color var(--fm-transition), border-color var(--fm-transition), color var(--fm-transition), box-shadow var(--fm-transition), transform var(--fm-transition);
  cursor: pointer;
  white-space: nowrap;
}

.fm-btn:hover,
.fm-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 78, 69, 0.18);
}

.fm-btn-primary {
  color: #ffffff;
  background: var(--fm-accent);
  border-color: var(--fm-accent);
}

.fm-btn-primary:hover,
.fm-btn-primary:focus-visible {
  color: #ffffff;
  background: var(--fm-accent-dark);
  border-color: var(--fm-accent-dark);
}

.fm-btn-secondary {
  color: var(--fm-accent);
  background: transparent;
  border-color: rgba(38, 78, 69, 0.25);
}

.fm-btn-secondary:hover,
.fm-btn-secondary:focus-visible {
  color: var(--fm-accent-dark);
  background: #ece5db;
  border-color: rgba(38, 78, 69, 0.35);
}

.fm-btn-light {
  color: var(--fm-dark);
  background: var(--fm-light);
  border-color: var(--fm-light);
}

.fm-btn-light:hover,
.fm-btn-light:focus-visible {
  color: var(--fm-dark);
  background: #ede7dd;
  border-color: #ede7dd;
}

.fm-cinema-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.fm-btn-cinema-outline {
  color: #fffaf4;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 250, 244, 0.72);
}

.fm-btn-cinema-outline:hover,
.fm-btn-cinema-outline:focus-visible {
  color: var(--fm-dark);
  background: #fff4e5;
  border-color: #fff4e5;
}

.fm-btn-outline {
  color: var(--fm-accent);
  background: transparent;
  border-color: var(--fm-accent);
}

.fm-btn-outline:hover,
.fm-btn-outline:focus-visible {
  color: #fff;
  background: var(--fm-accent);
}

/* ===== Hero ===== */
.fm-hero {
  padding: 9rem 0 5rem;
  background:
    linear-gradient(135deg, rgba(239, 230, 217, 0.9), rgba(245, 241, 234, 0.98)),
    var(--fm-bg);
}

/* ===== Kicker ===== */
.fm-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--fm-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fm-kicker-warm {
  color: #4e381d;
}

.fm-kicker-light {
  color: #f0d8b4;
}

.fm-kicker-cinema {
  color: #f4ddb8;
}

.fm-section-cinema .fm-kicker-cinema {
  color: #f6e7cb;
}

/* ===== Typography ===== */
.fm-hero-title {
  max-width: 700px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.fm-hero-text,
.fm-body-text {
  max-width: 720px;
  font-size: 1.08rem;
}

.fm-body-text strong,
.fm-hero-text strong {
  color: var(--fm-text);
  font-weight: 700;
}

.fm-body-text-light {
  color: #f9f6f1;
}

.fm-section-cinema .fm-body-text-light,
.fm-footer .fm-body-text-light {
  color: rgba(249, 246, 241, 0.98);
}

.fm-body-text-light strong {
  color: #ffffff;
}

.fm-title {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--fm-text);
}

.fm-title-light {
  color: #ffffff !important;
}

/* ===== Hero actions & meta ===== */
.fm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.7rem;
}

.fm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.fm-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  color: var(--fm-accent-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(38, 78, 69, 0.12);
  border-radius: var(--fm-radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
}

/* ===== Portrait ===== */
.fm-portrait-card {
  max-width: 430px;
  margin-left: auto;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(38, 78, 69, 0.12);
  border-radius: 28px;
  box-shadow: var(--fm-shadow);
}

.fm-portrait {
  display: block;
  width: 100%;
  border-radius: 22px;
}

/* ===== Sections ===== */
.fm-section {
  padding: 5rem 0;
  background: var(--fm-bg);
}

.fm-section-tight {
  padding-top: 0;
}

.fm-section-contrast {
  background: #eee5d8;
}

.fm-section-cinema {
  background: linear-gradient(135deg, #24332d, #2f4138);
}

.fm-section-head {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

/* ===== Cards ===== */
.fm-highlight-card,
.fm-card,
.fm-service-card,
.fm-cinema-card,
.fm-footer-card,
.fm-mini-card {
  height: 100%;
  padding: 1.75rem;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow);
  transition: box-shadow var(--fm-transition), transform var(--fm-transition);
}

.fm-highlight-card:hover,
.fm-card:hover,
.fm-service-card:hover,
.fm-cinema-card:hover {
  box-shadow: 0 24px 48px rgba(35, 39, 35, 0.13);
}

.fm-highlight-card p,
.fm-card p,
.fm-service-card p,
.fm-cinema-card p,
.fm-mini-card p {
  color: #414b45;
}

.fm-highlight-card {
  margin-top: -2.2rem;
}

.fm-highlight-card h2,
.fm-card-title,
.fm-service-card h3,
.fm-cinema-card h3,
.fm-footer-card h3,
.fm-mini-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.fm-card-soft {
  background: #fcfaf7;
}

.fm-mini-card {
  padding: 1.25rem;
  background: #f8f3ec;
  box-shadow: none;
}

/* FAQ details element */
.fm-faq {
  cursor: pointer;
}

.fm-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fm-faq summary::-webkit-details-marker {
  display: none;
}

.fm-faq summary::after {
  content: '+';
  flex-shrink: 0;
  margin-left: 0.5rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--fm-accent);
  transition: transform var(--fm-transition);
}

.fm-faq[open] summary::after {
  transform: rotate(45deg);
}

.fm-faq p {
  margin-top: 1rem;
}

/* ===== Video ===== */
.fm-video-wrap {
  overflow: hidden;
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow);
  aspect-ratio: 16 / 9;
}

.fm-video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== CRP ===== */
.fm-crp {
  color: var(--fm-accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.fm-crp-light {
  color: rgba(249, 246, 241, 0.88);
  font-size: 0.85rem;
}

/* ===== Lists ===== */
.fm-list {
  padding-left: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.fm-list li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--fm-text);
  font-weight: 500;
  line-height: 1.5;
}

.fm-list i,
.fm-contact-list i {
  color: var(--fm-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Service cards ===== */
.fm-service-card {
  background: #fbf8f4;
}

.fm-service-icon {
  width: 84px;
  max-width: 100%;
  margin-bottom: 1rem;
}

/* ===== Pills & Tags ===== */
.fm-pill,
.fm-card-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--fm-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-pill {
  color: var(--fm-accent-dark);
  background: rgba(38, 78, 69, 0.14);
}

/* ===== Cinema section ===== */
.fm-cinema-image {
  max-width: 420px;
  width: 100%;
}

.fm-cinema-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.08);
}

.fm-cinema-card p {
  color: #33403a;
}

.fm-card-tag {
  color: #493318;
  background: #e4cba6;
}

/* ===== Footer ===== */
.fm-footer {
  padding: 4rem 0 0;
  background: #1b2320;
}

.fm-footer .fm-title,
.fm-footer h2 {
  color: #f9f6f1 !important;
}

.fm-footer .fm-body-text,
.fm-footer p {
  color: rgba(249, 246, 241, 0.96);
}

.fm-footer-card {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.fm-footer-card h3,
.fm-footer-card p {
  color: #f9f6f1;
}

.fm-footer-bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.fm-footer-bottom p {
  margin: 0;
  color: rgba(249, 246, 241, 0.82);
  font-size: 0.88rem;
}

/* ===== Contact ===== */
.fm-contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
  font-style: normal;
}

.fm-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f9f6f1 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--fm-transition);
}

.fm-footer .fm-contact-list i {
  color: #efcea0;
}

/* ===== Socials ===== */
.fm-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.fm-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #f9f6f1;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--fm-radius-pill);
  text-decoration: none;
  transition: background-color var(--fm-transition), color var(--fm-transition);
}

.fm-socials a:hover,
.fm-socials a:focus-visible,
.fm-contact-list a:hover,
.fm-contact-list a:focus-visible {
  color: #ffffff !important;
}

.fm-socials a:hover,
.fm-socials a:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== WhatsApp floating button ===== */
.fm-whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: var(--fm-radius-pill);
  color: #ffffff;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: background-color var(--fm-transition), transform var(--fm-transition), box-shadow var(--fm-transition);
}

.fm-whatsapp-float:hover,
.fm-whatsapp-float:focus-visible {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .fm-nav {
    padding: 0.85rem 0;
  }

  .fm-menu {
    gap: 0;
    margin-top: 1rem;
  }

  .fm-nav-cta {
    margin: 1rem 0 0;
  }

  #fmNavbar {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
  }

  .fm-hero {
    padding-top: 8rem;
  }

  .fm-portrait-card {
    margin: 2rem auto 0;
  }

  .fm-highlight-card {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .fm-hero-title {
    font-size: 2.5rem;
  }

  .fm-section {
    padding: 3.5rem 0;
  }

  .fm-video-wrap iframe {
    min-height: 240px;
  }

  .fm-highlight-card,
  .fm-card,
  .fm-service-card,
  .fm-cinema-card,
  .fm-footer-card,
  .fm-mini-card {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .fm-hero-meta li {
    width: 100%;
    justify-content: center;
  }

  .fm-whatsapp-float {
    right: 1rem;
    bottom: 1rem;
  }
}

/* ===== Blog / Análises ===== */
.fm-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.fm-post-card {
  display: flex;
  flex-direction: column;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--fm-transition), transform var(--fm-transition);
}

.fm-post-card:hover,
.fm-post-card:focus-visible {
  box-shadow: var(--fm-shadow);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}

.fm-post-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fm-post-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #24332d, #2f4138);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.68);
}

.fm-post-card-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.fm-post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.fm-post-card-date {
  color: var(--fm-muted);
  font-size: 0.84rem;
}

.fm-post-card-body h2,
.fm-post-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.fm-post-card-body p {
  font-size: 0.97rem;
  flex: 1;
}

.fm-post-card-link {
  margin-top: 1rem;
  color: var(--fm-accent);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ===== Single post ===== */
.fm-post-header {
  padding: 8rem 0 3.5rem;
  background: linear-gradient(135deg, rgba(239, 230, 217, 0.9), rgba(245, 241, 234, 0.98)), var(--fm-bg);
}

.fm-post-body {
  max-width: 760px;
  margin: 0 auto;
}

.fm-post-body h2 { font-size: 1.85rem; margin-top: 2.5rem; }
.fm-post-body h3 { font-size: 1.45rem; margin-top: 2rem; }
.fm-post-body p  { font-size: 1.08rem; line-height: 1.82; }
.fm-post-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--fm-accent);
  background: var(--fm-surface);
  border-radius: 0 var(--fm-radius-sm) var(--fm-radius-sm) 0;
  font-style: italic;
  color: var(--fm-muted);
}

/* ===== Admin ===== */
.fm-admin-wrap {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.fm-admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--fm-dark);
  padding: 2rem 1.5rem;
}

.fm-admin-sidebar .fm-brand-name { color: #f9f6f1; }
.fm-admin-sidebar .fm-brand-role { color: rgba(249, 246, 241, 0.72); }

.fm-admin-nav {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.fm-admin-nav li + li { margin-top: 0.25rem; }

.fm-admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: rgba(249, 246, 241, 0.88);
  text-decoration: none;
  border-radius: var(--fm-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color var(--fm-transition), color var(--fm-transition);
}

.fm-admin-nav a:hover,
.fm-admin-nav a.active {
  background: rgba(255, 255, 255, 0.14);
  color: #f9f6f1;
}

.fm-admin-main {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  background: #f0ede7;
}

.fm-admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.fm-admin-card {
  background: #fff;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 2rem;
  box-shadow: var(--fm-shadow-sm);
}

.fm-admin-table {
  width: 100%;
  border-collapse: collapse;
}

.fm-admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--fm-bg);
  border-bottom: 2px solid var(--fm-border);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fm-muted);
}

.fm-admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--fm-border);
  font-size: 0.95rem;
  vertical-align: middle;
}

.fm-admin-table tr:last-child td { border-bottom: none; }

.fm-admin-actions { display: flex; gap: 0.5rem; }

.fm-form-group { margin-bottom: 1.5rem; }

.fm-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fm-text);
}

.fm-form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.97rem;
  color: var(--fm-text);
  transition: border-color var(--fm-transition), box-shadow var(--fm-transition);
  appearance: none;
  -webkit-appearance: none;
}

.fm-form-control:focus {
  outline: none;
  border-color: var(--fm-accent);
  box-shadow: 0 0 0 3px rgba(38, 78, 69, 0.12);
}

textarea.fm-form-control {
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.fm-alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--fm-radius-sm);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.fm-alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.fm-alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.fm-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fm-dark);
}

.fm-login-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--fm-radius);
  box-shadow: 0 32px 64px rgba(0,0,0,0.3);
}

.fm-login-card .fm-brand {
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 767.98px) {
  .fm-admin-wrap { flex-direction: column; }
  .fm-admin-sidebar { width: 100%; }
  .fm-admin-main { padding: 1.5rem; }
}
