:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --text: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--dark), #1a2a3a);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s;
    border-radius: 4px;
    font-weight: 500;
}

nav a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('drn\ bg\ img.avif');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
    margin-top: 68px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 15px;
    box-shadow: none;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto;
    border-radius: 2px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
}

#map-section {
    background-color: var(--light);
    padding: 5rem 0;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.map-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.map-controls .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.alert-system {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.alert-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.alert-option {
    flex: 1;
    min-width: 200px;
}

.alert-option select, .alert-option input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.offline-feature {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
}

.offline-feature h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.offline-feature p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.status-indicator {
    padding: 10px;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.status-warning {
    background-color: #fff3cd;
    color: #856404;
    display: block;
}

/* Voice Alarm Styles */
.voice-alarm-container {
    background-color: #f8d7da;
    border-left: 4px solid var(--danger);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 5px 5px 0;
}

.voice-alarm-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.voice-alarm-btn {
    background-color: var(--danger);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-alarm-btn:hover {
    background-color: #c0392b;
}

/* Mesh Network Indicator */
.mesh-network-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Data Saver Mode */
.data-saver-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Real-time Updates Section */
.real-time-updates {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.update-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.update-item:last-child {
    border-bottom: none;
}

.update-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.update-content h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.update-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.update-time {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 5px;
}

footer {
    background: linear-gradient(135deg, var(--dark), #1a2a3a);
    color: white;
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 68px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav a {
        padding: 12px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
/* for login page */
/* Login Page Styles */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.login-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.login-header h3 {
    color: var(--dark);
    font-size: 1.5rem;
}

.login-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.login-form .form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 38px;
    color: var(--text-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.login-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.social-login {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.social-login p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.social-btn.google {
    background: #DB4437;
}

.social-btn.facebook {
    background: #4267B2;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.login-info {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-info {
        grid-template-columns: 1fr;
    }
}
/* // Add this to your CSS for alerts */
.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
  }
  
  .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: slideDown 0.3s ease;
  }
  
  .close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-modal:hover {
    color: #333;
  }
  
  /* Login Alert Styles */
  .login-alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
  }
  
  .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
  }
  
  .alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideDown {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  /* Registration Form Styles */
.register-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.register-header i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.register-form .form-group {
  margin-bottom: 1.2rem;
}

.register-form .form-options {
  margin: 1.5rem 0;
}

.register-btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}
/* css for map dropdown */
/* City Selector */
.city-selector {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    margin-right: 10px;
    background-color: white;
}

/* Marker Styles */
.hazard-marker {
    background-color: #e74c3c;
    color: white;
}

.shelter-marker {
    background-color: #2ecc71;
    color: white;
}

.resource-marker {
    background-color: #f39c12;
    color: white;
}

.community-marker {
    background-color: #3498db;
    color: white;
}

/* Specific hazard types */
.hazard-marker.heatwave {
    background-color: #e67e22;
}

.hazard-marker.flood {
    background-color: #3498db;
}

.hazard-marker.storm {
    background-color: #95a5a6;
}

.hazard-marker.earthquake {
    background-color: #8e44ad;
}
/* Update Feed Styles */
/* Update Feed Styles */
.update-filters {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
    background-color: white;
}

.update-feed {
    margin-top: 1rem;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}

.update-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
    transition: background-color 0.2s;
}

.update-item:hover {
    background-color: #f9f9f9;
}

.update-item:last-child {
    border-bottom: none;
}

.update-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.update-content h4 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 1rem;
}

.update-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.update-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    align-items: center;
}

.update-time {
    color: var(--text-light);
}

.update-source {
    font-style: italic;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    margin-left: auto;
}

.read-more:hover {
    text-decoration: underline;
}

.update-footer {
    margin-top: 1rem;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-light);
}

.small-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.fa-spinner {
    margin-right: 8px;
}
.weather-container {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}
.forecast {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}
.forecast-item {
    background-color: #e9e9e9;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    width: 100px;
}
input, button {
    padding: 8px;
    margin: 5px;
}
.chatbot-launcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .chatbot-icon {
    width: 60px;
    height: 60px;
    background-color: #4285f4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }
  
  .chatbot-icon:hover {
    transform: scale(1.1);
  }
  
  .chatbot-icon img {
    width: 50%;
    height: 30px;
    /* filter: brightness(0) invert(1); */
  }
  
  .chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
  }
  
  .chatbot-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }
  
  .close-chatbot {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 1001;
  }
  .panic-button {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #ff4444;
    color: white;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 68, 68, 0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.panic-button:active {
    transform: scale(0.95);
    box-shadow: 0 5px 10px rgba(255, 68, 68, 0.3);
}

.panic-button.activated {
    background-color: #ff0000;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.recording {
    background-color: #ffcccc;
    color: #d32f2f;
}

.location {
    background-color: #e3f2fd;
    color: #1976d2;
}

#map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    display: none;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.donation-section {
    background-color: #f8f9fa;
    padding: 3rem 1rem;
    font-family: 'Arial', sans-serif;
  }
  
  .donation-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .donation-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .amount-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }
  
  .amount-btn {
    flex: 1;
    min-width: 80px;
    padding: 12px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .amount-btn:hover {
    border-color: #4CAF50;
  }
  
  .amount-btn.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
  }
  
  .custom-amount {
    margin-bottom: 1.5rem;
  }
  
  .custom-amount label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
  }
  
  .currency {
    padding: 0 12px;
    background: #f1f1f1;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
  }
  
  #custom-amount {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 16px;
    outline: none;
  }
  
  .payment-methods {
    margin-bottom: 2rem;
  }
  
  .payment-methods h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
  }
  
  .method-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .method-option {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .method-option:hover {
    border-color: #4CAF50;
  }
  
  .method-option input {
    margin-right: 8px;
  }
  
  .method-icon {
    margin-right: 8px;
    font-size: 1.2rem;
  }
  
  .method-icon img {
    height: 20px;
    width: auto;
  }
  
  .donate-btn {
    width: 100%;
    padding: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 1.5rem;
  }
  
  .donate-btn:hover {
    background: #3e8e41;
  }
  
  /* QR Code Styles */
  .qr-container {
    text-align: center;
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
  }
  
  .qr-container h3 {
    margin-top: 0;
    color: #333;
  }
  
  .qr-image {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
  }
  
  .qr-instructions {
    color: #666;
    margin-bottom: 1.5rem;
  }
  
  .back-btn {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .back-btn:hover {
    background: #5a6268;
  }
  
  .security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  @media (max-width: 480px) {
    .amount-buttons {
      gap: 8px;
    }
    
    .amount-btn {
      min-width: 60px;
      padding: 10px;
      font-size: 14px;
    }
    
    .method-option {
      min-width: 100px;
      padding: 10px;
      font-size: 14px;
    }
    
    .qr-image {
      width: 150px;
      height: 150px;
    }
  }