/* Custom styles for Smart Waste Management System */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Map Container Styles */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Points Display */
.points-display {
    font-size: 2.5rem;
    font-weight: bold;
    color: #28a745;
}

/* Progress Bar */
.progress {
    height: 20px;
    border-radius: 10px;
}

.progress-bar {
    background-color: #28a745;
    transition: width 0.5s ease;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
}

/* Section Headers */
section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #28a745;
}

#reader {
    width: 100%;
    max-width: 400px;
    margin: auto;
  }

  /* Dialog Box Styles */
.dialog {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* On top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent black background */
    align-items: center;
    justify-content: center;
  }
  
  .dialog-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 300px;
    margin: auto;
  }
  
  .dialog button {
    margin-top: 10px;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .dialog button:hover {
    background-color: #0056b3;
  }
  

/* Responsive Design */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
    
    .points-display {
        font-size: 2rem;
    }
}

/* Animation for cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}