/*
 * Corporate Openings — Premium Scoped Styles
 * Modern flat design with team colours
 */

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.co-hero {
    position: relative;
    overflow: hidden;
    padding-top: 140px !important;
    padding-bottom: 70px !important;
    min-height: auto !important;
}

.co-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(13, 13, 26, 0.82) 0%,
        rgba(26, 26, 46, 0.75) 50%,
        rgba(0, 128, 127, 0.35) 100%);
    z-index: 2;
}

.co-hero-badge {
    background: linear-gradient(135deg, #00807f, #11b7b7) !important;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(0, 128, 127, 0.4);
}

.co-accent {
    color: #11b7b7;
}

/* ══════════════════════════════════════════
   GLOWING SEPARATOR
   ══════════════════════════════════════════ */
.co-glow-separator {
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 128, 127, 0.15) 15%,
        #11b7b7 50%,
        rgba(0, 128, 127, 0.15) 85%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(17, 183, 183, 0.5), 0 0 30px rgba(17, 183, 183, 0.2);
}

/* ══════════════════════════════════════════
   SECTION
   ══════════════════════════════════════════ */
.co-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 60vh;
}

.co-title {
    font-size: 2.2rem;
    color: #1a1a2e;
    font-weight: 800;
}

/* ══════════════════════════════════════════
   SEARCH BOX
   ══════════════════════════════════════════ */
.co-search-wrapper {
    position: relative;
}

.co-search-box {
    position: relative;
    border: 2px solid #00807f;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 128, 127, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.co-search-box:focus-within {
    box-shadow: 0 4px 20px rgba(0, 128, 127, 0.15);
    border-color: #11b7b7;
}

.co-search-label {
    position: absolute;
    top: -10px;
    left: 14px;
    background: #fff;
    padding: 0 8px;
    font-size: 0.8rem;
    color: #00807f;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.co-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.co-search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 16px 50px 16px 18px;
    font-size: 1.05rem;
    color: #333;
    background: transparent;
    border-radius: 12px;
}

.co-search-input::placeholder {
    color: #aaa;
    font-size: 1rem;
}

.co-search-icon {
    position: absolute;
    right: 18px;
    font-size: 1.3rem;
    color: #00807f;
    opacity: 0.6;
}

.co-reset-btn {
    background: linear-gradient(135deg, #00807f, #11b7b7) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 30px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 128, 127, 0.3);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.co-reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 127, 0.4);
}

/* ══════════════════════════════════════════
   RESULTS COUNT
   ══════════════════════════════════════════ */
.co-results-count {
    color: #00807f;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}

/* ══════════════════════════════════════════
   JOB CARDS
   ══════════════════════════════════════════ */
.co-job-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 5px solid #00807f;
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease,
                transform 0.25s ease;
}

.co-job-card:hover {
    box-shadow: 0 8px 30px rgba(0, 128, 127, 0.12);
    border-color: rgba(0, 128, 127, 0.2);
    border-left-color: #11b7b7;
    transform: translateY(-3px);
}

.co-job-info {
    flex: 1;
}

.co-job-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.co-job-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.co-job-meta li {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.co-job-meta li strong {
    color: #334155;
    font-weight: 600;
}

/* ══════════════════════════════════════════
   APPLY BUTTON
   ══════════════════════════════════════════ */
.co-apply-btn {
    background: linear-gradient(135deg, #00807f, #11b7b7) !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 128, 127, 0.25);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.co-apply-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 22px rgba(0, 128, 127, 0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ══════════════════════════════════════════
   LOAD MORE BUTTON
   ══════════════════════════════════════════ */
#co-load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 128, 127, 0.45) !important;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 767.98px) {
    .co-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 22px 20px;
    }

    .co-apply-btn {
        align-self: flex-end;
    }

    .co-title {
        font-size: 1.6rem;
    }

    .co-search-wrapper {
        flex-direction: column;
    }

    .co-reset-btn {
        width: 100% !important;
        text-align: center;
    }
}
