/**
 * SP Employers - Main Stylesheet
 * Industrial Light Theme with Orange, Red, Yellow
 * RTL Support for Hebrew
 *
 * @package SP_Employers
 */

/* ============================
   Variables & Base Styles
   ============================ */
:root {
    --primary-color: #FF7A00;      /* Orange */
    --secondary-color: #E53935;    /* Red */
    --accent-color: #FFCA28;       /* Yellow */
    --dark-color: #2C3E50;
    --light-color: #ECF0F1;
    --border-color: #BDC3C7;
    --success-color: #27AE60;
    --warning-color: #F39C12;
    --error-color: #E74C3C;
    --text-color: #34495E;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    
    /* Spacing */
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    
    /* Backgrounds */
    --bg-divider: #E0E0E0;
}

/* RTL Support */
[dir="rtl"] .sp-employers-form,
[dir="rtl"] .sp-employers-dashboard,
[dir="rtl"] .sp-employers-jobs-list,
.sp-employers-form,
.sp-employers-dashboard,
.sp-employers-jobs-list {
    direction: rtl;
    text-align: right;
}

/* ============================
   Typography
   ============================ */
.sp-employers-form,
.sp-employers-dashboard,
.sp-employers-jobs-list,
.sp-employers-profile {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* ============================
   Forms
   ============================ */
.sp-employers-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.sp-employers-form h2 {
    color: var(--dark-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-row label .required {
    color: var(--error-color);
    margin-right: 3px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.form-row input[type="file"] {
    padding: 10px;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    background: var(--light-color);
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label {
    display: block;
    margin: 8px 0;
    padding: 10px;
    background: #F8F9FA;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: #FFF3E6;
}

.checkbox-label input[type="checkbox"] {
    margin-left: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #7F8C8D;
}

.file-preview {
    margin-top: 10px;
    padding: 10px 15px;
    background: #E8F5E9;
    border: 1px solid var(--success-color);
    border-radius: 6px;
    color: var(--success-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-preview .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.image-preview {
    margin-top: 10px;
}

.image-preview img {
    max-width: 200px;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

/* Form Messages */
.form-messages {
    margin-bottom: 20px;
}

.success-message {
    padding: 15px 20px;
    background: #D5F4E6;
    border: 2px solid var(--success-color);
    border-radius: 6px;
    color: #155724;
    font-weight: 600;
}

.error-message {
    padding: 15px 20px;
    background: #FADBD8;
    border: 2px solid var(--error-color);
    border-radius: 6px;
    color: #721C24;
    font-weight: 600;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #E66D00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #C62828;
}

.btn-small {
    padding: 6px 15px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background: var(--error-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #C0392B;
}

/* ============================
   Dashboard
   ============================ */
.sp-employers-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 2em;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: var(--primary-color);
}

.stat-content h3 {
    margin: 0;
    font-size: 2em;
    color: var(--dark-color);
}

.stat-content p {
    margin: 5px 0 0 0;
    color: #7F8C8D;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    border-bottom: 2px solid var(--bg-divider);
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    width: 100%;
    border-bottom: 2px solid var(--light-color);
    background: #F8F9FA;
}

.tab-link {
    padding: 15px 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-link .badge {
    position: relative;
    top: -2px;
}

.tab-link:hover {
    background: var(--light-color);
}

.tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--white);
}

.tab-content {
    padding: 0;
    width: 100%;
}

.tab-content > * {
    padding: 30px;
}

/* ============================
   Search Form
   ============================ */
.sp-employers-search-form {
    margin-bottom: var(--spacing-lg);
}

.jobs-search-form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-right: 4px solid var(--primary-color);
}

.search-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--light-color);
    color: var(--dark-color);
    font-size: 1.5em;
}

.search-title .dashicons {
    color: var(--primary-color);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.search-field label .dashicons {
    color: var(--primary-color);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.search-field input[type="text"],
.search-field select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.search-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.search-actions .btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
}

.search-results-info {
    background: #FFF9E6;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: var(--spacing-lg);
}

.results-count {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--white);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    font-size: 0.9em;
    color: var(--text-color);
}

.filter-tag .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

/* ============================
   Jobs List
   ============================ */
.sp-employers-jobs-list {
    max-width: 1200px;
    margin: 0 auto;
}

.jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.job-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-right: 5px solid var(--primary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.15);
}

.job-card:hover::before {
    opacity: 1;
}

.job-header h3 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.3;
}

.job-header h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-header h3 a:hover {
    color: var(--primary-color);
}

.job-company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7F8C8D;
    font-size: 1.05em;
    font-weight: 600;
    margin-top: 5px;
}

.job-company::before {
    content: '\f307';
    font-family: 'dashicons';
    font-size: 18px;
    color: var(--primary-color);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 12px 0;
    border-top: 2px solid #F5F5F5;
    border-bottom: 2px solid #F5F5F5;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95em;
    color: var(--text-color);
    background: #F8F9FA;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.job-meta span:hover {
    background: #FFF3E6;
    transform: translateY(-2px);
}

.job-meta .dashicons {
    color: var(--primary-color);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.job-meta .job-salary {
    background: #E8F5E9;
    color: var(--success-color);
    font-weight: 600;
}

.job-meta .job-salary .dashicons {
    display: none;
}

.job-excerpt {
    margin: 0;
    line-height: 1.7;
    color: #5A6C7D;
    font-size: 1.05em;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
}

.job-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.job-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92em;
    color: #95A5A6;
    font-weight: 500;
}

.job-date::before {
    content: '\f469';
    font-family: 'dashicons';
    font-size: 16px;
    color: var(--primary-color);
}

.submit-resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.submit-resume-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ============================
   Job Single
   ============================ */
.sp-employers-job-single {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.job-header {
    display: flex;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-color);
    margin-bottom: 25px;
}

.company-logo {
    flex-shrink: 0;
}

.company-logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.job-title-section h1 {
    margin: 0 0 10px 0;
    color: var(--dark-color);
}

.company-name {
    color: #7F8C8D;
    font-size: 1.1em;
}

.job-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: var(--light-color);
    border-radius: 6px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.job-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.job-section {
    margin-bottom: 30px;
}

.job-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.apply-box,
.company-box,
.contact-box {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.apply-box h3,
.company-box h3,
.contact-box h3 {
    margin: 0 0 15px 0;
    color: var(--dark-color);
}

.deadline-info {
    background: #FFF9E6;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    padding: 12px;
    margin: 15px 0;
    font-size: 0.9em;
}

.deadline-info .dashicons {
    color: var(--primary-color);
    vertical-align: middle;
}

.contact-box p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-box .dashicons {
    color: var(--primary-color);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.contact-box a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-box a:hover {
    color: var(--primary-color);
}

.job-forklift-info ul,
.job-shifts ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.job-forklift-info li,
.job-shifts li {
    padding: 8px 0;
    padding-right: 20px;
    position: relative;
}

.job-forklift-info li:before,
.job-shifts li:before {
    content: "\2713";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================
   Tables
   ============================ */
.sp-employers-my-jobs {
    width: 100%;
    padding: 30px;
    background: var(--white);
}

.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-color);
}

.jobs-header h2 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.8em;
}

.jobs-header .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jobs-header .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.jobs-table,
.resumes-table {
    width: 100%;
    overflow-x: auto;
}

.jobs-table table,
.resumes-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.jobs-table th,
.resumes-table th {
    background: var(--dark-color);
    color: var(--white);
    padding: 15px;
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.jobs-table td,
.resumes-table td {
    padding: 15px;
    border-bottom: 1px solid var(--light-color);
    vertical-align: middle;
}

.jobs-table tbody tr,
.resumes-table tbody tr {
    transition: background 0.2s ease;
}

.jobs-table tr:hover,
.resumes-table tr:hover {
    background: #F8F9FA;
}

.jobs-table tbody tr:last-child td,
.resumes-table tbody tr:last-child td {
    border-bottom: none;
}

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.actions .btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.actions .btn-danger {
    border-color: var(--error-color);
}

.actions .btn-danger:hover {
    background: var(--error-color);
    border-color: var(--error-color);
    color: var(--white);
}

.actions .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* No jobs message */
.no-jobs {
    text-align: center;
    padding: 80px 30px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.no-jobs p {
    font-size: 1.3em;
    color: #7F8C8D;
    margin: 0;
    font-weight: 500;
}

.no-jobs p::before {
    content: '\f335';
    font-family: 'dashicons';
    font-size: 60px;
    display: block;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ============================
   Badges & Status
   ============================ */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.badge-new {
    background: var(--accent-color);
    color: var(--dark-color);
}

.badge-success {
    background: var(--success-color);
    color: var(--white);
}

.badge-info {
    background: #3498DB;
    color: var(--white);
}

.status-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-active {
    background: #D5F4E6;
    color: var(--success-color);
}

.status-paused {
    background: #FFF3CD;
    color: var(--warning-color);
}

.status-filled,
.status-closed {
    background: #E8E8E8;
    color: #7F8C8D;
}

/* ============================
   Modal
   ============================ */
.sp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.sp-modal-content {
    background: var(--white);
    max-width: 600px;
    margin: 50px auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.sp-modal-large {
    max-width: 900px;
}

.sp-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #95A5A6;
    cursor: pointer;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}

.sp-modal-close:hover {
    color: var(--error-color);
}

.sp-modal-body {
    padding: 30px;
}

.job-title-info {
    background: #FFF9E6;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    color: var(--dark-color);
}

/* ============================
   Pagination
   ============================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ============================
   Search Form
   ============================ */
.sp-employers-search-form {
    margin-bottom: 30px;
}

.jobs-search-form {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.search-fields {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr auto;
    gap: 15px;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .form-row-group {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        gap: 20px;
    }
    
    .job-card {
        padding: 20px;
        border-radius: 10px;
    }
    
    .job-header h3 {
        font-size: 1.3em;
    }
    
    .job-meta {
        padding: 15px 0;
    }
    
    .job-meta span {
        font-size: 0.85em;
        padding: 6px 12px;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .job-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .job-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .job-content {
        grid-template-columns: 1fr;
    }
    
    .search-fields {
        grid-template-columns: 1fr;
    }
    
    .search-actions {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-link {
        flex: 1 1 auto;
        justify-content: center;
        padding: 12px 15px;
    }
    
    .jobs-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .jobs-header .btn {
        justify-content: center;
    }
    
    .jobs-table,
    .resumes-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .jobs-table table,
    .resumes-table table {
        min-width: 600px;
    }
    
    .actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================
   Admin Styles
   ============================ */
.sp-employers-admin .admin-filters {
    margin: 20px 0;
    display: flex;
    gap: 15px;
}

.sp-employers-admin .search-input,
.sp-employers-admin .filter-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.sp-employers-admin .admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.sp-employers-admin .stat-box {
    background: var(--white);
    padding: 20px;
    border-radius: 6px;
    border-right: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.sp-employers-admin .stat-box h3 {
    margin: 0;
    font-size: 2em;
    color: var(--primary-color);
}

.sp-employers-admin .stat-box p {
    margin: 5px 0 0 0;
    color: #7F8C8D;
}
