/* Główne bloki ogłoszeń i Filtry */
.hr-recruitment-container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    padding: 20px 0;
    box-sizing: border-box;
    line-height: 1.5;
    clear: both;
    width: 100%;
    position: relative;
}

.hr-recruitment-container *, 
.hr-recruitment-container *::before, 
.hr-recruitment-container *::after {
    box-sizing: border-box;
}

.hr-recruitment-container select,
.hr-recruitment-container input,
.hr-recruitment-container a,
.hr-recruitment-container p,
.hr-recruitment-container div,
.hr-recruitment-container h3,
.hr-recruitment-container span {
    font-family: inherit;
    box-sizing: border-box;
}

/* PORTAL SEARCH BAR */
.hr-portal-search-bar {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 50px;
    border: 1px solid #f0f0f0;
    gap: 10px;
}

.hr-search-inputs-wrapper {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
}

.hr-search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    background: transparent;
    border-right: 1px solid #f0f0f0;
}

.hr-search-input-group:last-child {
    border-right: none;
}

.hr-search-input-group .hr-icon {
    width: 20px;
    height: 20px;
    color: #999;
    margin-right: 12px;
    flex-shrink: 0;
}

.hr-search-input-group input,
.hr-search-input-group select {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 15px;
    color: #222;
    outline: none;
    box-shadow: none;
    padding: 5px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hr-search-input-group input:focus,
.hr-search-input-group select:focus {
    outline: none;
    box-shadow: none;
}

.hr-search-input-group.hr-search-keyword input {
    cursor: text;
}

.hr-search-btn {
    background: #ce2b2b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
}

.hr-search-btn:hover {
    background: #a32222;
}

/* SIATKA OFERT */
.hr-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

/* Kafel Ofert */
.hr-job-tile {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    background: #ffffff;
    transition: box-shadow 0.3s ease, border-color 0.3s, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hr-job-tile:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: #d1d1d1;
    transform: translateY(-4px);
}

.hr-job-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
}

.hr-job-title a {
    text-decoration: none;
    color: #111;
    transition: color 0.2s;
    box-shadow: none;
}

.hr-job-title a:hover {
    color: #ce2b2b;
}

.hr-job-meta {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Nowoczesne TAGI Pigułki */
.hr-meta-pill {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #444;
    font-weight: 600;
    line-height: 1.2;
}

.hr-meta-pill svg {
    margin-right: 6px;
    color: #888;
}

.hr-meta-pill.hr-salary {
    background: #e8f5e9;
    color: #1e6c21;
}

.hr-meta-pill.hr-salary svg {
    color: #1e6c21;
}

.hr-job-excerpt {
    flex-grow: 1;
    color: #555;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.hr-job-excerpt p {
    margin-top: 0;
}

.hr-job-button {
    display: block;
    background: #fff;
    color: #ce2b2b;
    border: 2px solid #ce2b2b;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.hr-job-button:hover {
    background: #ce2b2b;
    color: #ffffff;
}

.hr-loading, 
.hr-no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px 20px;
    color: #888;
    font-size: 18px;
}

@media (max-width: 768px) {
    .hr-search-inputs-wrapper { flex-direction: column; }
    .hr-search-input-group { border-right: none; border-bottom: 1px solid #f0f0f0; width: 100%; }
    .hr-search-btn { width: 100%; border-radius: 0 0 12px 12px; margin-top: -10px; }
}
