/* =====================================================
GLOBAL LAYOUT
===================================================== */

html,body{
height:100%;
margin:0;
}

body{
min-height:100vh;
display:flex;
flex-direction:column;
background:var(--bg);
color:var(--text);
font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto;
overflow-x:hidden;
}

.site-wrapper{
min-height:100vh;
display:flex;
flex-direction:column;
}

.site-footer{
margin-top:auto;
flex-shrink:0;
}


/* =========================
THEME VARIABLES dark mode
========================= */

:root{

--bg:#eef2f6;
--text:#1d2939;
--card:#ffffff;
--border:#e5e7eb;

}

body.dark{

--bg:#0b1220;
--text:#e5e7eb;
--card:#111827;
--border:#374151;

}

.theme-toggle{

background:transparent;
border:none;
font-size:18px;
cursor:pointer;
color:white;
margin-left:10px;

}
/* =====================================================
CONTAINER FIX
===================================================== */

.container{
max-width:1300px;

}

.notify-banner{
position:relative;
z-index:1;
margin-bottom:80px;

}
.nearby-hero{
position:relative;
overflow:hidden;
padding:34px 0 34px;
background:radial-gradient(circle at 30% 20%, #203a5c 0%, #142c4a 40%, #0c1e33 100%);
border-bottom:1px solid rgba(255,255,255,.05);
}

.nearby-hero-bg{
position:absolute;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at 80% 10%, rgba(255,193,7,.10), transparent 30%),
radial-gradient(circle at 10% 90%, rgba(78,161,255,.08), transparent 28%);
}

.nearby-hero-inner{
position:relative;
z-index:2;
max-width:920px;
margin:0 auto;
text-align:center;
}

.nearby-hero-kicker{
display:inline-flex;
align-items:center;
gap:8px;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.12);
color:#fff;
padding:8px 14px;
border-radius:999px;
font-size:14px;
font-weight:700;
margin-bottom:16px;
}

.nearby-hero-title{
margin:0;
font-size:42px;
font-weight:900;
line-height:1.05;
color:#fff;
}

.nearby-hero-meta{
margin-top:14px;
display:flex;
justify-content:center;
align-items:center;
gap:10px;
flex-wrap:wrap;
font-size:15px;
font-weight:600;
color:#d7e2ef;
}

.nearby-hero-meta strong{
color:#fff;
font-weight:800;
}

.nearby-hero-dot{
opacity:.45;
}

.nearby-hero-subtitle{
margin:14px auto 0;
max-width:720px;
font-size:17px;
line-height:1.5;
color:#dbe4ef;
}

.nearby-hero-search-form{
margin-top:22px;
}

.nearby-hero-search-wrap{
position:relative;
max-width:720px;
margin:0 auto;
}

.nearby-hero-search-input{
width:100%;
height:56px;
padding:0 62px 0 18px;
border:none;
border-radius:999px;
font-size:16px;
background:#fff;
color:#111827;
box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.nearby-hero-search-input:focus{
outline:none;
box-shadow:0 0 0 3px rgba(255,193,7,.20), 0 18px 40px rgba(0,0,0,.22);
}

.nearby-hero-search-btn{
position:absolute;
right:6px;
top:6px;
width:44px;
height:44px;
border:none;
border-radius:50%;
background:#ffc107;
color:#111827;
font-size:18px;
font-weight:700;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
}

.nearby-hero-actions{
margin-top:16px;
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

.nearby-main-btn{
height:46px;
padding:0 18px;
border-radius:999px;
font-weight:800;
}

.nearby-hero-link-btn{
height:46px;
padding:0 18px;
border-radius:999px;
font-weight:800;
display:inline-flex;
align-items:center;
justify-content:center;
text-decoration:none;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.14);
color:#fff;
}

.nearby-hero-link-btn:hover{
background:rgba(255,255,255,.12);
color:#fff;
}

.nearby-container{
margin-top:22px;
margin-bottom:40px;
}

.highlight-yellow{

color:#FFC107;

}

.highlight-yellow{

color:#FFC107;
font-weight:700;
text-shadow:0 2px 10px rgba(255,193,7,0.3);

}
/* =====================================================
HEADER
===================================================== */

.header-main{
background:radial-gradient(circle at 30% 20%, #203a5c 0%, #142c4a 40%, #0c1e33 100%);
padding:8px 0;
box-shadow:0 4px 18px rgba(0,0,0,0.25);
border-bottom:1px solid rgba(255,255,255,0.08);
position:relative;
z-index:5000;
}

.header-main .navbar-brand img{
height:64px;
}

.header-main .nav-link{
color:#e9eef5 !important;
font-weight:400;
margin-left:16px;
transition:.15s;
}

.header-main .nav-link:hover{
color:#FFA726 !important;
transform:translateY(-1px);
}

/* =====================================================
CARDS
===================================================== */

body:not(.home-page) .card{
border-radius:18px;
border:none;
box-shadow:0 12px 28px rgba(0,0,0,0.10);
width:100%;
}

.card-body{
padding:22px;
}

/* =====================================================
lokalizacja header
===================================================== */

.hero-location-bar{
display:inline-flex;
align-items:center;
gap:8px;
background:rgba(255,255,255,0.1);
padding:8px 14px;
border-radius:30px;
font-size:14px;
margin-bottom:15px;
}

.hero-location-icon{
font-size:16px;
}

#changeLocationBtn{
background:none;
border:none;
color:#9ad1ff;
cursor:pointer;
font-weight:600;
}

#changeLocationBtn:hover{
text-decoration:underline;
}

.location-badge{
font-weight:600;
color:#fff !important;
display:flex;
align-items:center;
gap:6px;
}

.location-badge:hover{
color:#FFC107 !important;
}

.radius-option{
cursor:pointer;
}


.local-cheapest-section{
margin-top:40px;
}

.local-cheapest-title{
font-size:24px;
font-weight:700;
margin-bottom:20px;
}

.local-cheapest-card{
background:white;
border-radius:16px;
padding:18px;
box-shadow:0 6px 18px rgba(0,0,0,0.08);
margin-bottom:15px;
}

.local-cheapest-price{
font-size:22px;
font-weight:700;
color:#0d6efd;
}

.location-dropdown .location-badge{
background:#132c4d;
padding:6px 12px;
border-radius:30px;
display:flex;
align-items:center;
gap:6px;
font-weight:600;
}

.location-menu{
border-radius:14px;
padding:10px 0;
min-width:180px;
}

.location-menu .radius-option{
padding:8px 18px;
cursor:pointer;
}

.location-menu .radius-option:hover{
background:#f1f4f7;
}

.change-city-btn{
padding:10px 18px;
cursor:pointer;
font-weight:600;
color:#0d6efd;
}

.change-city-btn:hover{
background:#f1f4f7;
}

.city-modal{
border-radius:16px;
}

#cityResults{
max-height:300px;
overflow:auto;
}

.city-item{
padding:12px 14px;
border-radius:8px;
cursor:pointer;
color:#111827;
font-weight:500;
border-bottom:1px solid #f1f1f1;
}

.city-item:hover{
background:#f3f6fa;
}

.city-item:hover{
background:#f3f6fa;
}

.mobile-location{
display:flex;
align-items:center;
gap:6px;
color:white;
font-weight:600;
font-size:14px;
cursor:pointer;
}

.city-modal{
border-radius:16px;
max-height:70vh;
overflow:hidden;
}

#cityResults{
max-height:300px;
overflow:auto;
}

#citySearch{
height:44px;
font-size:15px;
}

.search-dropdown{
position:absolute;
top:100%;
left:0;
right:0;

background:white;
border-radius:12px;

box-shadow:0 12px 30px rgba(0,0,0,0.25);

margin-top:8px;

max-height:320px;
overflow:auto;

z-index:9999;

display:none;
}

.search-item{
padding:12px 16px;
cursor:pointer;
border-bottom:1px solid #f1f1f1;
}

.search-item:hover{
background:#f3f6fa;
}

.search-active{
background:#eef4ff;
}

.hero-search-input-wrap{
position:relative;
}

