/**
 * Set Starters Design System
 * Apple-inspired: Clean, Minimalistic, Professional, White
 * 
 * Modern CSS 2024/2025 Features:
 * - CSS Custom Properties (variables)
 * - Container Queries
 * - CSS Nesting
 * - :has() selector
 * - Logical Properties
 * - Modern color functions
 */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  /* Colors - Apple-inspired palette */
  --ss-white: #ffffff;
  --ss-bg: #fafafa;
  --ss-bg-secondary: #f5f5f7;
  --ss-text: #1d1d1f;
  --ss-text-secondary: #515154;
  --ss-text-muted: #86868b;
  --ss-primary: #0071e3;
  --ss-primary-hover: #0077ed;
  --ss-primary-light: #e8f4fd;
  --ss-success: #34c759;
  --ss-warning: #ff9500;
  --ss-danger: #ff3b30;
  --ss-border: #d2d2d7;
  --ss-border-light: #e8e8ed;
  
  /* Shadows - Subtle, refined */
  --ss-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --ss-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --ss-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --ss-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  
  /* Typography */
  --ss-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ss-font-mono: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, monospace;
  
  /* Font sizes - Fluid typography */
  --ss-text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
  --ss-text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 0.9rem);
  --ss-text-base: clamp(1rem, 0.9rem + 0.5vw, 1.0625rem);
  --ss-text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --ss-text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --ss-text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --ss-text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --ss-text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --ss-text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
  
  /* Spacing scale */
  --ss-space-1: 0.25rem;
  --ss-space-2: 0.5rem;
  --ss-space-3: 0.75rem;
  --ss-space-4: 1rem;
  --ss-space-5: 1.25rem;
  --ss-space-6: 1.5rem;
  --ss-space-8: 2rem;
  --ss-space-10: 2.5rem;
  --ss-space-12: 3rem;
  --ss-space-16: 4rem;
  --ss-space-20: 5rem;
  --ss-space-24: 6rem;
  
  /* Border radius */
  --ss-radius-sm: 0.375rem;
  --ss-radius: 0.5rem;
  --ss-radius-lg: 0.75rem;
  --ss-radius-xl: 1rem;
  --ss-radius-2xl: 1.5rem;
  --ss-radius-full: 9999px;
  
  /* Transitions */
  --ss-transition-fast: 150ms ease;
  --ss-transition: 250ms ease;
  --ss-transition-slow: 400ms ease;
  
  /* Container widths */
  --ss-container-sm: 640px;
  --ss-container-md: 768px;
  --ss-container-lg: 1024px;
  --ss-container-xl: 1280px;
  --ss-container-2xl: 1440px;
}

/* ============================================
   2. BASE / RESET OVERRIDES
   ============================================ */

/* CRITICAL: Override external CSS that sets height:100vh on html/body
   This was causing the footer to overlap content because the body
   was constrained to exactly viewport height */
html, 
body {
  height: auto !important;
  min-height: 100vh !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
}

/* Ensure main content area grows to push footer down */
body > .ss-profile-page,
body > main,
body > [role="main"] {
  flex: 1 0 auto;
}

.ss-page {
  font-family: var(--ss-font);
  color: var(--ss-text);
  background: var(--ss-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
.ss-h1, .ss-heading-1 {
  font-size: var(--ss-text-5xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ss-text);
}

.ss-h2, .ss-heading-2 {
  font-size: var(--ss-text-4xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ss-text);
}

.ss-h3, .ss-heading-3 {
  font-size: var(--ss-text-3xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ss-text);
}

.ss-h4, .ss-heading-4 {
  font-size: var(--ss-text-2xl);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ss-text);
}

.ss-h5, .ss-heading-5 {
  font-size: var(--ss-text-xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ss-text);
}

.ss-text-lead {
  font-size: var(--ss-text-xl);
  color: var(--ss-text-secondary);
  line-height: 1.5;
}

.ss-text-muted {
  color: var(--ss-text-muted);
}

/* ============================================
   4. LAYOUT COMPONENTS
   ============================================ */
.ss-container {
  width: 100%;
  max-width: var(--ss-container-xl);
  margin-inline: auto;
  padding-inline: var(--ss-space-6);
}

.ss-container-sm { max-width: var(--ss-container-sm); }
.ss-container-md { max-width: var(--ss-container-md); }
.ss-container-lg { max-width: var(--ss-container-lg); }
.ss-container-2xl { max-width: var(--ss-container-2xl); }

.ss-section {
  padding-block: var(--ss-space-16);
}

.ss-section-lg {
  padding-block: var(--ss-space-24);
}

/* Modern Grid */
.ss-grid {
  display: grid;
  gap: var(--ss-space-6);
}

.ss-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ss-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ss-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .ss-grid-2, .ss-grid-3, .ss-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flex utilities */
.ss-flex { display: flex; }
.ss-flex-col { flex-direction: column; }
.ss-flex-center { align-items: center; justify-content: center; }
.ss-flex-between { justify-content: space-between; }
.ss-gap-2 { gap: var(--ss-space-2); }
.ss-gap-4 { gap: var(--ss-space-4); }
.ss-gap-6 { gap: var(--ss-space-6); }
.ss-gap-8 { gap: var(--ss-space-8); }

/* ============================================
   5. BUTTONS
   ============================================ */
.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ss-space-2);
  padding: var(--ss-space-3) var(--ss-space-6);
  font-size: var(--ss-text-sm);
  font-weight: 500;
  font-family: var(--ss-font);
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: var(--ss-radius-full);
  cursor: pointer;
  transition: all var(--ss-transition);
  white-space: nowrap;
}

