/* ============================================================
   KZ SHARE PRO - CSS
   ============================================================ */

/* כפתור שיתוף צף - מוסר על מנת לא להסתיר תוכן */
.kz-share-fab {
  display: none !important;
}

.kz-share-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(201, 161, 74, 0.7);
}

.kz-share-fab-icon {
  font-size: 18px;
}

@media (max-width: 600px) {
  .kz-share-fab {
    bottom: 90px;
    left: 20px;
    padding: 12px 16px;
  }
  .kz-share-fab-label {
    display: none;
  }
}

/* מודל השיתוף */
.kz-share-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.kz-share-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.kz-share-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kz-share-content {
  position: relative;
  background: white;
  border-radius: 24px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  font-family: 'Heebo', sans-serif;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s;
}

.kz-share-modal.show .kz-share-content {
  transform: scale(1) translateY(0);
}

.kz-share-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #f0f0f0;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  transition: all 0.2s;
}

.kz-share-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.kz-share-header {
  text-align: center;
  margin-bottom: 24px;
}

.kz-share-emoji {
  font-size: 60px;
  margin-bottom: 10px;
  animation: kzBounce 2s ease infinite;
}

@keyframes kzBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.kz-share-header h2 {
  color: #0B1F3A;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.kz-share-header p {
  color: #666;
  font-size: 14px;
}

/* גריד הכפתורים */
.kz-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.kz-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: white;
  padding: 14px 8px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  border: 0;
  transition: all 0.2s;
  gap: 6px;
  min-height: 80px;
  animation: kzBtnIn 0.4s ease both;
}

.kz-share-grid .kz-share-btn:nth-child(1) { animation-delay: 0.05s; }
.kz-share-grid .kz-share-btn:nth-child(2) { animation-delay: 0.1s; }
.kz-share-grid .kz-share-btn:nth-child(3) { animation-delay: 0.15s; }
.kz-share-grid .kz-share-btn:nth-child(4) { animation-delay: 0.2s; }
.kz-share-grid .kz-share-btn:nth-child(5) { animation-delay: 0.25s; }
.kz-share-grid .kz-share-btn:nth-child(6) { animation-delay: 0.3s; }
.kz-share-grid .kz-share-btn:nth-child(7) { animation-delay: 0.35s; }
.kz-share-grid .kz-share-btn:nth-child(8) { animation-delay: 0.4s; }

@keyframes kzBtnIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.kz-share-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.kz-share-icon {
  font-size: 28px;
  line-height: 1;
}

.kz-share-name {
  font-size: 11px;
  font-weight: 700;
}

/* סטטיסטיקות */
.kz-share-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
  border-top: 2px solid #f0f0f0;
}

.kz-share-stat {
  text-align: center;
  background: linear-gradient(135deg, #FAF7F2, #FFFBF3);
  padding: 12px;
  border-radius: 10px;
}

.kz-share-stat strong {
  display: block;
  color: #8B6914;
  font-size: 12px;
  margin-bottom: 4px;
}

.kz-share-stat span {
  color: #0B1F3A;
  font-weight: 900;
  font-size: 18px;
}

/* כפתור שיתוף inline */
.kz-share-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #C9A14A, #8B6914);
  color: white;
  border: 0;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Heebo', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.kz-share-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 161, 74, 0.4);
}

/* Toast */
.kz-share-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0B1F3A;
  color: white;
  padding: 14px 24px;
  border-radius: 30px;
  font-family: 'Heebo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  opacity: 0;
  transition: all 0.3s;
}

.kz-share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* רספונסיביות */
@media (max-width: 600px) {
  .kz-share-content {
    padding: 24px 20px;
  }
  
  .kz-share-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .kz-share-btn {
    min-height: 70px;
    padding: 10px 6px;
  }
  
  .kz-share-icon {
    font-size: 24px;
  }
  
  .kz-share-name {
    font-size: 10px;
  }
  
  .kz-share-stats {
    grid-template-columns: 1fr;
  }
}
