/* ==========================================================================
   SI Career Opportunities — Plugin Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared Button Style
   -------------------------------------------------------------------------- */

.si-btn {
    display: inline-block;
    background-color: rgb(17, 74, 141);
    color: #ffffff !important;
    border: 2px solid rgb(17, 74, 141);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.si-btn:hover {
    background-color: rgb(12, 54, 104);
    border-color: rgb(12, 54, 104);
    color: #ffffff !important;
    text-decoration: none !important;
}


/* --------------------------------------------------------------------------
   Career Openings — Shortcode Listing
   -------------------------------------------------------------------------- */

.si-career-openings {
    list-style: none;
    margin: 0;
    padding: 0;
}

.si-career-opening {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: left !important;
}

.si-career-opening:first-child {
    border-top: 1px solid #e0e0e0;
}

.si-career-opening-info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    text-align: left !important;
}

.si-career-opening-title,
.si-career-opening-date {
    text-align: left !important;
}

.si-career-opening-title {
    font-weight: 600;
    text-decoration: none;
}

.si-career-opening-title:hover {
    text-decoration: underline;
}

.si-career-opening-date {
    font-size: 0.875em;
    color: #666;
    white-space: nowrap;
}

.si-career-opening-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 20px;
}


/* --------------------------------------------------------------------------
   Single Job Listing Page
   -------------------------------------------------------------------------- */

.job-listing-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.job-listing-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.job-listing-header .job-listing-title {
    margin: 0;
}

.job-listing-posted {
    font-size: 0.875em;
    color: #666;
}

.job-listing-apply-top {
    flex-shrink: 0;
}

.job-listing-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