.radius-option.active{
background:#e8f0ff;
font-weight:600;
}
/* =====================================================
NOTIFICATIONS
===================================================== */

.notif-bell{
position:relative;
display:flex;
align-items:center;
justify-content:center;

width:36px;
height:36px;

margin-left:8px;
padding:0 !important;
cursor:pointer;
}

/* BADGE */

.notif-badge-header{
position:absolute;
top:-5px;
right:-9px;
min-width:19px;
height:19px;
background:#ff4d4f;
color:#fff;
font-size:11px;
font-weight:800;
display:flex;
align-items:center;
justify-content:center;
border-radius:999px;
line-height:19px;
padding:0 5px;
box-shadow:0 0 0 3px #0f2136;
}



.notif-btn{
position:relative;

display:flex;
align-items:center;
justify-content:center;

width:36px;
height:36px;

color:#fff;
font-size:20px;

text-decoration:none;
}

/* DROPDOWN */

.notif-dropdown{
position:absolute !important;
top:calc(100% + 8px);
right:-10px;

width:300px;
max-height:420px;

overflow-y:auto;

background:#fff;

border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.25);

z-index:999999 !important;
}

/* ITEM */

.notif-item{
display:block;
padding:10px 14px;
border-bottom:1px solid #eef1f5;
cursor:pointer;
white-space:normal;
}

.notif-item:last-child{
border-bottom:none;
}

.notif-item:hover{
background:#f8fafc;
}



/* =====================================
CITY MODAL – DARK THEME
===================================== */

.city-modal{
background:#0c1e33;
color:white;
border-radius:18px;
border:1px solid rgba(255,255,255,0.08);
}

.city-modal .modal-header{
border-bottom:1px solid rgba(255,255,255,0.08);
}

.city-modal .modal-title{
color:#fff;
}

/* INPUT */

#citySearch{
background:#132c4d;
border:1px solid rgba(255,255,255,0.15);
color:white;
border-radius:10px;
}

#citySearch::placeholder{
color:#9fb3c8;
}

/* LISTA MIAST */

.city-item{
padding:12px 14px;
cursor:pointer;
border-bottom:1px solid rgba(255,255,255,0.05);
color:#e5e7eb;
background:transparent;
border-radius:8px;
transition:.15s;
}

.city-item:hover{
background:#203a5c;
}

/* CONTAINER */

#cityResults{
max-height:320px;
overflow:auto;
}

/* =====================================
SEARCH DROPDOWN DARK
===================================== */

.search-dropdown{
background:#132c4d;
border:1px solid rgba(255,255,255,0.1);
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,0.5);
}

.search-item{
color:#e5e7eb;
border-bottom:1px solid rgba(255,255,255,0.05);
}

.search-item:hover{
background:#203a5c;
}

.search-active{
background:#203a5c;
}



/* ===== AI BANNER ===== */

.ai-price-banner{

display:flex;
gap:20px;

padding:24px;

background:#f4f7fb;
border:1px solid #e1e7ef;

border-radius:18px;

align-items:center;

margin:30px 0;

width:100%;
max-width:100%;

box-sizing:border-box;

text-decoration:none;
color:inherit;

transition:all .2s ease;

}

.ai-price-banner:hover{

background:#eef3f9;
transform:translateY(-1px);
box-shadow:0 6px 16px rgba(0,0,0,0.05);

}


/* ===== ICON ===== */

.ai-banner-icon{

width:64px;
height:64px;

background:#e9eff6;

border-radius:16px;

display:flex;
align-items:center;
justify-content:center;

flex-shrink:0;

font-size:28px;

}

.ai-banner-icon img{

width:30px;
height:30px;
opacity:.8;

}


/* ===== CONTENT ===== */

.ai-banner-content{
flex:1;
}


/* ===== TITLE ===== */

.ai-banner-title{

font-size:22px;
font-weight:700;

display:flex;
align-items:center;
gap:10px;

margin-bottom:6px;

color:#0f172a;

}


/* ===== AI BADGE ===== */

.ai-badge{

background:#e5eaf1;

font-size:12px;
font-weight:700;

padding:4px 8px;

border-radius:8px;

color:#334155;

}


/* ===== TEXT ===== */

.ai-banner-text{

color:#64748b;

margin-bottom:14px;

line-height:1.5;

}


/* ===== BUTTONS ===== */

.ai-banner-actions{

display:flex;
gap:10px;

margin-bottom:6px;

flex-wrap:wrap;

}


/* ===== PRIMARY BUTTON ===== */

.ai-btn-primary{

background:#0b3558;

color:white;

padding:10px 16px;

border-radius:12px;

font-weight:600;

text-decoration:none;

transition:.15s;

}

.ai-btn-primary:hover{

background:#08263f;

}


/* ===== SECONDARY BUTTON ===== */

.ai-btn-secondary{

background:white;

border:1px solid #e2e8f0;

padding:10px 16px;

border-radius:12px;

font-weight:600;

text-decoration:none;

color:#111827;

transition:.15s;

}

.ai-btn-secondary:hover{

background:#f8fafc;

}


/* ===== POINTS ===== */

.ai-banner-points{

font-size:14px;
color:#64748b;

}


/* ===== MOBILE ===== */

@media (max-width:700px){

.ai-price-banner{
flex-direction:column;
align-items:flex-start;
gap:14px;
}

.ai-banner-icon{
width:56px;
height:56px;
}

.ai-banner-title{
font-size:18px;
}

}

.profile-content .ai-price-banner{
max-width:100%;
overflow:hidden;
}

/* DAY GROUP */

.notif-day{
font-size:12px;
font-weight:700;

color:#6b7280;

padding:8px 14px;

background:#f5f7fa;

border-bottom:1px solid #eee;
}

/* TITLE */

.notif-title{
font-weight:600;
font-size:14px;
color:#111827;
line-height:1.3;
}

/* TEXT */

.notif-text{
font-size:13px;
color:#6b7280;
margin-top:3px;
line-height:1.4;
}

/* TIME */

.notif-time{
font-size:11px;
color:#9ca3af;
margin-top:4px;
}

/* =========================
FUEL LIVE
========================= */

.fuel-live{

margin-top:40px;

}

.fuel-header{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
flex-wrap:wrap;

}

.fuel-header h2{

font-size:26px;
font-weight:700;

}

.fuel-location{

display:flex;
gap:10px;

}

.region-pill{

background:#f1f5f9;
border:1px solid #e2e8f0;
padding:8px 14px;
border-radius:20px;
font-weight:600;
cursor:pointer;

}

.geo-pill{

background:#22c55e;
color:white;
border:none;
padding:8px 14px;
border-radius:20px;
font-weight:600;
cursor:pointer;

}

.fuel-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:20px;

}
/* =====================================================
PWA BOTTOM NAV
===================================================== */

.bottom-nav{
position:fixed;
bottom:0;
left:0;
right:0;
height:62px;

background:#0c1e33;

display:flex;
align-items:center;
justify-content:space-around;

border-top:1px solid rgba(255,255,255,0.08);

z-index:20000;
}

/* element menu */

.bottom-nav a{
flex:1;

display:flex;
flex-direction:column;
align-items:center;
justify-content:center;

color:#e5e7eb;
text-decoration:none;
}

/* ikona */

.bottom-nav a i{
font-size:18px;
}

/* tekst */

.bottom-nav a span{
font-size:11px;
margin-top:2px;
opacity:.85;
}

/* PLUS */

.bottom-nav .add{

flex:0 0 auto;

width:54px;
height:54px;

min-width:54px;
min-height:54px;

background:#22c55e;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

font-size:26px;
color:white;

transform:translateY(-14px);

box-shadow:0 8px 20px rgba(0,0,0,0.35);
}



/* =====================================================
ADD PRICE SHEET
===================================================== */

.add-sheet{
position:fixed;
bottom:-260px;
left:0;
right:0;

background:#0c1e33;

padding:18px;

border-radius:18px 18px 0 0;

transition:bottom .25s ease;

z-index:21000;

pointer-events:auto;
}

.add-sheet.open{
bottom:70px;
}



