/* Styles for permission dialogs and notifications */

/* Permission dialog */
.permission-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
  }
  
  .permission-content {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
  }
  
  .permission-icon {
    font-size: 3rem;
    margin-bottom: 15px;
  }
  
  .permission-content h3 {
    margin-bottom: 10px;
    color: #333;
  }
  
  .permission-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
  }
  
  .permission-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .permission-buttons .btn {
    min-width: 100px;
  }
  
  /* Toast notifications */
  .toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 90%;
    text-align: center;
  }
  
  .toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  
  .toast.success {
    background-color: #2ecc71;
  }
  
  .toast.error {
    background-color: #e74c3c;
  }
  
  .toast.info {
    background-color: #3498db;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { 
      transform: translateY(50px);
      opacity: 0; 
    }
    to { 
      transform: translateY(0);
      opacity: 1; 
    }
  }
  
  /* Mobile optimizations */
  @media (max-width: 768px) {
    .permission-content {
      width: 95%;
      padding: 20px;
    }
    
    .permission-buttons {
      flex-direction: column;
      gap: 8px;
    }
    
    .permission-buttons .btn {
      width: 100%;
    }
  }