@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --secondary: #0ea5e9;
    --success: #10b981;
    --success-bg: #dcfce7;
    --success-text: #15803d;
    --danger: #f43f5e;
    --danger-bg: #ffe4e6;
    --danger-text: #e11d48;
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --warning-text: #b45309;
    --bg-color: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1);
    --font-family: 'Hind Siliguri', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at top left, #e0e7ff 0%, #f8fafc 40%);
    min-height: 100vh;
}

/* Navbar */
.navbar { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 20px rgba(0, 0, 0, 0.03); padding: 16px 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.navbar-brand { display: flex; align-items: center; gap: 14px; }
.nav-icon { font-size: 22px; color: var(--primary); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #e0e7ff; border-radius: 12px; box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15); }
.navbar-brand h1 { font-size: 24px; color: var(--text-main); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; }
.navbar-brand p { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.nav-add-btn { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; border: none; padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: 15px; font-family: inherit; cursor: pointer; transition: 0.3s; display: flex; gap: 8px; align-items: center; box-shadow: 0 8px 16px rgba(79, 70, 229, 0.25); }
.nav-add-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(79, 70, 229, 0.35); }
.plus-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 22px; cursor: pointer; box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3); transition: 0.3s; }
.plus-icon:hover { transform: translateY(-3px) scale(1.05); }

/* Layout */
.main-container { max-width: 1000px; margin: 30px auto; padding: 0 20px; }

/* Hero Banner */
.hero-banner { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-lg); padding: 20px 24px; color: white; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.3); flex-wrap: wrap; gap: 16px; position: relative; overflow: hidden; }
.hero-banner::after { content: ''; position: absolute; right: -20px; top: -40px; width: 150px; height: 150px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.hero-banner h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; position: relative; z-index: 1; }
.hero-banner p { font-size: 15px; opacity: 0.9; position: relative; z-index: 1; }
.hero-btn { background: white; color: var(--primary); padding: 12px 24px; border-radius: 100px; font-weight: 700; cursor: pointer; font-size: 15px; transition: 0.3s; border: none; font-family: inherit; box-shadow: 0 4px 15px rgba(0,0,0,0.1); white-space: nowrap; position: relative; z-index: 1; }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* Alerts */
.alert-box { background: var(--surface); border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; border-left: 5px solid var(--primary); display: flex; gap: 16px; box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.alert-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.alert-warning { border-left-color: var(--warning); background: var(--warning-bg); }
.alert-icon { font-size: 28px; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.alert-content h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; color: var(--text-main); }
.alert-content p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.alert-warning .alert-content h3 { color: var(--warning-text); }
.alert-warning .alert-content p { color: var(--warning-text); }
.highlight-text { font-weight: 700; color: var(--primary); background: #e0e7ff; padding: 2px 8px; border-radius: 6px; }

/* Filters */
.filters-wrapper { margin-bottom: 30px; }
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.filters-header h3 { font-size: 20px; font-weight: 700; color: var(--text-main); }
.refresh-btn { background: white; border: 1px solid var(--border); color: var(--text-main); font-weight: 600; cursor: pointer; font-family: inherit; font-size: 14px; padding: 8px 16px; border-radius: 100px; transition: 0.2s; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 6px; }
.refresh-btn:hover { background: #f8fafc; transform: rotate(3deg) scale(1.05); }

.filters-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; -ms-overflow-style: none; }
.filters-scroll::-webkit-scrollbar { display: none; }
.pill { background: var(--surface); border: 1px solid var(--border); padding: 10px 22px; border-radius: 100px; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: var(--shadow-sm); }
.pill:hover { border-color: #cbd5e1; transform: translateY(-2px); color: var(--text-main); }
.pill.active { background: var(--text-main); color: white; border-color: var(--text-main); box-shadow: 0 8px 15px rgba(15, 23, 42, 0.2); }

/* Cards */
.pump-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding-bottom: 40px; }
.pump-card { background: var(--surface); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,0.8); transition: all 0.3s; position: relative; display: flex; flex-direction: column; }
.pump-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--border); }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 12px; }
.pump-name { font-size: 18px; font-weight: 700; color: var(--text-main); line-height: 1.3; letter-spacing: -0.5px; }
.pump-address { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 500; }