.ss-btn:focus-visible {
  outline: 2px solid var(--ss-primary);
  outline-offset: 2px;
}

/* Primary Button */
.ss-btn-primary {
  background: var(--ss-primary);
  color: var(--ss-white);
}

.ss-btn-primary:hover {
  background: var(--ss-primary-hover);
  transform: scale(1.02);
}

/* Secondary Button */
.ss-btn-secondary {
  background: var(--ss-bg-secondary);
  color: var(--ss-text);
}

.ss-btn-secondary:hover {
  background: var(--ss-border-light);
}

/* Outline Button */
.ss-btn-outline {
  background: transparent;
  color: var(--ss-primary);
  border: 1px solid var(--ss-primary);
}

.ss-btn-outline:hover {
  background: var(--ss-primary);
  color: var(--ss-white);
}

/* Ghost Button */
.ss-btn-ghost {
  background: transparent;
  color: var(--ss-primary);
}

.ss-btn-ghost:hover {
  background: var(--ss-primary-light);
}

/* Button Sizes */
.ss-btn-sm {
  padding: var(--ss-space-2) var(--ss-space-4);
  font-size: var(--ss-text-xs);
}

.ss-btn-lg {
  padding: var(--ss-space-4) var(--ss-space-8);
  font-size: var(--ss-text-base);
}

/* ============================================
   6. CARDS
   ============================================ */
.ss-card {
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  border: 1px solid var(--ss-border-light);
  overflow: hidden;
  transition: all var(--ss-transition);
}

.ss-card:hover {
  box-shadow: var(--ss-shadow);
  border-color: transparent;
}

.ss-card-body {
  padding: var(--ss-space-6);
}

.ss-card-elevated {
  border: none;
  box-shadow: var(--ss-shadow);
}

.ss-card-elevated:hover {
  box-shadow: var(--ss-shadow-lg);
  transform: translateY(-2px);
}

/* ============================================
   7. FORMS
   ============================================ */
.ss-input,
.ss-select,
.ss-textarea {
  width: 100%;
  padding: var(--ss-space-3) var(--ss-space-4);
  font-size: var(--ss-text-base);
  font-family: var(--ss-font);
  color: var(--ss-text);
  background: var(--ss-white);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius);
  transition: all var(--ss-transition-fast);
}

.ss-input:focus,
.ss-select:focus,
.ss-textarea:focus {
  outline: none;
  border-color: var(--ss-primary);
  box-shadow: 0 0 0 3px var(--ss-primary-light);
}

.ss-input::placeholder {
  color: var(--ss-text-muted);
}

.ss-label {
  display: block;
  margin-bottom: var(--ss-space-2);
  font-size: var(--ss-text-sm);
  font-weight: 500;
  color: var(--ss-text);
}

.ss-form-group {
  margin-bottom: var(--ss-space-5);
}

/* ============================================
   8. NAVIGATION
   ============================================ */
.ss-nav {
  display: flex;
  align-items: center;
  gap: var(--ss-space-8);
}

.ss-nav-link {
  font-size: var(--ss-text-sm);
  font-weight: 500;
  color: var(--ss-text-secondary);
  text-decoration: none;
  transition: color var(--ss-transition-fast);
}

.ss-nav-link:hover,
.ss-nav-link.active {
  color: var(--ss-text);
}

/* ============================================
   9. HERO SECTIONS
   ============================================ */
.ss-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--ss-space-20) var(--ss-space-6);
}

.ss-hero-content {
  max-width: 800px;
}

.ss-hero-title {
  margin-bottom: var(--ss-space-6);
}