/* opcje w menu */

.add-option{

display:block;

background:#1a2f47;

padding:16px 18px;

border-radius:14px;

margin-bottom:12px;

text-decoration:none;

color:white;

font-size:16px;
font-weight:500;
}

/* opis */

.add-option small{

display:block;

font-size:13px;

opacity:.65;

margin-top:4px;
}

/* klik */

.add-option:active{
background:#223a57;
}

/* =====================================================
MOBILE NOTIFICATIONS
===================================================== */

.mobile-notif-menu{
position:fixed;
top:78px;
right:10px;
width:min(340px, calc(100vw - 20px));
max-height:58vh;
background:linear-gradient(180deg, rgba(15,33,54,.98) 0%, rgba(11,26,43,.99) 100%);
border:1px solid rgba(255,255,255,.07);
border-radius:18px;
box-shadow:0 18px 44px rgba(0,0,0,.35);
overflow:hidden;
display:none;
z-index:50000;
backdrop-filter:blur(10px);
-webkit-backdrop-filter:blur(10px);
}

.mobile-notif-menu.show{
display:block;
}

.mobile-notif-header{
font-weight:700;
padding:13px 15px;
border-bottom:1px solid rgba(255,255,255,.07);
color:#fff;
background:
    radial-gradient(circle at top right, rgba(255,193,7,.10), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 100%);
font-size:15px;
}

#mobileNotifList{
max-height:calc(58vh - 64px - 58px);
overflow-y:auto;
overflow-x:hidden;
-webkit-overflow-scrolling:touch;
overscroll-behavior:contain;
}

.mobile-notif-day{
font-size:10px;
text-transform:uppercase;
letter-spacing:.10em;
color:rgba(255,255,255,.40);
padding:10px 15px 5px;
font-weight:800;
}

.mobile-notif-item{
padding:11px 15px;
border-bottom:1px solid rgba(255,255,255,.06);
cursor:pointer;
transition:.18s ease;
background:transparent;
}

.mobile-notif-item:hover{
background:rgba(255,193,7,.06);
}

.mobile-notif-title{
font-weight:700;
font-size:13px;
color:#fff;
line-height:1.3;
}

.mobile-notif-text{
font-size:12px;
color:#b8c7d8;
margin-top:4px;
line-height:1.4;
}

.mobile-notif-footer{
padding:10px;
border-top:1px solid rgba(255,255,255,.06);
background:rgba(255,255,255,.02);
}

.mobile-notif-more{
display:flex;
align-items:center;
justify-content:center;
min-height:40px;
border-radius:12px;
text-decoration:none;
color:#fff;
font-weight:700;
font-size:13px;
background:rgba(255,193,7,.08);
border:1px solid rgba(255,193,7,.14);
transition:.18s ease;
}

.mobile-notif-more:hover{
background:rgba(255,193,7,.14);
color:#ffc107;
border-color:rgba(255,193,7,.28);
}

@media (max-width:768px){
.mobile-notif-menu{
top:76px;
right:10px;
width:min(340px, calc(100vw - 20px));
max-height:56vh;
}

#mobileNotifList{
max-height:calc(56vh - 64px - 56px);
}
}



/* =====================================================
STATION CARD APP
===================================================== */

.station-card-app{
border-radius:18px;
border:none;
box-shadow:0 10px 30px rgba(0,0,0,0.12);
transition:transform .15s;
}

.station-card-app:hover{
transform:translateY(-2px);
}

.station-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:12px;
}

.station-brand{
display:flex;
gap:10px;
align-items:center;
}

.station-logo{
height:32px;
}

.station-name a{
font-weight:600;
color:#111;
text-decoration:none;
}

.station-address{
font-size:12px;
color:#777;
}

.station-distance{
background:#22c55e;
color:white;
font-size:12px;
padding:4px 8px;
border-radius:8px;
}

.station-prices-app{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:6px;
text-align:center;
margin-bottom:10px;
}

.station-prices-app .fuel{
background:#f4f6fa;
border-radius:8px;
padding:6px;
font-size:12px;
}

/* =====================================================
CHEAPEST CARD
===================================================== */

.cheapest-card{
border-radius:12px;
border:1px solid #eee;
transition:.2s;
}

.cheapest-card:hover{
transform:translateY(-2px);
box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.cheapest-price{
font-size:22px;
font-weight:700;
color:#0d6efd;
}

/* =====================================================
MEDIA
===================================================== */

@media (max-width:768px){



.header-main{
display:none;
}

}

@media (min-width:768px){

.app-header{
display:none;
}

.bottom-nav{
display:none;
}

}

/* =====================================================
PWA FIXES
===================================================== */

/* żeby treść nie chowała się pod bottom nav */

@media (max-width:768px){

.container{
padding-bottom:90px;
}

}

/* =====================================================
APP HEADER MOBILE
===================================================== */

.app-header{
position:relative;
top:0;
background:#0c1e33;
display:flex;
align-items:center;
justify-content:space-between;
padding:14px 16px;
z-index:2000;
box-shadow:0 2px 6px rgba(0,0,0,0.2);
overflow:visible;
}

.app-logo img{
height:42px;
}

.app-actions{
display:flex;
align-items:center;
gap:15px;
}

/* =====================================================
ADD BUTTON ANIMATION
===================================================== */

.bottom-nav .add{
transition:transform 0.15s ease;
}

.bottom-nav .add:active{
transform:scale(1.15);
}

@keyframes addBounce{

0%{ transform:scale(1); }

50%{ transform:scale(1.2); }

100%{ transform:scale(1); }

}

.bottom-nav .add.clicked{
animation:addBounce 0.3s ease;
}

/* =====================================================
ADD SHEET OVERLAY
===================================================== */

.sheet-overlay{
position:fixed;
top:0;
left:0;
right:0;
bottom:0;
background:rgba(0,0,0,0.4);
opacity:0;
pointer-events:none;
transition:opacity 0.25s ease;
z-index:19999;
}

.sheet-overlay.show{
opacity:1;
pointer-events:auto;
}

/* =====================================================
DESKTOP / MOBILE SWITCH
===================================================== */

@media (min-width:768px){

.app-header{
display:none;
}

.bottom-nav{
display:none;
}

}

@media (max-width:767px){

.header-main{
display:none;
}

}

/* PUSH NOTIFICATION ASK */

#pushAsk{
bottom:20px;
}

/* MOBILE / PWA */

@media (max-width:768px){

#pushAsk{
bottom:90px;
}

}

/* ===== FIX DROPDOWN PWA ===== */

.navbar,
.header-main{
overflow:visible !important;
}


/* =========================
CARD
========================= */

.auth-box{
background:#f8fafc;
border-radius:20px;
box-shadow:0 25px 60px rgba(0,0,0,0.35);
border-top:4px solid #FFC107;
overflow:hidden;
animation:authFade .5s ease;
}

/* =========================
BODY
========================= */

.auth-body{
padding:42px;
}

/* =========================
LOGO
========================= */

.auth-logo{
text-align:center;
margin-bottom:20px;
}

.auth-logo img{
height:60px;
}

/* =========================
TITLE
========================= */

.auth-title{
text-align:center;
font-weight:700;
font-size:26px;
margin-bottom:26px;
color:#0c1e33;
}

/* =========================
INPUTS
========================= */

.auth-body .form-control{
border-radius:12px;
padding:13px 14px;
border:1px solid #d7d7d7;
font-size:15px;
transition:all .2s ease;
}

.auth-body .form-control:focus{
border-color:#FFC107;
box-shadow:0 0 0 3px rgba(255,193,7,0.18);
outline:none;
}

/* =========================
BUTTON
========================= */

.auth-btn{
background:#0c1e33;
border:none;
padding:14px;
font-weight:600;
border-radius:12px;
color:#fff;
transition:all .2s ease;
width:100%;
font-size:16px;
}

.auth-btn:hover{
background:#1f3a5f;
color:#fff; /* dodaj to */
transform:translateY(-1px);
box-shadow:0 10px 22px rgba(0,0,0,0.25);
}

