/* ==================== BİLDİRİM İZNİ DIALOG ==================== */

.notification-permission-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
  padding: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.permission-dialog-content {
  background: white;
  border-radius: 24px;
  padding: 40px 32px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  text-align: center;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.permission-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  transition: all 0.3s ease;
}

.permission-dialog-close:hover {
  background: #e53e3e;
  color: white;
  transform: rotate(90deg);
}

.permission-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bell-ring 1s ease infinite;
}

@keyframes bell-ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

.permission-dialog-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.permission-dialog-content > p {
  font-size: 16px;
  color: #666;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.permission-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #667eea08, #764ba208);
  padding: 20px;
  border-radius: 16px;
  text-align: left;
}

.benefit-item {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.benefit-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  flex-shrink: 0;
}

.permission-btn-allow,
.permission-btn-deny {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.permission-btn-allow {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.permission-btn-allow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.permission-btn-allow:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.permission-btn-deny {
  background: transparent;
  color: #666;
  border: 2px solid #e0e0e0;
}

.permission-btn-deny:hover {
  background: #f9f9f9;
  border-color: #667eea;
  color: #667eea;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .permission-dialog-content {
    padding: 32px 24px 24px;
  }

  .permission-icon {
    font-size: 48px;
  }

  .permission-dialog-content h3 {
    font-size: 20px;
  }

  .permission-dialog-content > p {
    font-size: 14px;
  }
}
