/*
 * Styles pour WP Wegestu Connector
 */

.wpc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.wpc-table th, .wpc-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.wpc-table th {
    background-color: #f8f8f8;
    color: #333;
    font-size: 0.9em;
    text-transform: uppercase;
}

.wpc-logo-col img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.wpc-esn-tag {
    background-color: #5bc0de; /* Bleu clair */
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
}

/* Styles pour la page de détails */
.wpc-job-detail-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.wpc-sidebar {
    flex: 1;
    background-color: #f4f7f9;
    border-radius: 8px;
    padding: 20px;
}

.wpc-main-content {
    flex: 2;
}

.wpc-company-info {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.wpc-details-list dt {
    font-weight: bold;
    color: #666;
    padding-top: 10px;
}

.wpc-details-list dd {
    margin-left: 0;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}

.wpc-details-list .dash {
    color: #aaa;
}

.wpc-categories-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 20px;
    display: flex;
}

.wpc-categories-box > div {
    flex: 1;
}

.wpc-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpc-category-list li {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

.wpc-category-list li:last-child {
    border-bottom: none;
}

.wpc-category-list .label {
    background-color: #ffe5cc; /* Exemple de couleur pour le label */
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-bottom: 5px;
}
.wpc-job-single-wrapper {
    margin: auto;
    width: 80%;
}
 

.colum-detail-1 {
    display: flex!important;
    justify-content: space-between!important;
    padding: 0px 15px 15px 0px !important;
}
.contact-info-name{
    font-weight:bold!important;
}
.wpc-job-single-wrapper .contact{
    font-weight: bold;
    font-size: x-large;
    text-align: center;
      margin-bottom: 25px;
}
.esnType{
    font-weight: bold;
    font-size: large;
    text-align: center;
      margin-bottom: 25px;
}

img.img-profile {
    border-radius: 50%;
    width: 29%;
    border: 1px solid #dddcdc;
}
.logo-comp {
text-align:center;
}

.brd-compt .badge.badge-light-default {
    display: inline-block;
    border: 1px solid #ededed;
    margin: 5px;
    padding: 0px 5px 0px 5px;
    border-radius: 10px;
        background: #f3f6ff;
    color: #4c6ef5;
}
.badge.badge-light-default {
    display: inline-block;
    border: 1px solid #ededed;
    margin: 5px;
    padding: 0px 5px 0px 5px;
    border-radius: 10px;
        background: #f3f6ff;
    color: #4c6ef5;
}
.description-wrap {
    border: 1px solid #ededed;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.secondary-cards-container.mt-10 {
    border: 1px solid #ddd;
    padding: 20px 20px 20px 20px!important;
    border-radius: 10px;
    margin-bottom: 10px;
}
.wpc-sidebar {
    flex: 1;
    background-color: #000000;
    border: 1px solid #dddcdc!important;
    border-radius: 10px;
    padding: 20px;
}
p.postuler-form input {
    width: 100% !important;
}
.wpc-job-detail-container {
    display: flex;
    gap: 30px;
    margin: 30px 0PX 30px 0px;
}

/* CARD */
.wpc-job-card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.25s ease;
}
.wpc-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* PILL ESN */
.wpc-pill-esn {
    background: #D8EFFC;
    padding: 6px 16px;
    border-radius: 20px;
    color: #265D91;
    font-weight: 600;
    font-size: 13px;
}

/* Ellipsis */
.wpc-ellipsis {
    border-radius: 50%;
}

/* Title */
.job-title {
    font-size: 20px;
    font-weight: 600;
    color: #265D91;
    margin-bottom: 6px;
}

/* Subtitle */
.poste span {
    border-radius: 6px;
    color: #265d91;
    font-family: Poppins;
    font-style: normal;
    line-height: normal;
    padding: 5px 15px;
    line-break: auto;
    max-height: 130px;
    min-height: 30px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}

 

/* Separator */
.wpc-separator {
    width: 100%;
    height: 1px;
    background: #eee;
    margin-top: 20px;
}

/* FOOTER LINK */
.wpc-link-more {
    color: #265D91;
    font-weight: 600;
    transition: 0.2s;
}
.wpc-link-more:hover { text-decoration: underline; }