.ss-hero-subtitle {
  font-size: var(--ss-text-xl);
  color: var(--ss-text-secondary);
  margin-bottom: var(--ss-space-10);
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================
   10. UTILITIES
   ============================================ */
/* Spacing */
.ss-mt-4 { margin-top: var(--ss-space-4); }
.ss-mt-8 { margin-top: var(--ss-space-8); }
.ss-mt-12 { margin-top: var(--ss-space-12); }
.ss-mb-4 { margin-bottom: var(--ss-space-4); }
.ss-mb-8 { margin-bottom: var(--ss-space-8); }
.ss-mb-12 { margin-bottom: var(--ss-space-12); }
.ss-py-8 { padding-block: var(--ss-space-8); }
.ss-py-12 { padding-block: var(--ss-space-12); }
.ss-px-6 { padding-inline: var(--ss-space-6); }

/* Text alignment */
.ss-text-center { text-align: center; }
.ss-text-left { text-align: left; }
.ss-text-right { text-align: right; }

/* Display */
.ss-hidden { display: none; }
.ss-block { display: block; }
.ss-inline { display: inline; }
.ss-inline-block { display: inline-block; }

/* Background */
.ss-bg-white { background: var(--ss-white); }
.ss-bg-gray { background: var(--ss-bg-secondary); }
.ss-bg-primary { background: var(--ss-primary); color: var(--ss-white); }

/* Borders */
.ss-border { border: 1px solid var(--ss-border); }
.ss-border-b { border-bottom: 1px solid var(--ss-border-light); }
.ss-rounded { border-radius: var(--ss-radius); }
.ss-rounded-lg { border-radius: var(--ss-radius-lg); }
.ss-rounded-xl { border-radius: var(--ss-radius-xl); }
.ss-rounded-full { border-radius: var(--ss-radius-full); }

/* Shadows */
.ss-shadow { box-shadow: var(--ss-shadow); }
.ss-shadow-lg { box-shadow: var(--ss-shadow-lg); }

/* ============================================
   11. ANIMATIONS
   ============================================ */
@keyframes ss-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ss-fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.ss-animate-in {
  animation: ss-fade-in 0.6s ease forwards;
}

.ss-animate-up {
  animation: ss-fade-up 0.8s ease forwards;
}

/* Stagger delays */
.ss-delay-1 { animation-delay: 0.1s; }
.ss-delay-2 { animation-delay: 0.2s; }
.ss-delay-3 { animation-delay: 0.3s; }
.ss-delay-4 { animation-delay: 0.4s; }

/* ============================================
   12. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 640px) {
  .ss-hide-sm { display: none !important; }
}

@media (max-width: 768px) {
  .ss-hide-md { display: none !important; }
  
  .ss-hero {
    min-height: 60vh;
    padding: var(--ss-space-12) var(--ss-space-4);
  }
}

@media (max-width: 1024px) {
  .ss-hide-lg { display: none !important; }
}

/* ============================================
   13. PAGE-SPECIFIC OVERRIDES
   ============================================ */

/* Knowledge Base styling */
.ss-knowledge-card {
  padding: var(--ss-space-8);
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  border: 1px solid var(--ss-border-light);
  transition: all var(--ss-transition);
}

.ss-knowledge-card:hover {
  border-color: var(--ss-primary);
  box-shadow: var(--ss-shadow);
}

.ss-knowledge-icon {
  font-size: 2.5rem;
  margin-bottom: var(--ss-space-4);
}

/* Article content */
.ss-article-content {
  font-size: var(--ss-text-lg);
  line-height: 1.8;
}

.ss-article-content p {
  margin-bottom: var(--ss-space-6);
}

.ss-article-content h2 {
  font-size: var(--ss-text-2xl);
  font-weight: 600;
  margin-top: var(--ss-space-10);
  margin-bottom: var(--ss-space-4);
}

.ss-article-content h3 {
  font-size: var(--ss-text-xl);
  font-weight: 600;
  margin-top: var(--ss-space-8);
  margin-bottom: var(--ss-space-3);
}

.ss-article-content ul,
.ss-article-content ol {
  margin-bottom: var(--ss-space-6);
  padding-left: var(--ss-space-8);
}

.ss-article-content li {
  margin-bottom: var(--ss-space-2);
}

.ss-article-content a {
  color: var(--ss-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ss-article-content a:hover {
  text-decoration: none;
}

/* ============================================
   14. NAVBAR COMPONENT
   ============================================ */
.ss-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ss-border-light);
}

.ss-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ss-container-2xl);
  margin: 0 auto;
  padding: var(--ss-space-3) var(--ss-space-6);
  gap: var(--ss-space-8);
}

.ss-navbar-logo img {
  height: 32px;
  width: auto;
}

.ss-navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--ss-space-6);
}

.ss-navbar-nav .ss-nav-link {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ss-text);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity var(--ss-transition-fast);
}

.ss-navbar-nav .ss-nav-link:hover,
.ss-navbar-nav .ss-nav-link.active {
  opacity: 1;
}

.ss-navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--ss-space-4);
}

.ss-navbar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: var(--ss-radius-full);
  color: var(--ss-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--ss-transition-fast);
}

.ss-navbar-icon:hover {
  background: var(--ss-bg-secondary);
}

