/* Základné štýly */
:root {
    --primary: #0074D9;
    --primary-dark: #0062b3;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #E8EAEC;
    --bg-light: #F2F4F5;
    --bg-white: #fff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Reddit font */
    --font-family: "IBM Plex Sans", "Noto Sans", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    min-height: 50px;
}

.navbar .container {
    padding: 0.15rem 1rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    transition: transform 0.2s;
}

.navbar-brand span {
    font-size: 1.4rem;
    color: #333;
    font-weight: 700;
    transition: color 0.2s;
}

.navbar-brand:hover span {
    color: var(--primary);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Category Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 0;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 1rem 0;
    }
}

.category-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-link {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.category-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.category-box h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
}

.sidebar .card {
    border: 1px solid var(--border-color);
}

.sidebar .card-header {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.sidebar .card-header h5 {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.sidebar .list-group-item:last-child {
    border-bottom: none;
}

.sidebar .list-group-item:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.sidebar .list-group-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
}

.sidebar .list-group-item.active {
    background-color: var(--primary);
    color: var(--bg-white);
}

.sidebar .list-group-item.active i {
    color: var(--bg-white);
}

.sidebar .list-group-item.subcategory {
    padding-left: 2.5rem;
    font-size: 0.9rem;
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.listing-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.listing-link {
    text-decoration: none;
    color: var(--text-dark);
}

.listing-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-content {
    padding: 1.5rem;
}

.listing-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.listing-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Styles for image container */
.main-image-container {
    position: relative;
}

.main-image-container img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
}

/* Thumbnail styles - using global .nav-btn styles defined above */

/* Responsive */
@media (max-width: 768px) {
    /* Upravia sa tlačidlá v mobilnej verzii */
    .add-listing-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Zabezpečenie viditeľnosti vyhľadávacej lišty */
    .bazos-search-bar {
        display: block !important;
        padding: 8px 0 !important;
        visibility: visible !important;
        height: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
    
    .bazos-search-container {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .bazos-search-category,
    .bazos-search-input,
    .bazos-search-price,
    .bazos-search-button {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .bazos-search-button button {
        width: 100%;
    }
    
    /* Zabezpečenie viditeľnosti textu vedľa loga */
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
    }
    
    .navbar-brand span {
        display: inline-block !important;
        font-size: 1.2rem !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .navbar-brand img {
        height: 34px !important;
        margin-right: 8px !important;
    }
    
    /* Ďalšie responzívne úpravy pre mobilné zariadenia */
    .col-md-3 .sidebar {
        display: none;
    }
    
    .row .col-md-9 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .listing-row {
        grid-template-columns: 80px 1fr;
        gap: 10px;
        padding: 10px 0;
    }

    .listing-row.header {
        display: none;
    }

    .listing-image-cell img {
        width: 70px;
        height: 52px;
    }

    .listing-price-cell,
    .listing-location-cell,
    .listing-date-cell {
        grid-column: 2;
        padding: 2px 0;
    }

    .listing-title-cell {
        grid-column: 2;
    }

    .listing-description {
        display: none;
    }

    /* Kategórie na úvodnej stránke - dve vedľa seba */
    .category-grid,
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 1rem 0;
    }
    
    .category-box {
        padding: 1rem;
    }
    
    .category-box h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .listing-image {
        height: 120px;
    }
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
}

.search-container {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input-wrapper,
.search-category-wrapper {
    position: relative;
    background: #f5f5f5;
    border-radius: 4px;
    flex: 1;
}

.search-input-wrapper .search-icon,
.search-category-wrapper .search-category-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
}

.search-input:focus {
    outline: none;
    background: #ebebeb;
}

.search-category {
    width: 100%;
    padding: 0.8rem 2rem 0.8rem 2.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
}

.search-category:focus {
    outline: none;
    background: #ebebeb;
}

.search-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #0062b8;
}

/* Compact search for category pages */
.search-form-compact {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.search-container-compact {
    position: relative;
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-container-compact .search-input {
    padding-right: 3rem;
}

.search-button-compact {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: transparent;
    border: none;
    padding: 0 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.search-button-compact:hover {
    color: #0062b8;
}

/* Category page header */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-header h1 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.listing-count {
    color: #666;
    font-size: 0.875rem;
}

/* Kategórie na úvodnej stránke */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.category-box {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #E8EAEC;
    transition: all 0.15s ease;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.category-box:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.category-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
}

.category-box img {
    width: 64px;
    height: 64px;
    margin-bottom: 0.75rem;
    object-fit: contain;
}

.category-box h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.category-box h3 a:hover {
    color: var(--primary-color);
}

.subcategory-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 2;
    display: inline-block;
    transition: color 0.2s, transform 0.2s;
}

.subcategory-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Inzeráty */
.latest-listings {
    margin-top: 30px;
}

.latest-listings h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #337ab7;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.listing-box {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.listing-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.listing-image {
    height: 150px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-info {
    padding: 10px;
}

.listing-info h4 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.listing-info h4 a {
    color: #337ab7;
    text-decoration: none;
}

.listing-price {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
    margin: 5px 0;
}

.listing-location, .listing-date {
    color: #666;
    font-size: 12px;
    margin: 2px 0;
}

/* Formuláre */
.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    border: none;
    background-color: var(--brand-green);
    color: white;
}

.btn {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    transition: all 0.15s ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    border: none;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: white;
}

/* Vyhľadávanie */
.search-container {
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Obrázky v detaile inzerátu */
.main-image-container {
    position: relative;
}

.main-image-container img {
    max-height: 500px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    color: white;
    font-size: 18px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}

.nav-btn i {
    font-size: 1.25rem;
    line-height: 1;
}

.image-thumbnails {
    padding: 10px 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-img:hover {
    border-color: var(--primary);
}

.thumbnail-img.active {
    border-color: var(--primary);
    border-width: 3px;
}

/* Stránka kategórie */
.category-page {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.category-header h1 {
    font-size: 1.875rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Tabuľka inzerátov */
.listings-table {
    width: 100%;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.listing-card {
    background: var(--surface-color);
    border: 1px solid #E8EAEC;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.listing-image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.listing-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.listing-price {
    color: var(--accent);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.listing-meta {
    margin-top: auto;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8125rem;
    color: #6F7B88;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-row:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.listing-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.listing-row.header {
    font-weight: 600;
    background: var(--background-color);
    padding: 1rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.listing-image-cell img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--glass-border);
}

.listing-image-cell img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.listing-title-cell a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.listing-title-cell a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.listing-title-cell a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.listing-title-cell a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.listing-title-cell a:hover {
    color: var(--primary-hover);
}

.listing-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.listing-price-cell {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.125rem;
}

.listing-location-cell,
.listing-date-cell {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
}

p, .text-normal {
    font-family: var(--font-family);
}

button, .btn, input, select, textarea {
    font-family: var(--font-family);
}

.card-title {
    font-family: var(--font-family);
}

.card-text {
    font-family: var(--font-family);
}

.navbar-brand {
    font-family: var(--font-family);
}

.nav-link {
    font-family: var(--font-family);
}

.dropdown-item {
    font-family: var(--font-family);
}

.small-text {
    font-family: var(--font-family);
}

/* Zarovnanie výšky výpisu inzerátov so sidebarom */
.sidebar-equal-height {
    margin-top: -1rem; /* Kompenzácia margin-bottom sidebaru */
    padding-top: 0;
}

/* Bazos.sk štýl vyhľadávací panel */
.bazos-search-bar {
    background-color: #4a90e2;
    padding: 8px 0;
    border-bottom: 1px solid #3a80d2;
}

.bazos-search-form {
    width: 100%;
}

.bazos-search-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bazos-search-category,
.bazos-search-input {
    flex: 1.2;
}

.bazos-search-price {
    flex: 1.5;
}

.bazos-search-price input {
    width: 42%;
    height: 32px;
    padding: 0 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.bazos-search-price span {
    font-size: 13px;
}

.bazos-search-button {
    flex: 0 0 auto;
}

.bazos-search-button button {
    height: 32px;
    padding: 0 16px;
    border: none;
    border-radius: 4px;
    background-color: #ffb300;
    color: black;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bazos-search-button button:hover {
    background-color: #ffa000;
}

/* Extra malé tlačidlá pre akcie v tabuľkách */
.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.btn-xs i {
    font-size: 0.875rem;
}

/* Akčné tlačidlá s rovnakou výškou */
.action-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    margin: 0;
    line-height: 1;
}

.action-btn i {
    font-size: 1rem;
    line-height: 1;
}

.action-btn.btn-xs {
    min-width: 30px;
    min-height: 30px;
}

/* Zabezpečenie viditeľnosti tlačidiel v tabuľke "Moje inzeráty" */
.table td .btn,
.table td .btn-primary,
.table td .btn-warning,
.table td .btn-danger {
    opacity: 1 !important;
    visibility: visible !important;
    border-width: 2px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Výraznejšie farby pre tlačidlá */
.table td .btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}

.table td .btn-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000 !important;
}

.table td .btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

/* Tlačidlo Pridať inzerát */
.add-listing-btn {
    background-color: #ffb300;
    color: #000;
    border: none;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.add-listing-btn:hover {
    background-color: #ffa000;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.add-listing-btn i {
    font-size: 1rem;
}

.bazos-search-button {
    flex: 0 0 auto;
}

.bazos-search-category select {
    width: 100%;
    height: 32px;
    padding: 0 30px 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 13px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}

.bazos-search-input input {
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

/* Odstránenie podčiarknutia v inzerátoch - globálne pravidlá s najvyššou prioritou */
.listing-item-link,
.listing-item-link:hover,
.listing-item-link:focus,
.listing-item-link:active,
.listing-item-link:visited {
    text-decoration: none !important;
}

.listing-item-link *,
.listing-item-link:hover *,
.listing-item-link:focus *,
.listing-item-link:active *,
.listing-item-link:visited * {
    text-decoration: none !important;
}

.listing-row-title,
.listing-row-description,
.listing-row-meta,
.listing-row-price,
.listing-row-location,
.listing-row-date {
    text-decoration: none !important;
}

/* Kurzor v inzerátoch - najvyššia špecificita */
div.listing-row-item.clickable-card,
div.listing-row-item.clickable-card:hover,
div.listing-row-item.clickable-card *,
div.listing-row-item.clickable-card *:hover {
    cursor: pointer !important;
}

/* Responzívne úpravy pre mobilné zariadenia */
@media (max-width: 768px) {
    /* Upravia sa tlačidlá v mobilnej verzii */
    .add-listing-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Zabezpečenie viditeľnosti vyhľadávacej lišty */
    .bazos-search-bar {
        display: block !important;
        padding: 8px 0 !important;
        visibility: visible !important;
        height: auto !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
    
    .bazos-search-container {
        flex-direction: column;
        gap: 8px !important;
    }
    
    .bazos-search-category,
    .bazos-search-input,
    .bazos-search-price,
    .bazos-search-button {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .bazos-search-button button {
        width: 100%;
    }
}