.auth-forgot a{
color:#3b82f6;
font-weight:500;
text-decoration:none;
}

.auth-forgot a:hover{
text-decoration:underline;
color:#1d4ed8;
}

body.auth-page-bg .header-main{
box-shadow:none;
border-bottom:none;
}
/* =========================
RESET PASSWORD
========================= */

.auth-forgot{
text-align:right;
font-size:13px;
margin-bottom:15px;
}

.auth-forgot a{
color:#64748b;
text-decoration:none;
}

.auth-forgot a:hover{
color:#0c1e33;
}

/* =========================
LINKS
========================= */

.auth-links{
text-align:center;
margin-top:18px;
font-size:14px;
}

.auth-links a{
color:#0c1e33;
font-weight:600;
text-decoration:none;
}

.auth-links a:hover{
text-decoration:underline;
}

/* =========================
ALERT
========================= */

.auth-body .alert{
border-radius:10px;
font-size:14px;
}

/* =========================
ANIMATION
========================= */

@keyframes authFade{

0%{
opacity:0;
transform:translateY(20px) scale(.97);
}

100%{
opacity:1;
transform:translateY(0) scale(1);
}

}

/* =========================
BACKGROUND GLOW
========================= */

body.auth-page-bg::after{

content:"";
position:fixed;
top:-200px;
left:50%;
transform:translateX(-50%);

width:900px;
height:600px;

background:radial-gradient(circle,
rgba(255,193,7,0.18),
transparent 60%);

filter:blur(80px);
pointer-events:none;

animation:authGlow 6s ease-in-out infinite alternate;

}

@keyframes authGlow{

0%{
opacity:.35;
transform:translateX(-50%) scale(.95);
}

100%{
opacity:.65;
transform:translateX(-50%) scale(1.05);
}

}

/* =========================
TABLET
========================= */

@media(max-width:768px){

.auth-page{
margin:70px auto 120px auto;
}

.auth-body{
padding:30px;
}

.auth-title{
font-size:22px;
}

}

/* =========================
SMALL MOBILE
========================= */

@media(max-width:420px){

.auth-page{
margin:50px auto 110px auto;
}

.auth-box{
border-radius:16px;
}

.auth-body{
padding:22px;
}

.auth-title{
font-size:20px;
margin-bottom:20px;
}

}

/* =========================
AUTH PAGE FIX
========================= */

body.auth-page-bg .bottom-nav,
body.auth-page-bg .add-sheet,
body.auth-page-bg .sheet-overlay{
display:none !important;
}

/* =========================
AUTH PAGE
========================= */