.status-badge { padding: 6px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-available { color: var(--success-text); background-color: var(--success-bg); border: 1px solid #bbf7d0; }
.status-yes { background: var(--success-bg); color: var(--success-text); border: 1px solid #bbf7d0; }
.status-no { background: var(--danger-bg); color: var(--danger-text); border: 1px solid #fecdd3; }

.pump-image-wrapper { margin-bottom: 24px; border-radius: var(--radius-md); overflow: hidden; height: 200px; border: 1px solid var(--border); background: #f8fafc; }
.pump-card .pump-image-wrapper { margin: -16px -16px 12px -16px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; height: 140px; border-bottom: 1px solid var(--border); border-top: none; border-left: none; border-right: none; }
.pump-thumb { width: 100%; height: 100%; object-fit: cover; }

.fuel-grid { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.fuel-item { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: #f1f5f9; color: #94a3b8; border: 1px dashed #cbd5e1; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
.fuel-item.active { background: #eef2ff; color: var(--primary); border: 1px solid #c7d2fe; box-shadow: inset 0 2px 4px rgba(255,255,255,0.5); }

.limit-badge { background: #fef3c7; color: #b45309; padding: 6px 14px; border-radius: 8px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; border: 1px dashed #f59e0b; font-weight: 500; }
.limit-badge strong { font-weight: 700; color: #92400e; }
.feedback-stats { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); padding: 8px 0; margin-bottom: 12px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.like-dislike { display: flex; gap: 8px; }
.vote-btn { background: var(--surface); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-main); transition: 0.2s; box-shadow: var(--shadow-sm); font-family: inherit; }
.vote-btn span { margin-left: 4px; }
.vote-like { background-color: var(--success-bg); color: var(--success-text); border-color: #a7f3d0; }
.vote-dislike { background-color: var(--danger-bg); color: var(--danger-text); border-color: #fecdd3; }
.vote-btn:hover { background: var(--bg-color); border-color: #cbd5e1; transform: translateY(-1px); }
.recent-comment-box { background: #f8fafc; border-left: 4px solid var(--primary-light); padding: 16px; border-radius: 6px; margin-bottom: 20px; }
.comment-text { color: var(--text-main); margin-bottom: 6px; font-size: 15px; font-weight: 500; line-height: 1.6; }
.comment-author { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.comment-add-btn { background: none; border: none; color: var(--primary); font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 10px; font-family: inherit; transition: 0.2s; padding: 6px 8px; border-radius: 4px; margin-left: -8px; }
.comment-add-btn:hover { background: #eff6ff; }
.contact-links-row { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.contact-pill { background: white; border: 1px solid var(--border); padding: 6px 14px; border-radius: 100px; text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; transition: 0.2s; box-shadow: var(--shadow-sm); }
.contact-pill:hover { background: #f1f5f9; border-color: #cbd5e1; transform: translateY(-2px); }

.card-bottom { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #f1f5f9; padding-top: 12px; margin-top: auto; }
.last-update { font-size: 13px; color: #94a3b8; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.added-by-text { font-size: 13px; color: #9ca3af; margin-top: 6px; display: flex; align-items: center; gap: 4px; }

.card-actions { display: flex; gap: 8px; align-items: center; justify-content: space-between; width: 100%; }
.update-btn { background: var(--primary); border: none; padding: 10px 14px; border-radius: 100px; font-size: 14px; font-weight: 700; color: white; cursor: pointer; transition: all 0.2s; font-family: inherit; box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3); flex: 2.5; text-align: center; display: flex; align-items: center; justify-content: center; }
.update-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4); }
.details-btn { background: var(--surface); color: var(--text-main); border: 2px solid var(--border); padding: 8px 12px; border-radius: 100px; font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.2s; text-decoration: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); flex: 1; text-align: center; }
.details-btn:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); }

.report-btn { background: var(--danger-bg); border: 1px solid #fecdd3; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: var(--danger-text); cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); height: 100%; }
.report-btn:hover { background: var(--danger); color: white; transform: translateY(-1px); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); background: rgba(255,255,255,0.5); border-radius: var(--radius-lg); border: 2px dashed #cbd5e1; font-size: 18px; font-weight: 500; display: none; grid-column: 1 / -1; }

/* Details Page & Comments */
.back-btn { display: inline-block; background: white; border: 1px solid var(--border); padding: 10px 20px; border-radius: 100px; color: var(--text-main); font-weight: 600; text-decoration: none; font-size: 15px; box-shadow: var(--shadow-sm); transition: 0.2s; }
.back-btn:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateX(-4px); }
.mb-4 { margin-bottom: 24px; }
.details-card { background: var(--surface); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border); margin-bottom: 30px; }
.details-image-wrapper { margin: -36px -36px 24px -36px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; height: 250px; border-bottom: 1px solid var(--border); background: #f8fafc; }
.details-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.details-top-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.details-info-left { flex: 1; min-width: 250px; }
.details-info-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.details-mid-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.details-mid-left { flex: 1; min-width: 200px; }
.details-mid-right { display: flex; flex-direction: column; align-items: flex-end; }
.details-title { font-size: 28px; font-weight: 700; color: var(--text-main); line-height: 1.3; margin-bottom: 12px; text-align: left; letter-spacing: -0.5px; }
.details-meta { text-align: right; margin-bottom: 0; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; padding: 8px 18px; border-radius: 100px; font-size: 14px; color: var(--text-muted); }
.meta-item strong { color: var(--text-main); font-weight: 700; }
.details-status-row { display: flex; justify-content: flex-end; margin-bottom: 0; }
.details-address { font-size: 16px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.text-left { text-align: left; display: block; margin-bottom: 16px; justify-content: flex-start; width: 100%; }
.text-right { text-align: right; display: block; margin-bottom: 16px; justify-content: flex-end; width: 100%; }
.justify-start { justify-content: flex-start; margin-bottom: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 24px; text-align: center; }
.stat-box { background: var(--bg-color); padding: 20px 10px; border-radius: var(--radius-md); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }

.comments-section { margin-top: 40px; }
.community-card { background: var(--surface); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border); margin-bottom: 20px; box-shadow: var(--shadow-sm); transition: 0.2s; }
.community-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.community-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px dashed var(--border); padding-bottom: 12px; }
.community-author { font-weight: 700; color: var(--text-main); font-size: 16px; display: flex; align-items: center; gap: 6px; }
.community-time { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.community-fuel-status { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; background: var(--bg-color); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid var(--border); }
.community-text { font-size: 15px; color: var(--text-main); line-height: 1.6; margin-bottom: 0; background: #f8fafc; padding: 16px; border-left: 4px solid var(--primary-light); border-radius: 4px; border: 1px solid var(--border); border-left-width: 4px; }

@media (max-width: 600px) {
    .details-info-right, .details-mid-right { align-items: flex-start; }
    .details-status-row { justify-content: flex-start; }
    .details-meta { text-align: left; }
    .text-right { text-align: left; justify-content: flex-start; }
}

/* Footer Redesign */
.site-footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border);
    padding: 50px 5% 30px;
    margin-top: 80px;
    color: var(--text-muted);
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: left;
}
.footer-left, .footer-right { flex: 1; min-width: 280px; }
.footer-left h3 { color: var(--text-main); font-size: 22px; margin-bottom: 12px; font-weight: 700; }
.footer-left p { margin-bottom: 8px; font-size: 15px; line-height: 1.6; }
.promo-box { background: var(--surface); padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border); margin-bottom: 16px; }
.promo-box a { color: var(--primary); text-decoration: none; font-weight: 600; display: block; font-size: 15px; transition: 0.2s; }
.promo-box a:hover { color: var(--primary-dark); }
.social-link { display: inline-block; background: #1877f2; color: white; padding: 10px 20px; border-radius: 100px; text-decoration: none; font-size: 15px; font-weight: 600; transition: 0.2s; }
.social-link:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 30px; max-width: 900px; margin: 0 auto; font-size: 14px; }
.copyright-text { margin-bottom: 8px; }
.powered-by strong { color: var(--primary); font-weight: 700; }
@media (max-width: 600px) { .footer-content { text-align: center; } .footer-left, .footer-right { text-align: center; } }

/* Toast Notification */
.toast { visibility: hidden; min-width: 280px; background: #1e293b; color: white; text-align: center; border-radius: 100px; padding: 14px 24px; position: fixed; z-index: 2000; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); font-weight: 600; font-size: 15px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0; }
.toast.show { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); bottom: 50px; }

/* Admin Elements */
.comments-row { display: none; }
.comments-row.active { display: table-row; animation: fadeIn 0.3s; }
.form-group input[type="number"] { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius-md); font-size: 15px; font-family: inherit; transition: 0.2s; background-color: #f8fafc; color: var(--text-main); }
.form-group input[type="number"]:focus { border-color: var(--primary); outline: none; background-color: white; box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }

/* Custom Icon Styling */
i { margin-right: 4px; }
.fa-gas-pump { color: #f59e0b; }
.fa-droplet { color: #3b82f6; }
.fa-oil-can { color: #8b5cf6; }
.fa-money-bill-wave { color: #10b981; }
.fa-location-dot, .fa-map-location-dot { color: var(--primary); }
.fa-phone { color: var(--success); }
.fa-clock { color: #94a3b8; }
.fa-user-circle, .fa-user { color: #94a3b8; }

/* Modals */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 1000; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--surface); padding: 36px; border-radius: 28px; width: 100%; max-width: 520px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; max-height: 90vh; overflow-y: auto; border: 1px solid rgba(255,255,255,0.5); }
@keyframes zoomIn { from { transform: scale(0.95) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.modal-header h2 { font-size: 24px; font-weight: 700; color: var(--text-main); letter-spacing: -0.5px; }
.close-btn { background: #f1f5f9; border: none; font-size: 24px; width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--text-muted); cursor: pointer; transition: 0.2s; }
.close-btn:hover { background: #ffe4e6; color: var(--danger); transform: rotate(90deg); }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 700; color: var(--text-main); font-size: 15px; }
.form-group input[type="text"], .form-group input[type="url"], .form-group input[type="tel"] { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius-md); font-size: 16px; font-family: inherit; transition: 0.2s; background-color: #f8fafc; font-weight: 500; color: var(--text-main); }
.form-group input:focus { border-color: var(--primary); outline: none; background-color: white; box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }
textarea:focus { border-color: var(--primary); background-color: white; box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); outline: none; }
.form-group input::placeholder { color: #94a3b8; }

.form-section-title { font-weight: 700; color: var(--text-main); font-size: 15px; margin-bottom: 16px; border-bottom: 2px solid #f1f5f9; padding-bottom: 8px; display: flex; align-items: center; }
.form-section-title span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--primary); color: white; border-radius: 50%; font-size: 12px; margin-right: 8px; font-weight: bold; }
.mt-3 { margin-top: 28px; }

/* Map Help Instructions */
.map-help-content { display: none; background: #eff6ff; padding: 16px; border-radius: var(--radius-sm); border: 1px solid #bfdbfe; margin-top: 12px; font-size: 14px; color: var(--text-main); }
.map-help-content.show { display: block; animation: slideDownDetails 0.3s ease; }
.map-help-content strong { display: block; margin-bottom: 10px; color: var(--primary-dark); font-size: 15px; }
.map-help-content ol { margin: 0; padding-left: 20px; color: var(--text-muted); }
.map-help-content ol li { margin-bottom: 6px; }
@keyframes slideDownDetails { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* File Upload */
.file-upload-wrapper { position: relative; }
.file-input { display: none; }
.file-label { display: block; width: 100%; padding: 16px; border: 2px dashed #cbd5e1; border-radius: var(--radius-md); text-align: center; color: var(--text-muted); font-weight: 600; cursor: pointer; transition: 0.2s; background: #f8fafc; font-size: 15px; }
.file-label:hover { border-color: var(--primary); color: var(--primary); background: #eff6ff; }

/* Toggle Switches */
.toggle-container { display: flex; align-items: center; gap: 14px; cursor: pointer; margin-bottom: 12px; user-select: none; }
.toggle-container.disabled { opacity: 0.4; pointer-events: none; filter: grayscale(100%); }
.toggle-switch { position: relative; width: 50px; height: 28px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .3s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 34px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.toggle-slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; bottom: 3px; background-color: white; transition: .3s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-slider { background-color: var(--success); box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(22px); }
.toggle-text { font-size: 16px; font-weight: 700; color: var(--text-muted); transition: 0.3s; }

.highlight-box { background: var(--success-bg); padding: 16px; border-radius: var(--radius-md); border: 2px solid #bbf7d0; margin-bottom: 16px; transition: 0.3s; }
.highlight-box .toggle-text { color: var(--success-text); font-size: 17px; }
.fuel-checkboxes { display: flex; flex-direction: column; gap: 16px; background: #f8fafc; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.fuel-checkboxes .toggle-container { margin-bottom: 0; }

.modal-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 40px; }
.btn-cancel, .btn-submit { padding: 14px 28px; border-radius: 100px; cursor: pointer; font-weight: 700; font-size: 16px; font-family: inherit; transition: all 0.2s; border: none; }
.btn-cancel { background-color: #f1f5f9; color: var(--text-muted); }
.btn-cancel:hover { background-color: #e2e8f0; color: var(--text-main); }
.btn-submit { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; box-shadow: 0 8px 15px rgba(79, 70, 229, 0.25); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(79, 70, 229, 0.35); }

/* Mobile View - 2 Columns User Friendly Setup */
@media (max-width: 600px) {
    .main-container { padding: 0 12px; }
    .navbar { padding: 12px 16px; }
    .navbar-brand h1 { font-size: 20px; }
    .navbar-brand p { font-size: 12px; }
    .nav-icon { width: 36px; height: 36px; font-size: 18px; }
    .plus-icon { width: 36px; height: 36px; font-size: 18px; }
    
    .hero-banner { flex-direction: column; text-align: center; padding: 20px 16px; gap: 14px; }
    .hero-btn { width: 100%; justify-content: center; }

    .filters-scroll { gap: 8px; }
    .pill { padding: 8px 16px; font-size: 13px; }

    /* Show 2 Cards Side-by-Side */
    .pump-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    /* Card Adjustments for Narrow Width */
    .pump-card { padding: 12px; border-radius: var(--radius-md); }
    .pump-card .pump-image-wrapper { margin: -12px -12px 10px -12px; height: 100px; border-radius: var(--radius-md) var(--radius-md) 0 0; }
    
    .card-top { flex-direction: column; gap: 8px; margin-bottom: 8px; }
    .pump-name { font-size: 15px; }
    .pump-address { font-size: 11px; margin-bottom: 10px; }
    
    .status-badge { font-size: 11px; padding: 4px 8px; }
    .fuel-grid { gap: 4px; margin-bottom: 10px; }
    .fuel-item { font-size: 10px; padding: 4px 6px; border-radius: 6px; }
    
    .limit-badge { font-size: 11px; padding: 4px 8px; margin-bottom: 10px; }
    
    .feedback-stats { flex-direction: column; align-items: flex-start; gap: 8px; padding: 8px 0; font-size: 11px; }
    .vote-btn { font-size: 11px; padding: 4px 8px; }
    
    .recent-comment-box { padding: 10px; margin-bottom: 12px; border-left-width: 3px; }
    .recent-comment-box img { height: 80px !important; margin-bottom: 6px !important; }
    .comment-text { font-size: 12px; margin-bottom: 4px; }
    .comment-author { font-size: 10px; }
    .comment-add-btn { font-size: 11px; padding: 4px 6px; }
    
    .contact-links-row { gap: 4px; margin-bottom: 10px; }
    .contact-pill { font-size: 10px; padding: 4px 8px; }
    
    .card-bottom { padding-top: 10px; gap: 8px; }
    .card-bottom > div:first-child { flex-wrap: wrap; gap: 8px; }
    .last-update { font-size: 10px; }
    .added-by-text { font-size: 10px; margin-top: 0; }
    .report-btn { padding: 4px 8px; font-size: 11px; }
    
    .card-actions { flex-direction: column; gap: 6px; }
    .update-btn, .details-btn { width: 100%; font-size: 12px; padding: 8px; flex: unset; }
    
    /* Modals & Form Adjustments */
    .modal { padding: 20px; border-radius: 20px; }
    .modal-header h2 { font-size: 20px; }
    .form-group label { font-size: 14px; }
    .form-group input[type="text"], .form-group input[type="url"], .form-group input[type="tel"] { padding: 12px 14px; font-size: 14px; }
    .file-label { padding: 12px; font-size: 14px; }
    .btn-submit { padding: 12px; font-size: 16px; }
    .fuel-checkboxes { padding: 16px; }
}