/* AR TMC - Smart Job Applications Styles */
.artmc-alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-radius: 5px; padding: 15px; margin-bottom: 20px; text-align: center; font-weight: bold; }
.artmc-job-wrapper { width: 100%; box-sizing: border-box; }
.artmc-job-title { margin-bottom: 10px; }
.artmc-job-desc { margin-bottom: 20px; }
.artmc-job-form { display: flex; flex-direction: column; width: 100%; }
.artmc-job-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.artmc-job-col { flex: 1; min-width: 250px; }
.artmc-job-full-row { width: 100%; margin-bottom: 15px; }
.artmc-job-label { display: block; margin-bottom: 5px; font-weight: 600; cursor: pointer; }
.artmc-job-label span.req { color: #d63638; }
.artmc-job-input { width: 100%; box-sizing: border-box; display: block; transition: border-color 0.3s; }
.artmc-file-input { padding: 10px; border: 1px dashed #bbb; background: #fefefe; }
.artmc-job-btn { cursor: pointer; transition: all 0.3s ease; display: inline-block; border: none; }

/* ==================================================
   Open Positions Widget Styles - V2 (Advanced)
   ================================================== */
.artmc-open-positions-wrap { display: grid; width: 100%; }

/* Default Grid fallback (Controlled mostly by Elementor) */
.artmc-pos-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* List Layout (Single Column) */
.artmc-pos-list { grid-template-columns: 1fr; gap: 20px; }

/* Card General Styling */
.artmc-position-card { 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 8px; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s ease; 
}

.artmc-pos-content-wrap { display: flex; flex-direction: column; flex-grow: 1; }

.artmc-pos-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-bottom: 10px; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.artmc-pos-title { margin: 0; font-size: 18px; font-weight: bold; }

.artmc-pos-code { 
    background: #e3f2fd; 
    color: #0d47a1; 
    padding: 3px 8px; 
    border-radius: 4px; 
    font-size: 12px; 
    font-weight: bold; 
    white-space: nowrap; 
}

.artmc-pos-desc { 
    font-size: 14px; 
    line-height: 1.6; 
    color: #555; 
    margin-bottom: 15px; 
    flex-grow: 1; 
}

/* Button Wrapper & Alignments */
.artmc-pos-btn-wrap { display: flex; width: 100%; margin-top: auto; }
.artmc-pos-btn { 
    text-decoration: none; 
    padding: 10px 24px; 
    background: #2271b1; 
    color: #fff; 
    border-radius: 4px; 
    font-weight: bold; 
    transition: all 0.3s ease; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    border: 1px solid transparent; 
}

.artmc-pos-btn:hover { opacity: 0.9; color: #fff; }

/* --------------------------------------------------
   List Layout Specifics (Desktop Horizontal Row)
   -------------------------------------------------- */
@media(min-width: 768px) {
    .artmc-pos-list .artmc-position-card { 
        flex-direction: row; 
        align-items: center; 
        justify-content: space-between; 
        gap: 30px; 
    }
    .artmc-pos-list .artmc-pos-header { margin-bottom: 5px; }
    .artmc-pos-list .artmc-pos-desc { margin-bottom: 0; }
    .artmc-pos-list .artmc-pos-content-wrap { flex: 1; }
    .artmc-pos-list .artmc-pos-btn-wrap { flex-shrink: 0; width: auto; margin-top: 0; }
}