body.auth-page-bg{
background:
radial-gradient(circle at 50% -200px,#1f3f66 0%,#0c1e33 60%,#071a2f 100%);
min-height:100vh;
}

.auth-page{
max-width:420px;
margin:110px auto 140px auto;
padding:0 15px;
}


/* =========================
AUTH BOX
========================= */

.auth-box{
width:100%;
}

.auth-body{
background:rgba(255,255,255,.96);
border-radius:18px;
padding:28px 24px;
box-shadow:0 18px 50px rgba(0,0,0,.22);
border-top:4px solid #f0b90b;
}

.auth-title{
text-align:center;
font-size:28px;
font-weight:800;
color:#0c1e33;
margin:0 0 10px;
}

.auth-subtitle{
text-align:center;
color:#6b7a8c;
font-size:15px;
line-height:1.55;
margin:0 0 22px;
}


/* =========================
LABELS
========================= */

.auth-body .form-label,
.auth-body label{
display:block;
font-size:14px;
font-weight:700;
color:#23364d;
margin-bottom:8px;
}


/* =========================
NORMAL INPUTS / SELECT
REGISTER + FORGOT
========================= */

.auth-body .form-control{
display:block;
width:100%;
height:52px;
padding:0 14px;
border:1px solid #d8dee6;
border-radius:12px;
background:#fff;
color:#1f2937;
font-size:15px;
box-shadow:none;
transition:border-color .2s ease, box-shadow .2s ease;
}

.auth-body textarea.form-control{
height:auto;
padding:12px 14px;
}

.auth-body select.form-control{
appearance:none;
-webkit-appearance:none;
-moz-appearance:none;
background-image:
linear-gradient(45deg, transparent 50%, #6b7a8c 50%),
linear-gradient(135deg, #6b7a8c 50%, transparent 50%);
background-position:
calc(100% - 18px) calc(50% - 3px),
calc(100% - 12px) calc(50% - 3px);
background-size:6px 6px, 6px 6px;
background-repeat:no-repeat;
padding-right:38px;
}

.auth-body .form-control:focus{
border-color:#2d5b8f;
box-shadow:0 0 0 3px rgba(45,91,143,.10);
outline:none;
}


/* =========================
LOGIN INPUT GROUP
ONLY LOGIN WITH ICONS
========================= */

.auth-body .input-group{
display:flex;
flex-wrap:nowrap;
align-items:stretch;
width:100%;
min-height:52px;
border:1px solid #d8dee6;
border-radius:12px;
overflow:hidden;
background:#fff;
transition:border-color .2s ease, box-shadow .2s ease;
}

.auth-body .input-group:focus-within{
border-color:#2d5b8f;
box-shadow:0 0 0 3px rgba(45,91,143,.10);
}

.auth-body .input-group-text{
display:flex;
align-items:center;
justify-content:center;
width:52px;
min-width:52px;
padding:0;
margin:0;
background:#f8fafc;
border:none;
border-right:1px solid #d8dee6;
color:#41566f;
font-size:18px;
flex:0 0 52px;
}

.auth-body .input-group .form-control{
border:none;
border-radius:0;
height:auto;
min-height:52px;
padding:0 14px;
box-shadow:none;
background:#fff;
}

.auth-body .input-group .form-control:focus{
box-shadow:none;
border:none;
}

.auth-box-login{
width:100%;
max-width:430px;
margin:0 auto;
}

@media (min-width: 1200px){
.auth-box-login{
max-width:410px;
}
}
/* =========================
UNDER PASSWORD ROW
LOGIN
========================= */

.auth-row{
display:flex;
justify-content:space-between;
align-items:center;
gap:12px;
margin-bottom:18px;
}

.auth-row .form-check{
display:flex;
align-items:center;
gap:8px;
margin:0;
}

.auth-row .form-check-input{
margin:0;
}

.auth-row .form-check-label{
margin:0;
font-size:14px;
font-weight:600;
color:#30445c;
}

.auth-link-small{
font-size:13px;
font-weight:600;
color:#6b7f96;
text-decoration:none;
}

.auth-link-small:hover{
color:#0c1e33;
}


/* =========================
BUTTONS
========================= */

.auth-btn{
height:52px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,#0c2340,#12345d);
color:#fff;
font-weight:700;
font-size:16px;
cursor:pointer;
transition:all .2s ease;
box-shadow:0 8px 18px rgba(12,35,64,.18);
}

.auth-btn:hover{
transform:translateY(-1px);
box-shadow:0 10px 22px rgba(12,35,64,.24);
}


/* =========================
DIVIDER
========================= */

.auth-divider{
display:flex;
align-items:center;
text-align:center;
margin:22px 0;
font-size:12px;
font-weight:700;
color:#8fa2b8;
letter-spacing:.08em;
text-transform:uppercase;
}

.auth-divider::before,
.auth-divider::after{
content:"";
flex:1;
height:1px;
background:#d8e0ea;
}

.auth-divider span{
padding:0 14px;
}


/* =========================
ALT LOGIN BUTTONS
========================= */

.auth-passkey-btn{
display:flex;
align-items:center;
justify-content:center;
width:100%;
height:52px;
border:none;
border-radius:12px;
background:#1f4572;
color:#fff;
font-weight:700;
font-size:15px;
cursor:pointer;
transition:all .25s ease;
box-shadow:0 8px 18px rgba(31,69,114,.16);
margin-bottom:10px;
}

.auth-passkey-btn:hover{
background:#275487;
transform:translateY(-1px);
box-shadow:0 10px 22px rgba(31,69,114,.22);
}

.auth-google-btn{
display:flex;
align-items:center;
justify-content:center;
gap:10px;
width:100%;
height:52px;
background:#fff;
color:#333;
border:1px solid #dadce0;
border-radius:12px;
font-weight:600;
font-size:15px;
text-decoration:none;
transition:all .25s ease;
}

.auth-google-btn:hover{
background:#f7f8f9;
transform:translateY(-1px);
box-shadow:0 6px 14px rgba(0,0,0,0.12);
color:#333;
}

.google-icon{
display:flex;
align-items:center;
}

.google-text{
font-weight:600;
}


/* =========================
MESSAGES
========================= */

.auth-message{
text-align:center;
font-size:13px;
line-height:1.5;
margin-top:12px;
color:#7a8ea5;
min-height:20px;
}

.alert{
border-radius:12px;
padding:12px 14px;
margin-bottom:18px;
font-size:14px;
font-weight:600;
}

.alert-danger{
background:#fff1f1;
border:1px solid #f3c7c7;
color:#b42318;
}

.alert-success{
background:#eefaf1;
border:1px solid #b7e1c0;
color:#1f7a35;
}


/* =========================
BOTTOM LINKS
========================= */

.auth-links{
margin-top:22px;
text-align:center;
font-size:14px;
line-height:1.7;
color:#66788f;
}

.auth-links a{
color:#ff8a00;
font-weight:700;
text-decoration:none;
}

.auth-links a:hover{
color:#e67800;
}


/* =========================
SPACING
========================= */

.auth-body .mb-3{
margin-bottom:16px !important;
}

.auth-body .mb-4{
margin-bottom:22px !important;
}

.auth-body .mt-3{
margin-top:16px !important;
}


/* =========================
MOBILE
========================= */

@media (max-width:600px){

.auth-page{
margin:80px auto 110px auto;
padding:0 12px;
}

.auth-body{
padding:22px 18px;
border-radius:16px;
}

.auth-title{
font-size:24px;
}

.auth-subtitle{
font-size:14px;
margin-bottom:18px;
}

.auth-row{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.auth-body .input-group{
min-height:50px;
}

.auth-body .input-group-text{
width:50px;
min-width:50px;
flex:0 0 50px;
font-size:17px;
}

.auth-body .input-group .form-control,
.auth-body .form-control,
.auth-btn,
.auth-passkey-btn,
.auth-google-btn{
height:50px;
min-height:50px;
font-size:14px;
}

.auth-divider{
margin:18px 0;
}
}

/* =========================
PASSKEY REMOVE BUTTON
========================= */

.btn-remove-passkey{
background:#2b3442;
color:#fff;
border:none;
border-radius:10px;
padding:8px 14px;
font-size:13px;
font-weight:600;
cursor:pointer;
transition:.2s;
}

.btn-remove-passkey:hover{
background:#384457;
transform:translateY(-1px);
}

.btn-remove-passkey:active{
transform:translateY(0);
}

.provider.connected .btn-remove-passkey{
background:#7b2b2b;
}

.provider.connected .btn-remove-passkey:hover{
background:#933535;
}

/* =====================================================
DESKTOP FIX - HIDE PWA ADD SHEET
===================================================== */

@media (min-width:768px){

.add-sheet,
.sheet-overlay{
display:none !important;
pointer-events:none !important;
}

}

.city-item{
padding:12px 14px;
border-radius:10px;
cursor:pointer;
color:#111827;
border-bottom:1px solid #eef2f7;
transition:background .18s ease;
}

.city-item:hover{
background:#f3f6fa;
}

.city-item-name{
font-weight:700;
font-size:15px;
line-height:1.2;
}

.city-item-meta{
font-size:12px;
color:#6b7280;
margin-top:4px;
}

#useGpsLocationBtn{
font-weight:600;
border-radius:12px;
}

.location-badge{
white-space:nowrap;
max-width:220px;
overflow:hidden;
text-overflow:ellipsis;
}

.mobile-location span{
max-width:140px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
display:inline-block;
vertical-align:bottom;
}

/* =====================================================
HEADER LOCATION – FINAL FIX
===================================================== */

/* desktop badge */
.location-dropdown .location-badge{
display:inline-flex;
align-items:center;
gap:8px;
max-width:230px;
padding:8px 14px;
border-radius:999px;
background:#132c4d;
color:#fff !important;
font-weight:700;
line-height:1;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
border:1px solid rgba(255,255,255,0.08);
}

.location-dropdown .location-badge:hover{
background:#19385f;
color:#ffc107 !important;
}

.location-dropdown .location-badge i{
flex:0 0 auto;
font-size:15px;
}

#heroCity{
display:inline-block;
max-width:150px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
vertical-align:bottom;
}

/* dropdown */
.location-menu{
min-width:240px;
padding:10px 0;
border:none;
border-radius:16px;
overflow:hidden;
box-shadow:0 16px 40px rgba(0,0,0,0.22);
}

.location-menu .dropdown-header{
font-size:12px;
font-weight:800;
letter-spacing:.03em;
text-transform:uppercase;
color:#64748b;
padding:10px 16px 8px;
}

.location-menu .radius-option{
display:block;
padding:10px 16px;
font-weight:600;
cursor:pointer;
transition:background .15s ease, color .15s ease;
}

.location-menu .radius-option:hover{
background:#f1f5f9;
}

.location-menu .radius-option.active{
background:#e8f0ff;
color:#0d6efd;
}

.location-menu .dropdown-item{
display:flex;
align-items:center;
gap:8px;
padding:11px 16px;
font-weight:600;
}

.location-menu .dropdown-item i{
font-size:15px;
}

.location-menu .use-location-btn{
color:#ff9800;
font-weight:700;
background:#fff3cd;
border-radius:8px;
}

.location-menu .use-location-btn:hover{
background:#fff7e6;
color:#ff9800;
}

.location-menu .change-city-btn{
color:#1f2937;
font-weight:600;
}
.location-menu .change-city-btn:hover{
background:#f3f4f6;
color:#111827;
}

/* mobile trigger */
.mobile-location{
appearance:none;
-webkit-appearance:none;
border:none;
background:transparent;
padding:0;
display:flex;
align-items:center;
gap:6px;
color:#fff;
font-weight:700;
font-size:14px;
cursor:pointer;
}

.mobile-location i{
flex:0 0 auto;
font-size:15px;
}

.mobile-location span,
#heroCityMobile{
display:inline-block;
max-width:140px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
vertical-align:bottom;
}

/* modal */
.city-modal{
background:#0c1e33;
color:#fff;
border-radius:18px;
border:1px solid rgba(255,255,255,0.08);
overflow:hidden;
}

.city-modal .modal-header{
border-bottom:1px solid rgba(255,255,255,0.08);
}

.city-modal .modal-title{
font-weight:700;
}

.city-modal .btn-close{
filter:invert(1);
opacity:.85;
}

#useGpsLocationBtn{
height:46px;
border-radius:12px;
font-weight:700;
}

#citySearch{
height:48px;
font-size:15px;
border-radius:12px;
background:#132c4d;
border:1px solid rgba(255,255,255,0.14);
color:#fff;
box-shadow:none;
}

#citySearch::placeholder{
color:#9fb3c8;
}

#citySearch:focus{
border-color:#4ea1ff;
box-shadow:0 0 0 4px rgba(78,161,255,.14);
}

.city-search-hint{
padding:6px 2px;
color:#9fb3c8;
}

#cityResults{
max-height:320px;
overflow:auto;
padding-right:2px;
}

/* results */
.city-item{
padding:12px 14px;
border-radius:12px;
cursor:pointer;
border:1px solid transparent;
border-bottom:1px solid rgba(255,255,255,0.05);
background:transparent;
color:#e5e7eb;
transition:all .15s ease;
}

.city-item:hover{
background:#203a5c;
border-color:rgba(255,255,255,0.06);
}

.city-item.active{
background:#27476e;
border-color:rgba(124,196,255,0.22);
}

.city-item-name{
font-size:15px;
font-weight:700;
line-height:1.2;
color:#fff;
}

