/**
 * Styles pour la page de détail d'une annonce de recrutement
 * Univ-Droit - Override Seblod
 *
 * @package     Univ-Droit
 * @subpackage  Templates.g5_helium
 * @since       2025-12-18
 */

/* ========================================
   SECTIONS & TITRES
   ======================================== */

h5.jl-section-title {
    background: #fafafa;
    padding: 8px 12px;
    border-bottom: solid 1px #f1f1f1;
    margin-bottom: 15px;
    font-weight: 600;
    color: #666;
}

h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.jl-recrutement-title {
    font-weight: 600;
    color: #767676;
    margin-bottom: 10px;
}

h4.jl-recrutement-subtitle {
    color: #999;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

h4.jl-other-compo {
    padding: 15px 0;
    text-align: center;
    color: #666;
}

/* ========================================
   BADGE STATUT (Ouvert/Clôturé/Pourvu)
   ======================================== */

h4.jl-recrutement-status {
    padding: 10px 15px;
    text-align: center;
    color: white;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

h4.jl-recrutement-status.jl-status-warning {
    background: linear-gradient(135deg, #d32c46 0%, #b12538 100%);
    box-shadow: 0 2px 8px rgba(211, 44, 70, 0.3);
}

h4.jl-recrutement-status.jl-status-success {
    background: linear-gradient(135deg, #82bb42 0%, #6ca035 100%);
    box-shadow: 0 2px 8px rgba(130, 187, 66, 0.3);
}

h4.jl-recrutement-status.jl-status-retire {
    background: linear-gradient(135deg, #999 0%, #777 100%);
    box-shadow: 0 2px 8px rgba(153, 153, 153, 0.3);
}

/* ========================================
   PANELS / CARTES MODERNES
   ======================================== */

.jl-recrutement-panel {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.jl-recrutement-panel:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ========================================
   LOGOS ÉTABLISSEMENTS & LABORATOIRES
   ======================================== */

.jl-recrutement-logo {
    text-align: center;
    padding: 15px;
}

.jl-recrutement-logo img {
    max-height: 130px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.jl-recrutement-logo h6 {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.jl-labo-logo {
    text-align: center;
    padding: 10px;
}

.jl-labo-logo img {
    max-height: 90px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.jl-labo-container {
    min-height: 75px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.jl-labo-content {
    padding: 8px 0 0 20px;
}

.jl-labo-content h6 {
    color: #0f7173;
    margin-bottom: 3px;
}

.jl-labo-grid {
    margin-bottom: 25px;
}

/* ========================================
   SECTION CANDIDAT RECRUTÉ
   ======================================== */

.jl-recrutement-recrute {
    color: white;
    background: linear-gradient(135deg, #4ca15f 0%, #3d8a4d 100%);
    padding: 20px;
    margin-top: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(76, 161, 95, 0.3);
}

.jl-recrutement-recrute h5 {
    padding: 0;
    color: white;
    font-weight: 500;
    margin-bottom: 10px;
}

.jl-recrutement-recrute .jl-recrute-name {
    padding: 10px 0;
    color: white;
    font-size: 16px;
}

.jl-recrutement-recrute a {
    color: white !important;
    text-decoration: underline;
    padding-left: 5px;
    transition: opacity 0.2s ease;
}

.jl-recrutement-recrute a:hover {
    opacity: 0.8;
}

/* ========================================
   INFOS DÉTAILLÉES
   ======================================== */

.jl-recrutement-description {
    margin-left: 15px;
    color: #333;
    line-height: 1.6;
}

.jl-recrutement-info-label {
    margin: 10px 0 3px 6px;
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.jl-recrutement-panel ul {
    margin-left: 20px;
    margin-top: 5px;
}

.jl-recrutement-panel ul li {
    margin-bottom: 5px;
    color: #666;
}

.jl-recrutement-panel ul li a {
    color: #0f7173;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.jl-recrutement-panel ul li a:hover {
    color: #0a5456;
}

/* ========================================
   BOUTON MODIFICATION
   ======================================== */

.jl-recrutement-modification {
    text-align: right;
    display: block;
    margin: 0 0 25px;
    width: 100%;
}

.jl-recrutement-modification a,
.jl-recrutement-modification button {
    display: inline-block;
}

/* ========================================
   BOUTON CONSULTER EN LIGNE
   ======================================== */

.jl-recrutement-online {
    text-align: center;
    padding: 20px 0;
}

.jl-recrutement-online p {
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.jl-recrutement-online .jl-button {
    background: #0f7173;
    color: white;
    border-radius: 4px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-weight: 500;
}

.jl-recrutement-online .jl-button:hover {
    background: #0a5456;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 113, 115, 0.3);
}

/* ========================================
   VIEWER PDF
   ======================================== */

.jl-recrutement-pdf {
    margin-top: 30px;
}

.jl-recrutement-pdf .su-document {
    min-height: 586px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 959px) {
    .jl-recrutement-logo img {
        max-height: 100px;
    }

    .jl-labo-logo img {
        max-height: 70px;
    }

    .jl-labo-content {
        padding-left: 15px;
    }
}

@media (max-width: 639px) {
    .jl-recrutement-panel {
        padding: 15px;
    }

    h5.jl-section-title {
        padding: 6px 10px;
        font-size: 14px;
    }

    .jl-recrutement-recrute {
        padding: 15px;
    }

    .jl-labo-container {
        flex-direction: column;
        text-align: center;
    }

    .jl-labo-content {
        padding: 10px 0 0 0;
    }
}

/* ========================================
   UTILITAIRES
   ======================================== */

a, a:hover, a:focus, a:active {
    text-decoration: underline;
}

/* Tooltip UIkit */
[jl-tooltip] {
    cursor: help;
}
