/* Careers Plugin Styles */

/* Tabs */
.hallmark-careers-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.hallmark-careers-tabs a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    background: #f1f1f1;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.hallmark-careers-tabs a:hover {
    background: #e2e2e2;
}

.hallmark-careers-tabs a.active {
    background: #0d2948;
    color: #fff;
}

/* Grid Layout for Jobs */
.hallmark-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.hallmark-job-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.hallmark-job-card h3 {
    margin-top: 0;
    color: #1a4066;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.hallmark-job-card .job-description-excerpt {
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.hallmark-job-card .job-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background-color: #0d2948;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.btn-secondary {
    background-color: #f1f1f1;
    color: #333;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* Pagination */
.hallmark-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}
.hallmark-pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}
.hallmark-pagination .page-numbers.current {
    background: #0d2948;
    color: white;
    border-color: #0d2948;
}

/* Modals */
.hallmark-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.hallmark-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.hallmark-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.hallmark-modal-overlay.open .hallmark-modal {
    transform: translateY(0);
}

.hallmark-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hallmark-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #1a4066;
}

.hallmark-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: #999;
}

.hallmark-modal-body {
    padding: 20px;
    overflow-y: auto;
}

/* Modal Form Overrides */
.hallmark-modal-body form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.hallmark-careers-form input[type="text"],
.hallmark-careers-form input[type="email"],
.hallmark-careers-form input[type="tel"],
.hallmark-careers-form select,
.hallmark-careers-form input[type="file"] {
    box-sizing: border-box;
}