.ss-navbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--ss-radius-full);
  overflow: hidden;
}

.ss-navbar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-cart-badge {
  position: relative;
}

.ss-cart-badge::after {
  content: attr(data-count);
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--ss-primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Overlay */
.ss-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--ss-white);
  padding: var(--ss-space-6) 0;
  box-shadow: var(--ss-shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ss-transition);
  z-index: 1001;
}

.ss-search-overlay.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.ss-search-form {
  display: flex;
  align-items: center;
  gap: var(--ss-space-4);
  max-width: 600px;
  margin: 0 auto;
}

.ss-search-form i {
  color: var(--ss-text-muted);
  font-size: 1.25rem;
}

.ss-search-input {
  flex: 1;
  padding: var(--ss-space-3) 0;
  font-size: var(--ss-text-lg);
  border: none;
  background: transparent;
  outline: none;
}

.ss-search-close {
  background: none;
  border: none;
  color: var(--ss-text-muted);
  cursor: pointer;
  padding: var(--ss-space-2);
}

/* ============================================
   15. MOBILE MENU
   ============================================ */
.ss-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: 1002;
  transition: all var(--ss-transition);
}

.ss-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.ss-mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--ss-white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--ss-transition);
}

.ss-mobile-menu.active .ss-mobile-menu-inner {
  transform: translateX(0);
}

.ss-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ss-space-4) var(--ss-space-6);
  border-bottom: 1px solid var(--ss-border-light);
}

.ss-mobile-nav {
  flex: 1;
  padding: var(--ss-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--ss-space-1);
}

.ss-mobile-nav-link {
  display: block;
  padding: var(--ss-space-4) var(--ss-space-4);
  font-size: var(--ss-text-lg);
  font-weight: 500;
  color: var(--ss-text);
  text-decoration: none;
  border-radius: var(--ss-radius);
  transition: background var(--ss-transition-fast);
}

.ss-mobile-nav-link:hover {
  background: var(--ss-bg-secondary);
}

.ss-mobile-menu-footer {
  padding: var(--ss-space-6);
  border-top: 1px solid var(--ss-border-light);
}

/* Mobile menu toggle visibility */
.ss-mobile-toggle {
  display: none;
}

.ss-show-sm { display: none; }

@media (max-width: 640px) {
  .ss-show-sm { display: flex; }
}

@media (max-width: 768px) {
  .ss-show-md { display: flex; }
}

/* ============================================
   16. ENHANCED MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 1024px) {
  .ss-navbar-nav {
    display: none;
  }
  
  .ss-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .ss-navbar-inner {
    padding: var(--ss-space-3) var(--ss-space-4);
  }
  
  .ss-section {
    padding-block: var(--ss-space-10);
  }
  
  .ss-container {
    padding-inline: var(--ss-space-4);
  }
  
  .ss-h1 {
    font-size: var(--ss-text-3xl);
  }
  
  .ss-h2 {
    font-size: var(--ss-text-2xl);
  }
  
  .ss-knowledge-card {
    padding: var(--ss-space-6);
  }
  
  .ss-knowledge-icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .ss-btn-lg {
    padding: var(--ss-space-3) var(--ss-space-6);
    font-size: var(--ss-text-sm);
  }
  
  .ss-navbar-logo img {
    height: 28px;
  }
}

/* ============================================
   17. DROPDOWN COMPONENT
   ============================================ */
.ss-dropdown {
  position: relative;
  display: inline-block;
}

.ss-dropdown-toggle {
  cursor: pointer;
}

.ss-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: var(--ss-space-2) 0;
  margin-top: var(--ss-space-2);
  background: var(--ss-white);
  border-radius: var(--ss-radius-lg);
  box-shadow: var(--ss-shadow-lg);
  border: 1px solid var(--ss-border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--ss-transition-fast);
  z-index: 1000;
}

.ss-dropdown:hover .ss-dropdown-menu,
.ss-dropdown:focus-within .ss-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ss-dropdown-right {
  left: auto;
  right: 0;
}

.ss-dropdown-header {
  padding: var(--ss-space-3) var(--ss-space-4);
}

.ss-dropdown-divider {
  height: 1px;
  margin: var(--ss-space-2) 0;
  background: var(--ss-border-light);
}

.ss-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--ss-space-3);
  padding: var(--ss-space-3) var(--ss-space-4);
  font-size: var(--ss-text-sm);
  color: var(--ss-text);
  text-decoration: none;
  transition: background var(--ss-transition-fast);
}

.ss-dropdown-item:hover {
  background: var(--ss-bg-secondary);
  text-decoration: none;
}

.ss-dropdown-item i {
  width: 16px;
  text-align: center;
  color: var(--ss-text-muted);
}

.ss-text-danger {
  color: var(--ss-danger) !important;
}

.ss-text-danger i {
  color: var(--ss-danger) !important;
}

