/* Licni Oglasi Mixer Styles */
.lom-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.lom-search {
    margin-bottom: 25px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.lom-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.lom-search-form label {
    font-weight: 600;
    margin-right: 5px;
}

.lom-search-form input[type="text"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 220px;
    font-size: 15px;
}

.lom-search-form button {
    padding: 10px 18px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.lom-search-form button:hover {
    background: #c2185b;
}

.lom-reset {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

.lom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.lom-card {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.lom-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.lom-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lom-badge-vip {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.lom-badge-premium {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.lom-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.lom-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.lom-card-body {
    padding: 15px;
}

.lom-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.4;
    color: #222;
}

.lom-excerpt {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.lom-view-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    box-sizing: border-box;
}

.lom-view-btn:hover {
    background: #1976d2;
    color: white;
}

/* Backlink */

.lom-backlink {
    margin-top: 20px !important;
    padding: 12px !important;
    background: #f9f9f9 !important;
    border-top: 1px solid #ddd !important;
    font-size: 14px !important;
    border-radius: 0 0 6px 6px;
}

.lom-backlink-link {
    color: #e91e63;
    font-weight: 600;
    text-decoration: underline;
}

.lom-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

@media (max-width: 600px) {
    .lom-grid {
        grid-template-columns: 1fr;
    }
    .lom-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .lom-search-form input[type="text"] {
        min-width: 100%;
    }
}
