/*
 * GOLPOOGRO - Component: Social Relations Global Overrides & Secondary Assets
 * Luxurious Unfollow modals, contextual popups dropdown menus, and social notification toasts
 */

/* 1. Context Menu options dropdown */
.social-relations-dropdown {
  background: rgba(18, 25, 41, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  width: 210px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  padding: 6px;
  z-index: 1100;
}

.menu-item-act {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.84rem;
  text-align: left;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.menu-item-act:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.menu-item-act.is-active {
  color: var(--accent-gold, #eab308);
}

.menu-item-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 10px;
}

.menu-item-act.remove-accent:hover {
  background: rgba(244, 63, 94, 0.08);
  color: #fca5a5;
}

.menu-item-act.block-accent:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.menu-item-act i {
  width: 15px;
  height: 15px;
}

/* Position overrides for mobile bento sliders drawers format */
@media (max-width: 768px) {
  .social-relations-dropdown.mobile-sheet-draw {
    width: 100%;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    padding: 14px;
    gap: 4px;
  }
}

/* 2. Apple-style Cinematic Unfollow Modal */
.unfollow-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 23, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unfollow-modal-card {
  background: rgba(19, 26, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  width: 90%;
  max-width: 340px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.anim-modal-scale {
  animation: scaleInModal 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}

.anim-scale-down {
  animation: scaleOutModal 0.3s ease forwards;
}

@keyframes scaleInModal {
  to { transform: scale(1); opacity: 1; }
}

@keyframes scaleOutModal {
  to { transform: scale(0.85); opacity: 0; }
}

.unfollow-modal-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.5) 0%, rgba(244, 63, 94, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.unfollow-modal-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #131a2a;
}

.unfollow-modal-text h4 {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.unfollow-modal-text p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 24px;
}

.unfollow-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.unfollow-confirm-btn {
  background: #f43f5e;
  border: none;
  border-radius: 12px;
  color: #ffffff;
  padding: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.unfollow-confirm-btn:hover {
  background: #e11d48;
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.unfollow-cancel-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  padding: 11px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.unfollow-cancel-btn:hover {
  background: rgba(255,255,255,0.08);
}

/* 3. Social Notification Toast Layouts */
.premium-social-toast {
  position: relative;
  background: rgba(14, 21, 33, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  max-width: 320px;
  pointer-events: auto;
  transition: opacity 0.4s, transform 0.4s;
}

.toast-avatar-pulse {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.toast-img-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.toast-badge-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #eab308;
  color: #0d121f;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-badge-icon i {
  width: 8px;
  height: 8px;
}

.toast-content-wrapper {
  display: flex;
  flex-direction: column;
}

.toast-title-inline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #eab308;
}

.toast-body-inner {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  margin-top: 2px;
}

.anim-pop-in {
  animation: actPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes actPopIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.anim-fade-slide-in {
  animation: slideInRight 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-fade-slide-out {
  animation: slideOutRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(50px); opacity: 0; }
}
