/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #004b3d; /* Dark green background */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
  }
  
  header, footer {
    background-color: #002f26; /* Slightly darker shade for header and footer */
    padding: 10px 0;
    text-align: center;
  }
  
  .logo img {
    max-width: 90%;
    max-height: 100px;
  }
  
  /* Card styles */
  .card {
    width: 320px; /* Fixed card width */
    background-color: #004b3d; /* Dark green */
    padding: 20px;
    border-radius: 15px; /* Rounded edges */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Card shadow for depth */
    text-align: center;
    margin: auto; /* Center the card */
  }
  
  .card h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  /* Input and button styles */
  .container {
    margin-top: 20px;
  }
  
  input[type="text"] {
    font-size: 16px;
    padding: 10px;
    width: 200px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  
  button {
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #004b3d; /* Dark green for contrast */
    cursor: pointer;
  }
  
  button:hover {
    background-color: #003b31; /* Slightly darker shade */
    color: white;
  }
  
  /* Result message */
  #result {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
  }

  /* Warning and success message styles */
  .warning {
    background-color: #ff4d4d;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
  }

  .success {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
  }

  .access-denied {
    color: white;
    font-size: 1.1em;
    text-transform: uppercase;
  }

  .access-granted {
    color: white;
    font-size: 1.1em;
    text-transform: uppercase;
  }

  .arabic {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .english {
    font-size: 0.9em;
  }

  /* Notification Styles */
  .notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: pulseNotification 2s infinite;
    text-align: center;
  }
  
  .error-notification {
    background-color: #ff5252;
    border: 2px solid #d50000;
    color: white;
  }
  
  .notification-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .notification-content strong {
    color: white;
    font-size: 20px;
  }
  
  .notification-content p {
    margin: 0;
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
  }
  
  .notification-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
  }
  
  #retryLocationBtn, #dismissNotificationBtn {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
  }
  
  #retryLocationBtn {
    background-color: white;
    color: #ff5252;
  }
  
  #retryLocationBtn:hover {
    background-color: #f0f0f0;
  }
  
  #dismissNotificationBtn {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
  }
  
  #dismissNotificationBtn:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  @keyframes pulseNotification {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
  }
  
  @keyframes slideDown {
    from {
      top: -100px;
      opacity: 0;
    }
    to {
      top: 20px;
      opacity: 1;
    }
  }
