/* Reusable page components */

.ws-page-hero {
    background: linear-gradient(160deg, #f5f7ff 0%, #eef2ff 100%);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-xl);
    padding: 2.5rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}
.ws-page-hero h1,
.ws-page-hero h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--ws-text);
}
.ws-page-hero p {
    color: var(--ws-text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1rem;
}

.ws-card {
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--ws-shadow-md);
}
.ws-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.ws-card-header h3,
.ws-card-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.ws-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ws-text);
    margin-bottom: 0.5rem;
}
.ws-section-subtitle {
    color: var(--ws-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.ws-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1.25rem;
    background: #fff;
    margin-bottom: 1.5rem;
}
.ws-stat-row strong {
    display: block;
    font-size: 1.35rem;
    color: var(--ws-text);
}
.ws-stat-row span {
    font-size: 0.82rem;
    color: var(--ws-text-muted);
}

/* Job listing card */
.ws-job-card,
.joblist-results .ws-job-card {
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1.25rem;
    background: #fff;
    box-shadow: var(--ws-shadow-md);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
.ws-job-card:hover,
.joblist-results .ws-job-card:hover {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    color: inherit;
}

.ws-table-wrap {
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1rem;
    overflow-x: auto;
}

.ws-empty {
    border: 1px dashed #cbd5e1;
    border-radius: var(--ws-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--ws-text-muted);
    background: #fafbff;
}

/* Legacy JobBox → new look (no markup change required) */
.ws-theme .box-content,
.ws-theme .panel-white,
.admin-page-body .box-content {
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--ws-shadow-md);
}
.ws-theme .section-box .content-single,
.ws-theme .content-single {
    font-family: var(--ws-font);
    color: var(--ws-text-body);
    line-height: 1.65;
}
.ws-theme .section-box .content-single h4,
.ws-theme .section-box .content-single h5 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--ws-text);
}
.ws-theme .color-text-paragraph,
.ws-theme .color-text-paragraph-2 {
    color: var(--ws-text-muted) !important;
}
.ws-theme .font-lg {
    font-size: 1rem !important;
    line-height: 1.6;
}

/* Breadcrumb legacy */
.ws-theme .breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.85rem;
}
.ws-theme .breadcrumbs a {
    color: var(--ws-primary);
    text-decoration: none;
    font-weight: 500;
}

/* Legacy section wrappers → modern look without full Blade rewrites */
.ws-theme .section-box,
.ws-theme .section-box-2 {
    padding: 2rem 0;
}
.ws-theme .breacrumb-cover,
.ws-theme .bg-img-about {
    background: linear-gradient(160deg, #f5f7ff 0%, #eef2ff 100%) !important;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-xl);
    padding: 2.5rem 1.5rem !important;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}
.ws-theme .breacrumb-cover h2,
.ws-theme .section-box h2 {
    font-weight: 800;
    color: var(--ws-text);
}
.ws-theme .banner-hero,
.ws-theme .banner-image-single {
    display: none !important;
}
.ws-theme .box-company-profile .image-compay img {
    max-height: 48px;
    width: auto;
}
.ws-theme .box-info-contact {
    background: #fff;
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--ws-shadow-md);
}
.ws-theme .content-single .card {
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow-sm);
    margin-bottom: 1rem;
}
.ws-theme .joblist-results .card-grid-2 {
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    padding: 1.25rem;
    background: #fff;
    box-shadow: var(--ws-shadow-md);
}

/* DataTables — see datatables.css */