.city-item-meta{
margin-top:4px;
font-size:12px;
color:#9fb3c8;
}

.city-item-count{
display:inline-block;
margin-left:6px;
font-weight:700;
color:#7cc4ff;
}



.site-footer{
border-top:1px solid rgba(255,255,255,.08);
background:#06121e !important;
}

.site-footer{
border-top:1px solid rgba(255,255,255,.08);
background:#06121e !important;

padding-top:40px;
padding-bottom:40px;

margin-top:80px;
}

/* =========================
FOOTER
========================= */

.site-footer{
margin-top:60px;
background:#06121e;
border-top:1px solid rgba(255,255,255,.08);
font-size:14px;
}

.footer-container{
padding:35px 20px 25px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr;
gap:30px;
margin-bottom:25px;
}

.footer-logo-img{
height:30px;
width:auto;
margin-bottom:8px;
}

.footer-desc{
color:rgba(255,255,255,.7);
font-size:13px;
line-height:1.5;
max-width:260px;
}

.footer-title{
font-weight:700;
margin-bottom:8px;
color:#ffc107;
font-size:14px;
}

.footer-col{
display:flex;
flex-direction:column;
gap:4px;
}

.footer-link{
color:rgba(255,255,255,.75);
text-decoration:none;
font-size:13px;
transition:.15s;
}

.footer-link:hover{
color:#ffc107;
}

.footer-bottom{
display:flex;
justify-content:space-between;
align-items:center;
border-top:1px solid rgba(255,255,255,.08);
padding-top:15px;
}

.footer-copy{
font-size:13px;
color:rgba(255,255,255,.6);
}

.footer-install{
color:#ffc107;
text-decoration:none;
font-weight:600;
font-size:13px;
}

@media (max-width:800px){

.footer-grid{
grid-template-columns:1fr;
gap:20px;
}

.footer-bottom{
flex-direction:column;
gap:8px;
text-align:center;
}

}

.mobile-map-btn{
display:flex;
align-items:center;
justify-content:center;

width:36px;
height:36px;

border-radius:10px;

background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.10);

color:#fff;
text-decoration:none;

transition:.18s ease;
}

.mobile-map-btn i{
font-size:16px;
line-height:1;
}

.mobile-map-btn:hover{
background:rgba(255,255,255,.14);
}

.mobile-map-btn:active{
transform:scale(.96);
}






/* =====================================================
NEARBY PAGE – FINAL
===================================================== */

.nearby-page{
background:
radial-gradient(circle at top, rgba(33,69,112,.18), transparent 22%),
linear-gradient(180deg,#eef2f6 0%, #edf2f7 30%, #e9eef4 100%);
}

.nearby-hero{
position:relative;
overflow:visible;
padding:34px 0 34px;
background:radial-gradient(circle at 30% 20%, #203a5c 0%, #142c4a 40%, #0c1e33 100%);
border-bottom:1px solid rgba(255,255,255,.05);
min-height:auto;
}

.nearby-hero-bg{
position:absolute;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at 80% 10%, rgba(255,193,7,.10), transparent 30%),
radial-gradient(circle at 10% 90%, rgba(78,161,255,.08), transparent 28%);
}

.nearby-hero-inner{
position:relative;
z-index:2;
max-width:920px;
margin:0 auto;
text-align:center;
}

.nearby-hero-kicker{
display:inline-flex;
align-items:center;
gap:8px;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.12);
color:#fff;
padding:8px 14px;
border-radius:999px;
font-size:14px;
font-weight:700;
margin-bottom:16px;
}

.nearby-hero-title{
margin:0;
font-size:42px;
font-weight:900;
line-height:1.05;
color:#fff;
}

.nearby-hero-meta{
margin-top:14px;
display:flex;
justify-content:center;
align-items:center;
gap:10px;
flex-wrap:wrap;
font-size:15px;
font-weight:600;
color:#d7e2ef;
}

.nearby-hero-meta strong{
color:#fff;
font-weight:800;
}

.nearby-hero-dot{
opacity:.45;
}

.nearby-hero-subtitle{
margin:14px auto 0;
max-width:720px;
font-size:17px;
line-height:1.5;
color:#dbe4ef;
}

.nearby-hero-search-form{
margin-top:22px;
}

.nearby-hero-search-wrap{
position:relative;
max-width:720px;
margin:0 auto;
}

.nearby-hero-search-input{
width:100%;
height:56px;
padding:0 62px 0 18px;
border:none;
border-radius:999px;
font-size:16px;
background:#fff;
color:#111827;
box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.nearby-hero-search-input:focus{
outline:none;
box-shadow:0 0 0 3px rgba(255,193,7,.20), 0 18px 40px rgba(0,0,0,.22);
}

.nearby-hero-search-btn{
position:absolute;
right:6px;
top:6px;
width:44px;
height:44px;
border:none;
border-radius:50%;
background:#ffc107;
color:#111827;
font-size:18px;
font-weight:700;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
}

.nearby-hero-actions{
margin-top:16px;
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

.nearby-main-btn{
height:46px;
padding:0 18px;
border-radius:999px;
font-weight:800;
}

.nearby-hero-link-btn{
height:46px;
padding:0 18px;
border-radius:999px;
font-weight:800;
display:inline-flex;
align-items:center;
justify-content:center;
text-decoration:none;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.14);
color:#fff;
}

.nearby-hero-link-btn:hover{
background:rgba(255,255,255,.12);
color:#fff;
}

.nearby-container{
margin-top:22px;
margin-bottom:40px;
}

.nearby-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:18px;
}

