/* ---------- Theme ---------- */
:root {
  --rmf-grad-start: #ec4899;
  --rmf-grad-mid:   #a855f7;
  --rmf-grad-end:   #4f46e5;
}

body {
  background: #f6f6fb;
  min-height: 100vh;
}

.rmf-brand {
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(90deg, var(--rmf-grad-start), var(--rmf-grad-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.navbar.is-dark .rmf-brand {
  color: transparent !important;
}

/* ---------- Hero / Login ---------- */
.rmf-hero {
  background: linear-gradient(135deg, var(--rmf-grad-start) 0%, var(--rmf-grad-mid) 50%, var(--rmf-grad-end) 100%);
}

.rmf-login-box {
  background: #ffffffee;
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 2rem;
}

.rmf-features {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
}

.rmf-features li {
  color: #fff;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.rmf-features .fa-check-circle {
  color: #a7f3d0;
  margin-right: 0.6rem;
}

/* ---------- Provider buttons ---------- */
.rmf-provider-google   { background: #fff;    color: #333; border: 1px solid #ddd; }
.rmf-provider-facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.rmf-provider-apple    { background: #000;    color: #fff; border-color: #000; }

.rmf-provider-google:hover   { background: #f5f5f5; color: #333; }
.rmf-provider-facebook:hover { background: #166fe5; color: #fff; }
.rmf-provider-apple:hover    { background: #222;    color: #fff; }

/* ---------- Avatar ---------- */
.rmf-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Style buttons ---------- */
.rmf-style-btn {
  background: linear-gradient(135deg, #ffffff, #f3e8ff);
  border: 2px solid transparent;
  color: #4c1d95;
  font-weight: 600;
  transition: all 0.2s ease;
}

.rmf-style-btn:hover {
  border-color: var(--rmf-grad-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
}

.rmf-style-btn.is-loading {
  pointer-events: none;
}

/* ---------- Carousel ---------- */
.rmf-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
}

.rmf-carousel::-webkit-scrollbar {
  height: 8px;
}
.rmf-carousel::-webkit-scrollbar-thumb {
  background: #c4b5fd;
  border-radius: 4px;
}

.rmf-gen-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
}

.rmf-gen-card .rmf-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #e5e5e5;
}

.rmf-gen-card .rmf-pair figure {
  margin: 0;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.rmf-gen-card .rmf-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rmf-gen-card .rmf-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf5ff;
  color: var(--rmf-grad-mid);
  font-size: 1.5rem;
}

.rmf-gen-card .rmf-caption {
  padding: 0.6rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.rmf-gen-card .rmf-caption .buttons {
  margin: 0;
}

/* ---------- Upload ---------- */
.rmf-upload .file-cta {
  background: linear-gradient(135deg, var(--rmf-grad-start), var(--rmf-grad-end));
  color: #fff;
  border: none;
}

/* ---------- Pack cards ---------- */
.rmf-pack {
  border: 2px solid #e9d5ff;
  border-radius: 12px;
  transition: transform 0.15s ease;
}
.rmf-pack:hover {
  transform: translateY(-3px);
  border-color: var(--rmf-grad-mid);
}
