/* ================================================
   OFPIC FOOTER — Modern Redesign
   ================================================ */

/* --- Footer shell --- */
#footer {
  background: #0c0a09;
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

#footer .footer-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

#footer .logo-left {
  flex-shrink: 0;
}

#footer .logo-left img {
  max-height: 42px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--duration-fast);
}

#footer .logo-left img:hover {
  opacity: 1;
}

/* --- Footer nav links --- */
#footer .footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

#footer .footer-menu > ul > li > a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--duration-fast);
  padding: 0.35rem 0;
  display: inline-block;
}

#footer .footer-menu > ul > li > a:hover {
  color: var(--brand-400);
}

/* --- Social icons --- */
#footer .social-menu {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

#footer .social-menu li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  text-decoration: none;
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

#footer .social-menu li a:hover {
  background: var(--brand-500);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Footer bottom copyright (if added later) --- */
.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

/* ================================================
   COOKIE BANNER (CMP) — Class-based
   ================================================ */
#ofpic-cmp {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a1a2e;
  color: #fff;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
}

.cmp-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cmp-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.cmp-text {
  flex: 1;
  min-width: 280px;
}

.cmp-title {
  font-size: 16px;
  font-weight: 700;
}

.cmp-desc {
  margin: 8px 0 0;
  line-height: 1.55;
  opacity: 0.9;
}

.cmp-link {
  color: #4fc3f7;
  text-decoration: underline;
}

/* Details panel */
.cmp-details {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.cmp-details label {
  display: block;
  margin: 6px 0;
  cursor: pointer;
}

.cmp-details label.cmp-disabled {
  cursor: default;
  opacity: 0.6;
}

.cmp-details small {
  opacity: 0.7;
  font-size: 0.85em;
}

/* Action buttons */
.cmp-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
  padding-top: 4px;
}

.cmp-btn {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  transition: opacity var(--duration-fast), transform var(--duration-fast);
}

.cmp-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cmp-btn--accept {
  background: #4CAF50;
  color: #fff;
}

.cmp-btn--reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cmp-btn--config {
  background: transparent;
  color: #4fc3f7;
  text-decoration: underline;
  font-size: 13px;
  padding: 8px 24px;
}

.cmp-btn--save {
  display: none;
  background: #FF9800;
  color: #fff;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 767px) {
  #footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #footer .footer-menu ul {
    justify-content: center;
  }

  #footer .social-menu {
    justify-content: center;
  }

  .cmp-layout {
    flex-direction: column;
  }

  .cmp-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .cmp-btn {
    flex: 1;
    min-width: 120px;
  }
}