.nearby-card{
background:linear-gradient(180deg,#11243f 0%, #07182e 100%);
border-radius:22px;
padding:16px;
box-shadow:0 10px 26px rgba(0,0,0,.12);
border:1px solid rgba(255,255,255,.06);
color:#fff;
min-width:0;
}

.nearby-card-top{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:12px;
margin-bottom:14px;
}

.nearby-station-brand{
display:flex;
gap:10px;
align-items:flex-start;
min-width:0;
flex:1;
}

.nearby-station-logo{
width:44px;
height:44px;
object-fit:contain;
background:#fff;
border-radius:12px;
padding:6px;
flex-shrink:0;
}

.nearby-station-main{
min-width:0;
flex:1;
}

.nearby-station-name a{
display:block;
font-size:17px;
font-weight:800;
color:#fff;
text-decoration:none;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.nearby-station-name a:hover{
color:#ffc107;
}

.nearby-station-address{
margin-top:4px;
font-size:13px;
line-height:1.35;
color:rgba(255,255,255,.72);
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
min-height:35px;
}

.nearby-distance{
flex-shrink:0;
background:rgba(255,193,7,.12);
color:#ffd75a;
border:1px solid rgba(255,193,7,.20);
padding:7px 10px;
border-radius:999px;
font-size:13px;
font-weight:800;
line-height:1;
white-space:nowrap;
}

.nearby-prices{
display:grid;
grid-template-columns:repeat(5,minmax(0,1fr));
gap:8px;
margin-bottom:14px;
}

.nearby-fuel{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.05);
border-radius:14px;
padding:10px 6px;
text-align:center;
min-width:0;
}

.nearby-fuel-name{
display:block;
font-size:11px;
font-weight:700;
line-height:1.15;
color:rgba(255,255,255,.68);
margin-bottom:6px;
min-height:26px;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;
}

.nearby-fuel strong{
display:block;
font-size:17px;
font-weight:800;
line-height:1.1;
color:#fff;
}

.nearby-fuel small{
display:block;
margin-top:5px;
font-size:11px;
color:rgba(255,255,255,.52);
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
}

.nearby-actions{
display:flex;
gap:8px;
flex-wrap:wrap;
}

.nearby-btn{
flex:1;
min-width:0;
display:inline-flex;
align-items:center;
justify-content:center;
gap:6px;
height:42px;
border-radius:14px;
font-size:14px;
font-weight:800;
text-decoration:none;
padding:0 12px;
}

.nearby-btn.btn-warning{
background:#ffc107;
border-color:#ffc107;
color:#111827;
}

.nearby-btn.btn-warning:hover{
background:#ffcd38;
border-color:#ffcd38;
color:#111827;
}

.nearby-btn-outline{
background:transparent;
border:1px solid rgba(255,193,7,.35);
color:#ffc107;
}

.nearby-btn-outline:hover{
background:rgba(255,193,7,.08);
color:#ffd75a;
}

.nearby-pagination-wrap{
margin-top:26px;
display:flex;
justify-content:center;
}

.nearby-pagination{
display:flex;
gap:8px;
flex-wrap:wrap;
align-items:center;
justify-content:center;
}

.nearby-page-btn,
.nearby-page-number{
min-width:42px;
height:42px;
padding:0 12px;
display:inline-flex;
align-items:center;
justify-content:center;
border-radius:12px;
text-decoration:none;
font-weight:800;
background:#fff;
border:1px solid #e5e7eb;
color:#1f2937;
box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.nearby-page-btn:hover,
.nearby-page-number:hover{
border-color:#ffc107;
color:#ff9800;
}

.nearby-page-number.active{
background:#ffc107;
border-color:#ffc107;
color:#111827;
}

.nearby-empty-box{
max-width:560px;
margin:0 auto;
text-align:center;
background:#fff;
border-radius:22px;
padding:32px 24px;
box-shadow:0 14px 32px rgba(0,0,0,.08);
border:1px solid #e8edf3;
}

.nearby-empty-results h5{
font-size:22px;
font-weight:800;
margin-bottom:8px;
color:#0f172a;
}

.nearby-empty-results p{
color:#64748b;
margin-bottom:0;
}

@media (min-width:1500px){
.nearby-grid{
grid-template-columns:repeat(4,minmax(0,1fr));
}
}

@media (max-width:1100px){
.nearby-grid{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width:767px){
.nearby-hero{
padding:26px 0 22px;
}

.nearby-hero-title{
font-size:28px;
}

.nearby-hero-meta{
font-size:13px;
gap:8px;
}

.nearby-hero-subtitle{
font-size:15px;
}

.nearby-hero-search-input{
height:52px;
font-size:15px;
}

.nearby-grid{
grid-template-columns:1fr;
gap:14px;
}

.nearby-card{
padding:14px;
border-radius:18px;
}

.nearby-station-name a{
font-size:16px;
}

.nearby-prices{
grid-template-columns:repeat(5,minmax(0,1fr));
gap:6px;
}

.nearby-fuel{
padding:8px 4px;
border-radius:12px;
}

.nearby-fuel-name{
font-size:10px;
min-height:22px;
}

.nearby-fuel strong{
font-size:15px;
}

.nearby-fuel small{
font-size:10px;
}

.nearby-actions{
flex-direction:column;
gap:10px;
}

.nearby-btn,
.nearby-btn-main{
width:100%;
height:48px;
font-size:15px;
border-radius:16px;
}

.nearby-main-btn{
width:100%;
max-width:320px;
height:48px;
font-size:15px;
}

.nearby-hero-link-btn{
width:100%;
max-width:320px;
height:48px;
font-size:15px;
border-radius:16px;
}
}

@media (max-width:520px){
.nearby-prices{
grid-template-columns:repeat(3,minmax(0,1fr));
}
}

/* =====================================================
NEARBY PAGE – BACKGROUND FIX
===================================================== */

body.nearby-page{
background:
radial-gradient(circle at 20% 0%, rgba(57,102,154,.18), transparent 28%),
radial-gradient(circle at 80% 8%, rgba(255,193,7,.08), transparent 20%),
linear-gradient(180deg,#0c1e33 0px, #173250 420px, #eef2f6 421px, #e9eef4 100%);
background-repeat:no-repeat;
background-color:#e9eef4;
}

body.nearby-page .site-wrapper{
background:transparent;
}

body.nearby-page .nearby-hero{
margin-bottom:0;
}

body.nearby-page .nearby-container{
position:relative;
z-index:2;
}

body.nearby-page .nearby-summary-wrap{
position:relative;
z-index:2;
}

/* =====================================================
NEARBY PAGE – FINAL BACKGROUND FIX
===================================================== */

body.nearby-page{
background:
radial-gradient(circle at 30% 20%, #203a5c 0%, #142c4a 40%, #0c1e33 100%) !important;
color:#fff;
}

body.nearby-page .site-wrapper{
background:transparent !important;
}

body.nearby-page .nearby-container{
background:transparent !important;
}

/* =========================
DESKTOP DROPDOWNS PRO
========================= */

.user-dropdown-menu,
.notif-dropdown{
    background: linear-gradient(180deg, rgba(10,25,43,.96) 0%, rgba(7,18,31,.98) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 30px 70px rgba(0,0,0,.55);
    backdrop-filter: blur(14px);
    overflow: hidden;
    animation: dropdownFadeIn .18s ease;
}

@keyframes dropdownFadeIn{
    from{
        opacity:0;
        transform:translateY(8px) scale(.97);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* =========================
USER DROPDOWN
========================= */

.user-dropdown-trigger{
    display:flex !important;
    align-items:center;
    gap:10px;
    padding:10px 14px !important;
    border-radius:999px;
    transition:.2s ease;
}

.user-dropdown-trigger:hover{
    background:rgba(255,255,255,.05);
}

.user-trigger-avatar{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,193,7,.12);
    color:#ffc107;
    font-size:16px;
}

.user-trigger-name{
    font-weight:600;
    color:#fff;
}

.user-dropdown-menu{
    width:320px;
    margin-top:14px !important;
}

.user-dropdown-top{
    display:flex;
    align-items:center;
    gap:14px;
    padding:18px 18px 16px;
    background:
        radial-gradient(circle at top right, rgba(255,193,7,.12), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 100%);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.user-dropdown-avatar{
    width:46px;
    height:46px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,193,7,.12);
    color:#ffc107;
    font-size:20px;
    box-shadow: inset 0 0 0 1px rgba(255,193,7,.14);
}

.user-dropdown-username{
    color:#fff;
    font-weight:700;
    font-size:15px;
    line-height:1.1;
}

.user-dropdown-sub{
    color:#9fb3c8;
    font-size:12px;
    margin-top:4px;
}

.user-dropdown-section{
    padding:10px 8px;
}

.user-dropdown-label{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:rgba(255,255,255,.35);
    padding:0 10px 8px;
    font-weight:700;
}

.user-dropdown-divider{
    height:1px;
    background:rgba(255,255,255,.06);
    margin:0 12px;
}

.user-dropdown-item{
    display:flex;
    align-items:center;
    gap:12px;
    border-radius:14px;
    color:rgba(255,255,255,.88);
    font-size:14px;
    padding:11px 12px;
    margin:2px 0;
    transition:.18s ease;
}

.user-dropdown-item i{
    width:18px;
    text-align:center;
    color:#9fb3c8;
    transition:.18s ease;
}

.user-dropdown-item:hover{
    background:rgba(255,193,7,.08);
    color:#ffc107;
    transform:translateX(4px);
}

.user-dropdown-item:hover i{
    color:#ffc107;
}

.user-dropdown-item-danger{
    color:#ff8e8e !important;
}

.user-dropdown-item-danger i{
    color:#ff8e8e !important;
}

.user-dropdown-item-danger:hover{
    background:rgba(255,80,80,.08);
    color:#ffb0b0 !important;
}

.user-dropdown-item-danger:hover i{
    color:#ffb0b0 !important;
}

/* =========================
NOTIFICATION DROPDOWN
========================= */

.notif-dropdown{
    position:absolute !important;
    top:calc(100% + 10px);
    right:-10px;
    width:380px;
    height:auto;
    max-height:560px;
    display:none;
    flex-direction:column;
    overflow:hidden !important;
    padding:0 !important;

    background:linear-gradient(180deg, #0f2136 0%, #0b1a2b 100%) !important;
    background-color:#0b1a2b !important;
    border:1px solid rgba(255,255,255,.07) !important;
    border-radius:22px !important;
    box-shadow:0 18px 44px rgba(0,0,0,.35) !important;
    z-index:999999 !important;

    --bs-dropdown-bg: transparent !important;
    --bs-dropdown-border-color: transparent !important;
    --bs-dropdown-padding-y: 0 !important;
    --bs-dropdown-spacer: 0 !important;
}

.notif-dropdown-top{
    padding:18px 18px 14px;
    border-bottom:1px solid rgba(255,255,255,.06);
    background:
        radial-gradient(circle at top right, rgba(255,193,7,.10), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 100%);
    flex:0 0 auto;
}

.notif-dropdown-title{
    font-size:16px;
    font-weight:700;
    color:#fff;
    line-height:1.1;
}

.notif-dropdown-sub{
    font-size:12px;
    color:#9fb3c8;
    margin-top:5px;
}

.notif-dropdown-list{
    flex:1 1 auto;
    min-height:0;
    max-height:420px;
    overflow-y:auto;
    overflow-x:hidden;
    padding:8px;
    background:transparent !important;
}

.notif-item{
    display:block;
    border-radius:16px;
    padding:12px;
    margin-bottom:6px;
    transition:.18s ease;
    cursor:pointer;
    border:1px solid transparent;
    background:transparent !important;
}

.notif-item:hover{
    background:rgba(255,193,7,.08) !important;
    border-color:rgba(255,193,7,.12);
    transform:translateY(-1px);
}

.notif-item.fw-bold{
    background:rgba(255,255,255,.04) !important;
    border-color:rgba(255,255,255,.08);
}

.notif-day{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:rgba(255,255,255,.35) !important;
    padding:8px 8px 10px !important;
    background:transparent !important;
    border:none !important;
}

.notif-title{
    color:#fff !important;
    font-weight:700;
    font-size:13px;
    margin-bottom:4px;
    line-height:1.35;
}

.notif-text{
    color:#b8c7d8 !important;
    font-size:12px;
    line-height:1.45;
    margin-top:2px;
}

.notif-time{
    color:#7f95ad !important;
    font-size:11px;
    margin-top:7px;
}

.notif-dropdown-footer{
    flex:0 0 auto;
    padding:12px;
    border-top:1px solid rgba(255,255,255,.06);
    background:linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.01) 100%) !important;
}

.notif-dropdown-more{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    border-radius:14px;
    text-decoration:none;
    color:#fff;
    font-weight:600;
    background:rgba(255,193,7,.08);
    border:1px solid rgba(255,193,7,.14);
    transition:.18s ease;
}

.notif-dropdown-more:hover{
    background:rgba(255,193,7,.14);
    border-color:rgba(255,193,7,.28);
    color:#ffc107;
}
/* =========================
GENERAL DROPDOWN FIX
========================= */

.dropdown-menu:not(.notif-dropdown):not(.user-dropdown-menu) .dropdown-item{
    border:none;
}

.dropdown-menu:not(.notif-dropdown):not(.user-dropdown-menu) .dropdown-item:active{
    background:rgba(255,193,7,.16);
    color:#ffc107;
}

/* =========================
RESPONSIVE DESKTOP ONLY
========================= */

@media(max-width:991.98px){
    .user-dropdown-menu,
    .notif-dropdown{
        width:100%;
        min-width:unset;
    }
}

/* =========================
MOBILE ADMIN BUTTON
========================= */

.mobile-admin-btn{
display:inline-flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
border-radius:12px;
text-decoration:none;
color:#fff;
background:rgba(255,255,255,.06);
border:1px solid rgba(255,255,255,.08);
transition:.18s ease;
backdrop-filter:blur(8px);
}

.mobile-admin-btn i{
font-size:18px;
line-height:1;
}

.mobile-admin-btn:hover{
color:#ffc107;
background:rgba(255,193,7,.10);
border-color:rgba(255,193,7,.24);
transform:translateY(-1px);
}

.mobile-admin-btn:active{
transform:translateY(0);
}

/* =========================
MOBILE LOGO BETA OVERLAY
========================= */

@media(max-width:480px){

.app-logo{
position:relative;
display:flex;
align-items:center;
}

.app-logo a{
position:relative;
display:inline-block;
}

/* logo trochę mniejsze */
.app-logo img{
height:34px;
}

/* BETA jako sticker */
.app-logo .badge{
position:absolute;
top:-6px;
right:-12px;

margin:0 !important;
padding:3px 6px;

font-size:9px;
font-weight:700;

background:#ffc107;
color:#000;

border-radius:6px;
box-shadow:0 4px 10px rgba(0,0,0,.35);

transform:rotate(-10deg);
}

/* ultra małe ekrany */
@media(max-width:380px){

.app-logo img{
height:30px;
}

.app-logo .badge{
top:-5px;
right:-10px;
font-size:8px;
padding:2px 5px;
}

}

}

/* =========================
COOKIE BANNER
========================= */

.cookie-banner{
    position:fixed;
    left:20px;
    right:20px;
    bottom:20px;
    z-index:99999;
    justify-content:center;
    pointer-events:none;
}

.cookie-banner.show{
    display:flex !important;
}

.cookie-box{
    width:100%;
    max-width:760px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:16px 18px;
    border-radius:20px;
    background:linear-gradient(180deg, rgba(13,24,38,.98) 0%, rgba(8,16,28,.99) 100%);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.03);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    pointer-events:auto;
    position:relative;
    overflow:hidden;
}

.cookie-box::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top left, rgba(255,193,7,.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255,193,7,.07), transparent 32%);
    pointer-events:none;
}

.cookie-text,
.cookie-actions{
    position:relative;
    z-index:1;
}

.cookie-text{
    flex:1;
    min-width:0;
}

.cookie-title{
    color:#fff;
    font-size:15px;
    font-weight:800;
    margin-bottom:4px;
    line-height:1.2;
}

.cookie-desc{
    color:rgba(255,255,255,.72);
    font-size:13px;
    line-height:1.45;
}

.cookie-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.cookie-btn{
    border:none;
    outline:none;
    border-radius:14px;
    padding:11px 16px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
    white-space:nowrap;
}

.cookie-btn-main{
    background:#ffc107;
    color:#111;
    box-shadow:0 10px 24px rgba(255,193,7,.16);
}

.cookie-btn-main:hover{
    background:#ffb300;
    transform:translateY(-1px);
}

.cookie-btn-ghost{
    background:rgba(255,255,255,.04);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);
}

.cookie-btn-ghost:hover{
    color:#ffc107;
    border-color:rgba(255,193,7,.4);
    background:rgba(255,193,7,.06);
    transform:translateY(-1px);
}

@media (max-width: 768px){
    .cookie-banner{
        left:12px;
        right:12px;
        bottom:12px;
    }

    .cookie-box{
        flex-direction:column;
        align-items:stretch;
        gap:14px;
        padding:16px;
        border-radius:18px;
    }

    .cookie-title{
        font-size:14px;
    }

    .cookie-desc{
        font-size:12.5px;
    }

    .cookie-actions{
        width:100%;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .cookie-btn{
        width:100%;
        padding:11px 12px;
    }
}

.search-dropdown{
    overscroll-behavior: contain;
}

/* =========================
GOOGLE FIRST LOGIN MODAL FIX
========================= */

@media (max-width:768px){

.modal-dialog{
    margin: 10px;
    max-width: calc(100% - 20px);
}

.modal-content{
    max-height: 90vh;
    overflow: hidden;
    border-radius: 16px;
}

/* KLUCZOWE */
.modal-body{
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* input + button spacing */
.modal-body .form-control{
    height: 48px;
    font-size: 15px;
}

.modal-body .btn{
    height: 48px;
    font-size: 15px;
    border-radius: 12px;
}

}

.footer-actions{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
}

.footer-install{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:12px;
    background:rgba(255,193,7,.12);
    border:1px solid rgba(255,193,7,.22);
    color:#ffd76a;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    transition:.2s;
}

.footer-install:hover{
    background:rgba(255,193,7,.2);
    color:#fff;
}

.footer-help{
    font-size:13px;
    color:#9fb3c8;
    text-decoration:none;
}

.footer-help:hover{
    color:#fff;
}