/* Custom Jobs Plugin Styling */

.qhr-jobs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

/* Hide Astra theme author and date on single jobs */
.single-qhr_job .entry-meta,
.single-qhr_job .ast-single-post-meta {
    display: none !important;
}

.qhr-job-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qhr-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.qhr-job-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.qhr-job-title a {
    text-decoration: none;
    color: #333;
}

.qhr-job-title a:hover {
    color: #0056b3;
}

.qhr-job-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qhr-meta-item {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
}

.qhr-job-excerpt {
    margin-bottom: 20px;
    color: #444;
}

.qhr-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qhr-btn:hover {
    background-color: #004494;
    color: #fff;
}

.qhr-job-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eaeaea;
}

/* Application Form */
.qhr-application-form-wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
}

.qhr-application-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.qhr-form-group {
    margin-bottom: 15px;
}

.qhr-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.qhr-form-group input[type="text"],
.qhr-form-group input[type="email"],
.qhr-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.qhr-form-group input[type="file"] {
    display: block;
    margin-top: 5px;
}

.qhr-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.qhr-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Filter Bar */
.qhr-filter-bar {
    margin-bottom: 20px;
}

.qhr-filter-bar select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 250px;
    background-color: #fff;
    cursor: pointer;
}
