/* ==========================================================================
   ONE VOLT SECURITY - CAREERS SECTION STYLES
   Preserves Brand Palette: Orange (#f37021), Black (#1a1a1a, #0a0a0a), White
   ========================================================================== */

/* Careers Hero Section */
.careers-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #171717 50%, #1f140e 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(243, 112, 33, 0.2);
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.careers-hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.careers-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(243, 112, 33, 0.12);
    border: 1px solid rgba(243, 112, 33, 0.4);
    color: var(--primary, #f37021);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 100px;
    margin-bottom: 20px;
}

.careers-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.careers-hero h1 span {
    color: var(--primary, #f37021);
    background: linear-gradient(135deg, #ff8a47 0%, #f37021 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.careers-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #b3b3b3;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Work With Us Highlights */
.careers-perks-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.perk-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
}

.perk-item:hover {
    border-color: rgba(243, 112, 33, 0.4);
    transform: translateY(-3px);
    background: rgba(243, 112, 33, 0.06);
}

.perk-icon {
    font-size: 1.5rem;
    color: var(--primary, #f37021);
    margin-bottom: 12px;
}

.perk-item h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.perk-item p {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Search and Filter Bar */
.careers-filter-section {
    position: relative;
    z-index: 10;
    margin-top: -35px;
    margin-bottom: 60px;
}

.filter-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
}

.filter-form {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr auto;
    gap: 16px;
    align-items: center;
}

.form-group-filter {
    position: relative;
}

.form-group-filter i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.95rem;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background-color: #f8fafc;
    transition: all 0.25s ease;
    outline: none;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--primary, #f37021);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.15);
}

.filter-btn-group {
    display: flex;
    gap: 8px;
}

.btn-filter {
    padding: 14px 22px;
    background: var(--primary, #f37021);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-filter:hover {
    background: #d65d18;
    transform: translateY(-1px);
}

.btn-filter-reset {
    padding: 14px 18px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-filter-reset:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Results Header */
.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.results-meta h3 {
    font-size: 1.35rem;
    color: #0f172a;
    margin: 0;
}

.results-count {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.results-count strong {
    color: var(--primary, #f37021);
}

/* Job Cards Grid */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.job-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(243, 112, 33, 0.3);
}

/* 1:1 Square Image Container */
.job-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #0a0a0a;
}

.job-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.job-card:hover .job-card-img {
    transform: scale(1.05);
}

.job-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.badge-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.badge-dept {
    background: rgba(10, 10, 10, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-type {
    background: var(--primary, #f37021);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(243, 112, 33, 0.4);
}

.badge-expired {
    background: #ef4444 !important;
    color: #ffffff;
}

/* Job Card Body */
.job-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.job-card-title {
    font-size: 1.35rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #0f172a;
}

.job-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-card-title a:hover {
    color: var(--primary, #f37021);
}

.job-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    color: #64748b;
}

.job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.job-meta-item i {
    color: var(--primary, #f37021);
    font-size: 0.9rem;
}

.job-card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Job Card Footer */
.job-card-footer {
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.job-deadline {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-deadline.urgent {
    color: #ea580c;
    font-weight: 600;
}

.job-deadline.expired {
    color: #ef4444;
    font-weight: 600;
}

.job-actions {
    display: flex;
    gap: 8px;
}

.btn-card-details {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    color: #1e293b;
    background: #f1f5f9;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-details:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-card-apply {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    color: #ffffff;
    background: var(--primary, #f37021);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(243, 112, 33, 0.3);
}

.btn-card-apply:hover {
    background: #d65d18;
    transform: translateY(-1px);
}

.btn-card-apply.disabled {
    background: #94a3b8;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Empty State */
.empty-jobs-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
}

.empty-icon {
    font-size: 3.5rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.empty-jobs-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.empty-jobs-card p {
    color: #64748b;
    max-width: 500px;
    margin: 0 auto 24px;
}

/* ==========================================================================
   JOB DETAILS PAGE STYLES
   ========================================================================== */
.job-details-page {
    padding: 130px 0 90px;
    background-color: #f8fafc;
}

.job-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
}

.job-breadcrumbs a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-breadcrumbs a:hover {
    color: var(--primary, #f37021);
}

.job-breadcrumbs span {
    color: #cbd5e1;
}

.job-details-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}

/* Main Content Column */
.job-main-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Detail Image Container (1:1 Ratio) */
.job-hero-img-container {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 35px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    background: #0a0a0a;
    border: 1px solid #e2e8f0;
}

.job-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.job-detail-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.job-detail-header h1 {
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.job-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-pill.dept {
    background: #f1f5f9;
    color: #334155;
}

.tag-pill.type {
    background: rgba(243, 112, 33, 0.1);
    color: var(--primary, #f37021);
    border: 1px solid rgba(243, 112, 33, 0.2);
}

.tag-pill.loc {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Detail Content Sections */
.job-section {
    margin-bottom: 35px;
}

.job-section h2,
.job-section h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.job-section h2::after,
.job-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary, #f37021);
    border-radius: 2px;
}

.job-rich-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.job-rich-text p {
    margin-bottom: 18px;
}

.job-rich-text ul,
.job-rich-text ol {
    margin: 18px 0;
    padding-left: 24px;
}

.job-rich-text li {
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
}

/* Sticky Sidebar Card */
.job-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-summary-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}

.job-summary-card h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-list {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.95rem;
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-label {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.summary-label i {
    color: var(--primary, #f37021);
    font-size: 0.95rem;
}

.summary-value {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
    max-width: 55%;
}

/* Expired Status Banner */
.expired-banner {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #991b1b;
}

.expired-banner i {
    font-size: 1.25rem;
    margin-top: 2px;
}

.expired-banner h4 {
    margin: 0 0 4px;
    color: #991b1b;
    font-size: 0.95rem;
}

.expired-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: #b91c1c;
    line-height: 1.4;
}

/* Primary Apply Button */
.btn-apply-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--primary, #f37021);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
    border: none;
    cursor: pointer;
}

.btn-apply-main:hover {
    background: #d65d18;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(243, 112, 33, 0.45);
}

.btn-apply-main.disabled {
    background: #94a3b8;
    color: #f1f5f9;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

/* Direct HR / Anti-Fraud Notice */
.security-notice-card {
    background: #fdfaf6;
    border: 1px solid #fbe6d5;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 12px;
    font-size: 0.82rem;
    color: #7c4a1e;
    line-height: 1.5;
}

.security-notice-card i {
    font-size: 1.15rem;
    color: var(--primary, #f37021);
    margin-top: 2px;
}

/* Share Widget */
.share-job-widget {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.share-job-widget span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--primary, #f37021);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Similar Jobs Section */
.similar-jobs-section {
    padding: 70px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.similar-jobs-section h2 {
    font-size: 2rem;
    margin-bottom: 35px;
    text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .job-details-layout {
        grid-template-columns: 1fr;
    }

    .job-sidebar-sticky {
        position: static;
        margin-top: 30px;
    }

    .filter-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .careers-hero {
        padding: 130px 0 60px;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .job-cards-grid {
        grid-template-columns: 1fr;
    }

    .job-main-card {
        padding: 24px;
    }

    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .job-actions {
        width: 100%;
        justify-content: space-between;
    }

    .btn-card-apply,
    .btn-card-details {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}

