/* Sfondi bazė i navbar-it: i ēelėt majtas (pėr logon), i errėt djathtas (pėr menunė) */
.navbar-custom {
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.45) 28%,
        rgba(18, 20, 26, 0.72) 60%,
        rgba(10, 12, 16, 0.88) 100%
    );
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: none;
    transition: all 0.4s ease;
    padding: 4px 0 !important;
    z-index: 1050;
}

/* Gjendja kur bėhet scroll */
.navbar-custom.navbar-scrolled {
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(15, 17, 22, 0.88) 35%,
        rgba(10, 12, 16, 0.95) 100%
    );
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Logoja */
.navbar-custom .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    flex-shrink: 0;
}

.navbar-custom .navbar-brand img {
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.navbar-custom .navbar-brand:hover img {
    transform: scale(1.02);
}

/* Butoni i gjuhės (ndodhet majtas mbi zonėn e bardhė -> tekst i errėt si pilulė) */
.navbar-custom .language-dropdown > .nav-link {
    color: #1a1d20 !important;
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 40rem;
    padding: 5px 8px !important;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.navbar-custom .language-dropdown > .nav-link:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Kur bėhet scroll, e majta errėsohet -> butoni i gjuhės pėrshtatet */
.navbar-custom.navbar-scrolled .language-dropdown > .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Linket kryesore nė qendėr */
.navbar-custom .navbar-nav .nav-link {
    color: #ffc107 !important;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    padding: 8px 14px;
    border-radius: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .navbar-nav .nav-link.show {
    color: #ffffff !important;
    background: rgba(255, 193, 7, 0.15);
}

/* Dropdown-et brenda navbar-it (pėrfshirė menunė e anėtarit) */
.navbar-custom .dropdown-menu {
    z-index: 1090;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    border-radius: 12px;
    padding: 8px;
}

.navbar-custom #memberDropdown + .dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-custom #memberDropdown + .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 193, 7, 0.16);
    color: #000000;
}

.navbar-custom #memberDropdown + .dropdown-menu .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.12);
    color: #dc3545 !important;
}

/* Butoni Login / Logout djathtas */
.navbar-custom .btn-auth {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-weight: 500;
    transition: all 0.25s ease;
}

.navbar-custom .btn-auth:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

/* Butoni kryesor Dėrgo Njoftim (.btn-custom) */
.navbar-custom .btn-custom {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #111317 !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.28);
    transition: all 0.25s ease;
}

.navbar-custom .btn-custom:hover {
    background: linear-gradient(135deg, #ffd03b 0%, #ffa726 100%);
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 152, 0, 0.42);
}

/* Butoni Hamburger: fshehur nė desktop */
.navbar-custom .navbar-toggler {
    display: none !important;
}

/* Kur menuja hapet ose jemi nė ekran tė vogėl (mobile) */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 50px;
        height: 42px;
        margin-left: 6px;
        padding: 0;
        background: rgba(15, 17, 22, 0.88) !important;
        border: 1px solid rgba(255, 193, 7, 0.45) !important;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

    .navbar-custom .navbar-toggler:hover,
    .navbar-custom .navbar-toggler:focus {
        background: rgba(255, 193, 7, 0.18) !important;
        border-color: #ffc107 !important;
    }

    .navbar-custom .navbar-toggler-icon {
        width: 32px;
        height: 32px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 193, 7, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-custom .navbar-collapse {
        background: rgba(15, 17, 22, 0.96);
        margin-top: 3px;
        padding: 4px;
        border-radius: 10px;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-custom .navbar-collapse.show {
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .navbar-custom .navbar-nav .nav-link {
        padding: 5px 5px;
    }
}

body {
    padding-top: 58px;
}









/* =========================
   HERO SECTION
========================= */

        .hero-section {
            background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
            padding: 60px 0;
            text-align: center;
            border-bottom: 3px solid #007bff;
        }
        .hero-section h1 {
            font-weight: 600;
            color: #333;
        }
        .search-bar {
            max-width: 500px;
            margin: auto;
            border-radius: 30px;
            padding: 10px 15px;
            border: 1px solid #ddd;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
        }
        .ads-section {
            padding: 40px 0;
        }
        .card-ad {
            border: none;
            border-radius: 10px;
            transition: transform 0.2s ease;
        }
        .card-ad:hover {
            transform: scale(1.02);
        }
        .footer {
            background: #ffffff;
            padding: 20px 0;
            text-align: center;
            font-size: 14px;
            color: #666;
            border-top: 1px solid #ddd;
        }
        
        .navbar-toggler {
	    width: 40px; /* Imposta una larghezza fissa in pixel */
}






    /* Navbar generale menu */
    .navbar-light {
        background-color: #f8f9fa !important;
    }
    .navbar-brand {
        color: #212529 !important;
        font-weight: bold;
        transition: color 0.3s;
    }
    .navbar-brand:hover {
        color: #0d6efd !important;
    }
    .nav-link {
        color: #212529 !important;
        transition: color 0.3s;
    }
    .nav-link:hover {
        color: #0d6efd !important;
    }

    /* Dropdown */
    .dropdown-menu {
        min-width: 200px;
        border-radius: 8px;
        background-color: #ffffff;
    }
    .dropdown-item {
        padding: 8px 15px;
        color: #212529 !important;
        transition: background-color 0.3s, color 0.3s;
    }
    .dropdown-item:hover {
        background-color: #f8f9fa !important;
        color: #0d6efd !important;
    }

    /* Sottomenu */
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -8px;
        border-radius: 8px;
    }
    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }

    /* Frecce */
    .dropdown-toggle i {
        margin-left: 8px;
        font-size: 12px;
        vertical-align: middle;
        color: #6c757d; /* Grigio per le frecce */
    }


    
        
        
       
       
        /* Ridurre il padding del container su mobile */
        @media (max-width: 767.98px) {
            .container {
                padding-left: 2px; /* Riduci padding a sinistra */
                padding-right: 2px; /* Riduci padding a destra */
            }
        }       
        
        
        
/* Uniforma le dimensioni di input, select e button */
form select, form input, form button {
    border-radius: 8px; /* Bordi arrotondati per tutti gli elementi */
    padding: 5px; /* Spazio interno per migliorare l'aspetto */
    height: 45px; /* Imposta un'altezza fissa per uniformare tutti gli elementi */
    width: auto; /* ndryshojm  nga 100% n  auto */
}

/* Rendi le select della stessa altezza degli input di testo */
.form-select {
    height: 48px; /* Imposta l'altezza per uniformarla a quella degli input */
}

/* Rendi gli input di ricerca e i button dello stesso stile */
.form-control, .form-select {
    border-radius: 8px; /* Applica bordi arrotondati */
    padding: 10px; /* Imposta un padding uniforme */
}

/* Personalizzazione bottone */
button {
    height: 48px; /* Stessa altezza degli input */
    border-radius: 8px; /* Bordi arrotondati anche per il bottone */
}

/* Personalizzazione bottone */
.btn-custom {
    background-color: #4CAF50;
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
}

.btn-custom:hover {
    background-color: #45a049;
}

/* Margini uniformi tra gli elementi */
form .mb-3 {
    margin-bottom: 16px; /* Uniforma la distanza tra gli elementi */
}

@media (max-width: 767px) {
    /* Assicurati che tutto occupi il 100% della larghezza su schermi piccoli */
    .form-control, .form-select, button {
        width: 100%;
    }
}

        
        
      

.premium-badge {
    position: absolute;
    top: 3px;
    left: 3px; /* Pa vlera negative qė tė mos pritet */
    background: rgba(40, 167, 69, 0.65);
    color: white;
    padding: 3px 5px;
    font-size: 0.60rem;
    font-weight: bold;
    z-index: 3;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Stili bazė pėr pozicionimin dhe madhėsinė kompakte mbi foto */
.pro-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    padding: 2px 6px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Pika e vogėl treguese brenda badge-it */
.badge-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    display: inline-block;
}




/* === style postlist === */
 /* Stilim universal */
 .ui-autocomplete, .ui-autocomplete li {
     box-sizing: border-box;
 }
 @media (min-width: 768px) {
     .ui-autocomplete { position: absolute; top:100%; left:0; right:0; max-height:200px; max-width:500px; overflow-y:auto; background:#f8f9fa; border:1px solid #ced4da; border-radius:4px; width:100%; z-index:9999; }
     .ui-autocomplete li { padding:1px 2px; font-size:13px; border-bottom:1px solid #e9ecef; cursor:pointer; }
     .ui-autocomplete li:last-child { border-bottom:none; }
     .ui-autocomplete li:hover { background:#f1f3f5; }
 }
 @media (max-width: 767px) {
     .ui-autocomplete { position:absolute !important; top:calc(100% + 2px); left:0; right:0; width:85% !important; margin:0 auto; background:#f8f9fa; border:1px solid #ced4da; border-radius:4px; max-height:250px; overflow-y:auto; z-index:1055; }
     .ui-autocomplete li { font-size:14px; padding:2px 4px; border-bottom:1px solid #e9ecef; cursor:pointer; }
     .ui-autocomplete li:last-child { border-bottom:none; }
     .ui-autocomplete li:hover { background:#f1f3f5; }
 }
 
 
 
 

/* === MODAL QYTETE & ZONA MODERN UPDATED === */
#zone_modal{position:fixed;inset:0;display:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;z-index:10000}
#zone_modal_backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);display:none;z-index:10001;transition:opacity .2s}
#zone_modal_content{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;width:90%;max-width:480px;border-radius:12px;box-shadow:0 12px 36px rgba(0,0,0,.25);display:flex;flex-direction:column;overflow:hidden;z-index:10002;max-height:90vh}
#zone_modal_header{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid #eee;background:#f9f9f9;position:relative}
#zone_modal_header h2{margin:0;font-size:18px;font-weight:600;color:#333}
#zone_modal_close{position:absolute;padding-top:20px;bottom:0px;right:16px;background:none;border:none;font-size:22px;cursor:pointer;color:#000;transition:color .2s}
#zone_modal_close:hover{color:#000}
#zone_modal_body{flex:1;padding:12px 16px;display:flex;flex-direction:column;gap:8px;overflow-y:auto}
.zone-item{display:flex;align-items:center;gap:12px;padding:6px 10px;border-radius:8px;transition:background .2s}
.zone-item:hover{background:#f2f2f2}
.zone-item input[type="checkbox"]{width:18px;height:18px;cursor:pointer}
.zone-item label{cursor:pointer;font-size:14px;color:#333}
#zone_modal_footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #eee;background:#f9f9f9}
#zone_modal_footer .btn{padding:6px 14px;border-radius:8px;font-size:14px;cursor:pointer;border:1px solid #ccc;background:#f0f0f0;color:#333;transition:background .2s,color .2s}
#zone_modal_footer .btn:hover{background:#e0e0e0}
#zone_modal_footer .btn-primary{background:#007bff;color:#fff;border-color:#007bff}
#zone_modal_footer .btn-primary:hover{background:#0056b3;border-color:#0056b3}
.no-zones{color:#666;font-size:14px;text-align:center;padding:8px 0}
#select_zone{position:absolute;left:-9999px}
#open_zone_modal {
  display: none;          /* i fshehur ne fillim */
  white-space: nowrap;    /* nje linje e vetme */
  overflow: hidden;       /* fsheh pjesen e tepert */
  text-overflow: ellipsis; /* shfaqe kur mbushet */
  max-width: 100%;        /* te mos kaloje container-in */
  transition: background-color 0.3s, color 0.3s; /* per ngjyrosje smooth */
}

/* MOBILE FULLSCREEN */
@media(max-width:768px){
  #zone_modal_content{width:100%;height:100%;max-width:none;border-radius:0;top:0;left:0;transform:none}
  #zone_modal_body{max-height:calc(100vh - 100px)}
  #zone_modal_close{bottom:16px;right:16px} /* X ne fund djathas */
}






html, body {
    max-width: 100vw;
    overflow-x: hidden;
}