/* ============================================
   18. SOCIAL FEED LAYOUT
   ============================================ */
.ss-feed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--ss-space-8);
  max-width: var(--ss-container-xl);
  margin: 0 auto;
  padding: var(--ss-space-8) var(--ss-space-6);
  padding-top: calc(var(--ss-space-8) + 60px);
}

@media (max-width: 1024px) {
  .ss-feed-layout {
    grid-template-columns: 1fr;
  }
  .ss-feed-sidebar {
    display: none;
  }
}

.ss-feed-main {
  min-width: 0;
}

.ss-feed-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* Post Creator */
.ss-post-creator {
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  padding: var(--ss-space-6);
  margin-bottom: var(--ss-space-6);
  border: 1px solid var(--ss-border-light);
  box-shadow: var(--ss-shadow-sm);
}

.ss-post-creator-header {
  display: flex;
  gap: var(--ss-space-4);
  align-items: center;
}

.ss-post-creator-input {
  flex: 1;
  background: var(--ss-bg-secondary);
  border: 1px solid var(--ss-border-light);
  border-radius: var(--ss-radius-full);
  padding: var(--ss-space-3) var(--ss-space-5);
  color: var(--ss-text-muted);
  font-size: var(--ss-text-sm);
  cursor: pointer;
  transition: all var(--ss-transition-fast);
  text-align: left;
}

.ss-post-creator-input:hover {
  background: var(--ss-white);
  border-color: var(--ss-primary);
}

.ss-post-creator-actions {
  display: flex;
  gap: var(--ss-space-2);
  margin-top: var(--ss-space-4);
  padding-top: var(--ss-space-4);
  border-top: 1px solid var(--ss-border-light);
}

.ss-post-creator-btn {
  display: flex;
  align-items: center;
  gap: var(--ss-space-2);
  padding: var(--ss-space-2) var(--ss-space-4);
  background: transparent;
  border: none;
  color: var(--ss-text-muted);
  border-radius: var(--ss-radius);
  cursor: pointer;
  font-size: var(--ss-text-sm);
  transition: all var(--ss-transition-fast);
}

.ss-post-creator-btn:hover {
  background: var(--ss-bg-secondary);
  color: var(--ss-primary);
}

/* Feed Post */
.ss-feed-post {
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  margin-bottom: var(--ss-space-4);
  border: 1px solid var(--ss-border-light);
  overflow: hidden;
}

.ss-feed-post-header {
  display: flex;
  align-items: center;
  gap: var(--ss-space-3);
  padding: var(--ss-space-4);
}

.ss-feed-post-meta {
  flex: 1;
}

.ss-feed-post-author {
  font-weight: 600;
  color: var(--ss-text);
  font-size: var(--ss-text-sm);
  text-decoration: none;
}

.ss-feed-post-author:hover {
  color: var(--ss-primary);
}

.ss-feed-post-time {
  font-size: var(--ss-text-xs);
  color: var(--ss-text-muted);
  display: block;
}

.ss-feed-post-content {
  padding: 0 var(--ss-space-4) var(--ss-space-4);
  color: var(--ss-text);
  font-size: var(--ss-text-sm);
  line-height: 1.6;
}

.ss-feed-post-media {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.ss-feed-post-actions {
  display: flex;
  padding: var(--ss-space-3) var(--ss-space-4);
  border-top: 1px solid var(--ss-border-light);
  gap: var(--ss-space-2);
}

.ss-feed-action {
  display: flex;
  align-items: center;
  gap: var(--ss-space-2);
  padding: var(--ss-space-2) var(--ss-space-4);
  background: transparent;
  border: none;
  color: var(--ss-text-muted);
  border-radius: var(--ss-radius);
  cursor: pointer;
  font-size: var(--ss-text-sm);
  transition: all var(--ss-transition-fast);
}

.ss-feed-action:hover {
  background: var(--ss-bg-secondary);
}

.ss-feed-action.active {
  color: var(--ss-danger);
}

/* Sidebar */
.ss-sidebar-card {
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  padding: var(--ss-space-5);
  margin-bottom: var(--ss-space-4);
  border: 1px solid var(--ss-border-light);
}

.ss-sidebar-title {
  font-size: var(--ss-text-sm);
  font-weight: 600;
  color: var(--ss-text);
  margin-bottom: var(--ss-space-4);
  display: flex;
  align-items: center;
  gap: var(--ss-space-2);
}

.ss-sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--ss-space-3);
  padding: var(--ss-space-3) 0;
  color: var(--ss-text-secondary);
  text-decoration: none;
  font-size: var(--ss-text-sm);
  transition: all var(--ss-transition-fast);
}

.ss-sidebar-link:hover {
  color: var(--ss-primary);
}