/* PAGINATION */
.wpc-pagination-wrapper ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.wpc-pagination-wrapper a {
    padding: 8px 12px;
    border-radius: 10px;
    background: #F5F5F5;
    color: #333;
}
.wpc-pagination-wrapper span.current {
    background: #265D91;
    color: #fff;
}

/* MOBILE */
@media(max-width: 768px) {
    .wpc-job-card {
        margin-bottom: 25px;
    }
}
/* GRID */
.wpc-jobs-grid {
    margin-top: 20px;
}

/* CARD */
.wpc-job-card {
        border-radius: 14px;
    border: 1px solid #efefef;
    background: #ffffff;
    transition: 0.25s ease;

    text-align: center;
    padding: 20px;
    margin: 20px;
}

.wpc-job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 28px rgba(0,0,0,0.08);
}

/* ESN Badge */
.wpc-pill-esn {
 background: #63C3E8; 
    color: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-family: Poppins;
}

/* Ellipsis button */
.wpc-ellipsis {
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

/* Logo */
.symbol img {
    border-radius: 50%;
    width: 65px;
    height: 65px;
    object-fit: cover;
}

/* Job title */
.job-title {
    color: #265d91;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    line-break: anywhere;
}

 

/* Separator */
.wpc-separator {
    width: 100%;
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

/* Voir plus link */
.wpc-link-more {
    text-decoration: none;
    font-weight: 600;
    color: #3a6ed8;
    transition: .2s;
}

.wpc-link-more:hover {
    color: #254bb8;
}

/* Pagination */
.wpc-pagination-wrapper ul {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.wpc-page-btn {
    display: inline-block;
    padding: 8px 14px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 16px;
}

.row.wpc-jobs-grid.g-4 {
    display: flex;
    flex-wrap: wrap;
}
a.btn.btn-sm.btn-light.wpc-ellipsis {
    border: 1px solid;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1em;
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s 
linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s 
linear;
    -o-transition: all 0.3s linear;
}

/* GRID CONTAINER */
.wpc-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 6px;
}

/* JOB CARD */
.wpc-job-card {
   display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    align-items: start;
}

/* HEADER */
.wpc-job-card .header {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* BODY */
.wpc-job-card .card-body {
    display: grid;
    row-gap: 0.5rem;
    justify-items: center;
    text-align: center;
}

.wpc-job-card .symbol img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

.badge-skill {
    border-radius: 19px;
    background: rgba(245, 143, 41, .38);
    color: #265d91;
    font-family: Poppins;
    padding: 0px 10px;
    font-size: 13px;
}

.info div {
    margin-bottom: 0.5rem;
}

/* FOOTER */
a.button {
    background-color: #63C3E8;
    border-color: #63C3E8;
    color: white;
    border: 1px solid;
    border-radius: 10px;
    padding: 12px 25px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s 
linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s 
linear;
    -o-transition: all 0.3s linear;
}

/* SEPARATOR */
.wpc-separator {
    border-top: 1px solid #ddd;
    margin: 1rem 0;
}
.skill-bloc {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-direction: row;
}
.info div {
    color: #265d91;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    /* border: 1px solid red; */
    border-radius: 34px;
    border: 1px solid #63C3E8;
    padding: 5px 10px;
    margin-right: 5px;
}
.info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.wpc-sidebar, .description-wrap {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    align-items: start;
}
table thead tr td, table thead tr th {
    padding: 5px 10px!imortant;
    font-weight: bold!imortant;
    border: 1px solid #dddd!imortant;
    text-align: left!imortant;
     border-radius: 8px!imortant;
}

.type.wpc-pill-esn {
    background: #63C3E8;
    color: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-family: Poppins;
    display: inline;
}
.title-bg .contact {
    background: #F3FAFD;
    padding: 4px;
    font-weight: 600 !important;
}

p.mb-1 {
    margin-top: 20px;
}
.wpc-pagination-wrapper span.current {
    background: #63c3e8;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
}
.wpc-page-btn {
    display:  inherit; 
    padding: 8px 14px;
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 16px;
}
