/**
 * Paylocity Job Feed Styles
 */

.paylocity-jobs-container {
    max-width: 100%;
    margin-bottom: 2em;
}

/* Headings will inherit color from dynamic CSS (primary color) */
.paylocity-jobs-container h2,
.paylocity-jobs-container h3,
.paylocity-jobs-container h4,
.paylocity-jobs-container h5,
.paylocity-jobs-container h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

.paylocity-job-filters {
    margin-bottom: 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.paylocity-job-filters select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.paylocity-job-item {
    margin-bottom: 1.5em;
    padding: 1.5em;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.paylocity-job-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.paylocity-job-title {
    margin-top: 0;
    font-size: 1.2em;
    font-weight: bold;
    /* Color will be applied via dynamic CSS */
}

.paylocity-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1em;
    color: #666;
    font-size: 0.9em;
}

.paylocity-job-meta span {
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

.paylocity-job-meta svg {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.paylocity-job-type {
    text-transform: capitalize;
}

.paylocity-job-details {
    margin-top: 1em;
}

.paylocity-job-summary {
    display: inline-block;
    cursor: pointer;
    padding: 8px 12px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s ease;
    color: #555;
}

.paylocity-job-summary:hover, 
.paylocity-job-summary:focus {
    background-color: #f0f0f0;
    outline: none;
    border-color: #ccc;
}

.paylocity-job-summary::-webkit-details-marker {
    display: none;
}

.paylocity-job-details[open] .paylocity-job-summary {
    margin-bottom: 15px;
    background-color: #f0f0f0;
}

.paylocity-job-expanded-content {
    padding-top: 10px;
}

.paylocity-job-description {
    margin-bottom: 1em;
}

.paylocity-job-requirements {
    margin-bottom: 1.5em;
    padding-top: 0.5em;
}

.paylocity-job-requirements h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 1.1em;
    /* Color will be applied via dynamic CSS */
}

.paylocity-job-button {
    display: inline-block;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.paylocity-job-button:hover,
.paylocity-job-button:focus {
    color: white;
    outline: none;
}

.paylocity-no-jobs, 
.paylocity-no-results {
    padding: 1em;
    background-color: #f8f8f8;
    border-radius: 4px;
    text-align: center;
    margin: 1em 0;
}

/* Reset Filters Button */
.paylocity-reset-filters {
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.paylocity-reset-filters:hover:not(:disabled),
.paylocity-reset-filters:focus:not(:disabled) {
    background-color: #f0f0f0;
    border-color: #ccc;
    outline: none;
}

.paylocity-reset-filters:disabled,
.paylocity-reset-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .paylocity-job-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .paylocity-job-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .paylocity-reset-filters {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
} 