.ss-sidebar-course {
  display: flex;
  gap: var(--ss-space-3);
  padding: var(--ss-space-3) 0;
  border-bottom: 1px solid var(--ss-border-light);
  text-decoration: none;
}

.ss-sidebar-course:last-child {
  border-bottom: none;
}

.ss-sidebar-course-img {
  width: 56px;
  height: 42px;
  border-radius: var(--ss-radius);
  object-fit: cover;
}

.ss-sidebar-course-title {
  font-size: var(--ss-text-sm);
  color: var(--ss-text);
  font-weight: 500;
  line-height: 1.4;
}

.ss-sidebar-course-teacher {
  font-size: var(--ss-text-xs);
  color: var(--ss-text-muted);
}

/* Avatars */
.ss-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: var(--ss-radius-full);
  object-fit: cover;
}

.ss-avatar-md {
  width: 48px;
  height: 48px;
  border-radius: var(--ss-radius-full);
  object-fit: cover;
}

/* ============================================
   19. MODAL COMPONENT
   ============================================ */
.ss-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}

.ss-modal.active {
  display: flex;
}

.ss-modal-content {
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  width: 100%;
  max-width: 550px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--ss-shadow-xl);
}

.ss-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ss-space-4) var(--ss-space-6);
  border-bottom: 1px solid var(--ss-border-light);
}

.ss-modal-body {
  padding: var(--ss-space-6);
}

.ss-modal-textarea {
  width: 100%;
  min-height: 120px;
  background: transparent;
  border: none;
  color: var(--ss-text);
  font-size: var(--ss-text-base);
  font-family: var(--ss-font);
  resize: none;
  outline: none;
}

.ss-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ss-space-4) var(--ss-space-6);
  border-top: 1px solid var(--ss-border-light);
}

.ss-modal-attachments {
  display: flex;
  gap: var(--ss-space-2);
}

/* ============================================
   20. HOME PAGE COMPONENTS
   ============================================ */
.ss-feature-card {
  background: var(--ss-white);
  border-radius: var(--ss-radius-xl);
  padding: var(--ss-space-8);
  text-align: center;
  border: 1px solid var(--ss-border-light);
  transition: all var(--ss-transition);
}

.ss-feature-card:hover {
  box-shadow: var(--ss-shadow);
  border-color: transparent;
}

.ss-feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--ss-space-4);
}

.ss-stat-number {
  font-size: var(--ss-text-4xl);
  font-weight: 700;
  color: var(--ss-text);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .ss-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ss-feature-card {
    padding: var(--ss-space-6);
  }
  
  .ss-feature-icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .ss-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   21. FOOTER COMPONENT
   ============================================ */
.ss-footer {
  background: #1d1d1f;
  color: #86868b;
  padding: var(--ss-space-16) 0 var(--ss-space-8);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.ss-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--ss-space-12);
  margin-bottom: var(--ss-space-12);
}

@media (max-width: 1024px) {
  .ss-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--ss-space-8);
  }
}

@media (max-width: 640px) {
  .ss-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--ss-space-8);
  }
}

.ss-footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--ss-space-4);
}

.ss-footer-logo {
  width: 140px;
  margin-bottom: var(--ss-space-2);
}

.ss-footer-tagline {
  font-size: var(--ss-text-sm);
  color: #f5f5f7;
  line-height: 1.5;
}

.ss-footer-pledge {
  display: flex;
  align-items: flex-start;
  gap: var(--ss-space-3);
  padding: var(--ss-space-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--ss-radius-lg);
  margin-top: var(--ss-space-2);
}

.ss-footer-pledge p {
  font-size: var(--ss-text-xs);
  margin: 0;
  color: #86868b;
  line-height: 1.4;
}

.ss-footer-link-green {
  color: #34c759 !important;
  text-decoration: none;
}

.ss-footer-link-green:hover {
  text-decoration: underline;
}

.ss-footer-contact {
  margin-top: var(--ss-space-4);
}

.ss-footer-heading {
  font-size: var(--ss-text-sm);
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: var(--ss-space-3);
}

.ss-footer-link {
  display: block;
  color: #86868b;
  text-decoration: none;
  font-size: var(--ss-text-sm);
  transition: color var(--ss-transition-fast);
  margin-bottom: var(--ss-space-1);
}

.ss-footer-link:hover {
  color: #f5f5f7;
}

.ss-footer-social {
  display: flex;
  gap: var(--ss-space-2);
  margin-top: var(--ss-space-4);
}

.ss-social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--ss-radius-full);
  color: #f5f5f7;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--ss-transition-fast);
}

.ss-social-icon:hover {
  background: var(--ss-primary);
  transform: translateY(-2px);
}

.ss-footer-column {
  display: flex;
  flex-direction: column;
}

.ss-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ss-footer-links li {
  margin-bottom: var(--ss-space-2);
}

