/* local-job-post-card.css */

/* Filter wrapper */
.ljp-filter-wrapper {
    max-width: 960px;
    margin: 18px auto;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    border: 1px solid #efeef0;
}

.ljp-filter-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ljp-filter-label {
    font-weight: 600;
    color: #333;
    min-width: 60px;
}

/* Chip area */
.ljp-chip-area {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    min-height: 40px;
}

.ljp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f0f2f5;
    border-radius: 999px;
    font-size: 14px;
    color: #111;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

.ljp-chip .remove {
    cursor: pointer;
    font-weight: 700;
    padding-left: 6px;
}

/* Input & suggestions */
.ljp-chip-input-wrap {
    position: relative;
    flex: 1 1 320px;
    min-width: 200px;
}

#ljp-city-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
}

#ljp-city-input:focus {
    border-color: #6b8df3;
    box-shadow: 0 6px 16px rgba(107,141,243,0.12);
}

.ljp-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e6e6e9;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(16,24,40,0.06);
    z-index: 2000;
    max-height: 220px;
    overflow: auto;
}

.ljp-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.ljp-suggestion-item:hover {
    background: #f6f7fb;
}

/* hint */
.ljp-filter-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

/* Cards */
.ljp-cards-wrapper {
    max-width: 960px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .ljp-cards-wrapper { grid-template-columns: 1fr; }
}

/* Single card */
.ljp-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #eef0f3;
    box-shadow: 0 6px 20px rgba(15,23,42,0.03);
    transition: transform .12s ease, opacity .12s ease;
}

.ljp-card.hidden {
    display: none !important;
    opacity: 0;
    transform: scale(.995);
}

/* header */
.ljp-card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}
.ljp-avatar img { border-radius: 999px; }
.ljp-username { font-weight: 600; color: #222; }
.ljp-date { font-size: 13px; color: #777; }

/* title & desc */
.ljp-job-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #111; }
.ljp-description { font-size: 14px; color: #444; margin-bottom: 8px; }

/* city & buttons */
.ljp-city { font-weight: 600; color: #0b5ed7; margin-bottom: 8px; }
.ljp-buttons { display: flex; gap: 8px; align-items: center; }


/* Buttons container — perfect alignment */
.ljp-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;    /* सभी एक लाइन में */
}

/* Beautiful Facebook-style button */
.ljp-btn {
    flex: 1;                         /* तीनों बटन बराबर चौड़ाई */
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 10px 14px;
    height: 42px;                    /* सभी की equal height */
    border-radius: 10px;

    background: #f1f3f7;
    border: 1px solid #d9dde2;
    color: #222;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;

    transition: 0.18s ease;
    white-space: nowrap;            /* text टूटे नहीं */
}

/* Hover effect */
.ljp-btn:hover {
    background: #e7eaf0;
    border-color: #cfd3d9;
}

/* Active click feel */
.ljp-btn:active {
    background: #dfe2e7;
}


#ljp-filter-icon.filter-active {
    border: 2px solid #00c853;
    border-radius: 10px;
    padding: 3px;
}