.ss-footer-links a {
  color: #86868b;
  text-decoration: none;
  font-size: var(--ss-text-sm);
  transition: color var(--ss-transition-fast);
}

.ss-footer-links a:hover {
  color: #f5f5f7;
}

.ss-footer-partners {
  display: flex;
  flex-direction: column;
  gap: var(--ss-space-4);
  margin-top: var(--ss-space-6);
}

.ss-footer-partners img {
  opacity: 0.7;
  transition: opacity var(--ss-transition-fast);
}

.ss-footer-partners img:hover {
  opacity: 1;
}

.ss-footer-bectu {
  margin-top: var(--ss-space-6);
  opacity: 0.7;
  transition: opacity var(--ss-transition-fast);
}

.ss-footer-bectu:hover {
  opacity: 1;
}

.ss-footer-newsletter {
  text-align: center;
  padding: var(--ss-space-8) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--ss-space-8);
}

.ss-footer-legal {
  text-align: center;
  padding-top: var(--ss-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ss-footer-copyright {
  font-size: var(--ss-text-xs);
  color: #86868b;
  margin-bottom: var(--ss-space-4);
}

.ss-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ss-space-4);
  margin-bottom: var(--ss-space-4);
}

.ss-footer-legal-links a {
  color: #86868b;
  text-decoration: none;
  font-size: var(--ss-text-xs);
  transition: color var(--ss-transition-fast);
}

.ss-footer-legal-links a:hover {
  color: #f5f5f7;
}

.ss-footer-company {
  font-size: 10px;
  color: #6e6e73;
  line-height: 1.5;
  margin-bottom: var(--ss-space-6);
}

.ss-footer-charity {
  text-align: center;
  padding-top: var(--ss-space-6);
}

.ss-footer-charity img {
  max-width: 100%;
  width: 100%;
  max-width: 900px;
  opacity: 0.9;
  transition: opacity var(--ss-transition-fast);
}

.ss-footer-charity img:hover {
  opacity: 1;
}

/* ============================================
   22. PRINT STYLES
   ============================================ */
@media print {
  .ss-navbar,
  .ss-mobile-menu,
  .ss-search-overlay,
  .ss-footer {
    display: none !important;
  }
}

/* ============================================
   26. PROFILE PAGE FIXES
   ============================================ */
.ss-profile-page {
  background: var(--ss-white, #ffffff);
  min-height: calc(100vh - 200px);
  padding-bottom: 120px !important;
}

.ss-profile-page .ss-tab-content {
  min-height: 500px;
}

.ss-profile-page .ss-container {
  padding-bottom: 40px;
}

/* Ensure profile avatar wrapper contains the edit button */
.ss-profile-avatar-wrap {
  position: relative !important;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.ss-profile-avatar-wrap .ss-avatar-edit-btn {
  position: absolute !important;
  bottom: 4px !important;
  right: 4px !important;
  z-index: 10;
}

/* ============================================
   27. POST CARD - TWITTER-LIKE DESIGN
   ============================================ */
.ss-post-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--ss-border-light, #e8e8ed);
  transition: background 0.15s ease;
  cursor: pointer;
}

.ss-post-card:hover {
  background: rgba(0, 0, 0, 0.015);
}

/* Avatar */
.ss-post-avatar {
  flex-shrink: 0;
}

.ss-post-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 0.15s;
}

.ss-post-avatar:hover img {
  filter: brightness(0.92);
}

/* Content Area */
.ss-post-content {
  flex: 1;
  min-width: 0;
}

/* Header Row - Name, username, time, menu */
.ss-post-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.ss-post-author {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  min-width: 0;
}

.ss-post-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ss-text, #1d1d1f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ss-post-name:hover {
  text-decoration: underline;
}

/* Unified Verified Badge - Small (for posts, modals, inline usage) */
.ss-verified-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
  margin-left: 2px;
}

.ss-verified-sm svg {
  width: 100%;
  height: 100%;
}

/* Badge color variants */
.ss-badge-blue {
  color: #1C9BEF;
}

.ss-badge-gold {
  color: #E2B619;
}

.ss-badge-grey,
.ss-badge-gray {
  color: #6B7280;
}

.ss-post-username {
  color: var(--ss-text-secondary, #515154);
  font-size: 15px;
  font-weight: 400;
}

.ss-post-time {
  color: var(--ss-text-muted, #86868b);
  font-size: 15px;
}

/* Menu - Hidden by default, show on hover */
.ss-post-menu {
  margin-left: auto;
  position: relative;
}

.ss-post-menu-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ss-text-muted, #86868b);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  opacity: 0;
}

.ss-post-card:hover .ss-post-menu-btn {
  opacity: 1;
}

.ss-post-menu-btn:hover {
  background: rgba(0, 113, 227, 0.1);
  color: var(--ss-primary, #0071e3);
}

/* Dropdown Menu */
.ss-post-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--ss-white, #fff);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
  display: none;
}

.ss-post-menu-dropdown.show {
  display: block;
}

.ss-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 15px;
  color: var(--ss-text, #1d1d1f);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.ss-menu-item:hover {
  background: var(--ss-surface-elevated, #f5f5f7);
}

.ss-menu-item.ss-danger {
  color: var(--ss-danger, #ff3b30);
}

/* Post Text */
.ss-post-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ss-text, #1d1d1f);
  margin-bottom: 12px;
  word-wrap: break-word;
}

/* Action Buttons */
.ss-post-actions {
  display: flex;
  justify-content: space-between;
  max-width: 425px;
  margin-top: 12px;
}

.ss-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: -8px -12px;
  border: none;
  background: transparent;
  color: var(--ss-text-muted, #86868b);
  font-size: 13px;
  cursor: pointer;
  border-radius: 9999px;
  transition: all 0.15s;
}

.ss-action-btn i {
  font-size: 18px;
}

/* Comment - Blue hover */
.ss-comment-btn:hover {
  color: #1d9bf0;
  background: rgba(29, 155, 240, 0.1);
}

/* Repost - Green hover */
.ss-repost-btn:hover {
  color: #00ba7c;
  background: rgba(0, 186, 124, 0.1);
}

/* Like - Pink/Red hover and active */
.ss-like-btn:hover {
  color: #f91880;
  background: rgba(249, 24, 128, 0.1);
}

.ss-like-btn.active {
  color: #f91880;
}

.ss-like-btn.active i {
  animation: likeScale 0.3s ease;
}

@keyframes likeScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Bookmark - Blue hover and active */
.ss-bookmark-btn:hover {
  color: #1d9bf0;
  background: rgba(29, 155, 240, 0.1);
}

.ss-bookmark-btn.active {
  color: #1d9bf0;
}

/* Share - Blue hover */
.ss-share-btn:hover {
  color: #1d9bf0;
  background: rgba(29, 155, 240, 0.1);
}

/* Post Images */
.ss-post-images {
  display: grid;
  gap: 2px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 12px;
  margin-bottom: 12px;
}

.ss-images-1 { grid-template-columns: 1fr; }
.ss-images-2 { grid-template-columns: 1fr 1fr; }
.ss-images-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.ss-images-4 { grid-template-columns: 1fr 1fr; }

.ss-images-3 .ss-post-img:first-child {
  grid-row: span 2;
}

.ss-post-img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  max-height: 350px;
  object-fit: cover;
  cursor: pointer;
  transition: filter 0.15s;
}

.ss-post-img:hover {
  filter: brightness(0.95);
}

/* Post Video */
.ss-post-video {
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 0;
}

.ss-post-video video {
  width: 100%;
  max-height: 500px;
  background: #000;
}

/* Link Preview */
.ss-link-preview {
  display: block;
  border: 1px solid var(--ss-border-light, #e8e8ed);
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 0;
  text-decoration: none;
  transition: background 0.15s;
}

.ss-link-preview:hover {
  background: var(--ss-surface-elevated, #f5f5f7);
}

.ss-link-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ss-link-info {
  padding: 12px;
}

.ss-link-domain {
  display: block;
  font-size: 13px;
  color: var(--ss-text-muted, #86868b);
  text-transform: lowercase;
}

.ss-link-title {
  display: block;
  font-size: 15px;
  color: var(--ss-text, #1d1d1f);
  font-weight: 500;
  margin-top: 4px;
}

/* Poll */
.ss-post-poll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.ss-poll-option {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--ss-border, #d2d2d7);
  border-radius: 8px;
  background: var(--ss-white, #fff);
  cursor: pointer;
  transition: all 0.15s;
}

.ss-poll-option:hover {
  border-color: var(--ss-primary, #0071e3);
  background: rgba(0, 113, 227, 0.05);
}

.ss-poll-text {
  font-weight: 500;
  color: var(--ss-text, #1d1d1f);
}

.ss-poll-percent {
  color: var(--ss-text-muted, #86868b);
  font-size: 14px;
}

.ss-poll-time {
  font-size: 13px;
  color: var(--ss-text-muted, #86868b);
}

/* ========================================
   Post Action Button Active States
   ======================================== */

.ss-like-btn.active,
.ss-like-btn.active:hover {
  color: #F91880 !important;
}

.ss-like-btn.active i {
  animation: likeHeart 0.3s ease;
}

@keyframes likeHeart {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.ss-bookmark-btn.active,
.ss-bookmark-btn.active:hover {
  color: #1C9BEF !important;
}

.ss-repost-btn.active,
.ss-repost-btn.active:hover {
  color: #00BA7C !important;
}

/* ========================================
   Image Lightbox
   ======================================== */

.ss-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.ss-lightbox-img {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  z-index: 1;
}

.ss-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ss-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
