/* ====== WRAPPER & GÉNÉRAL ====== */
.ks-profil-linkedin-wrap {
    background: #fff;
    box-shadow: 0 2px 12px #e7eaf3;
    border-radius: 18px;
    padding: 32px;
    max-width: 720px;
    margin: 30px auto 30px auto;
}

/* ====== HEADER DU PROFIL ====== */
.ks-profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.ks-photo img,
.ks-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #f3f3f3;
    background: #e5e7eb;
}

/* ====== INFOS PRINCIPALES ====== */
.ks-main-infos h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #183888;
}
.ks-code-unique-box {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ks-code-unique-label { font-weight: 700; color: #254b88; }
.ks-code-unique-value {
    font-weight: 600;
    padding: 3px 11px;
    background: #e7f3ff;
    border-radius: 8px;
}
.ks-btn-copy-code {
    margin-left: 10px;
    padding: 3px 13px;
    background: #183888;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s;
}
.ks-btn-copy-code:hover { background: #254b88; }
.ks-row { margin-bottom: 3px; }
.ks-label { color: #555; font-weight: 600; margin-right: 4px; }
.ks-value { color: #183888; }

.ks-modifier-profil-btn {
    background: #f59e42;
    color: #fff;
    padding: 10px 24px;
    border-radius: 13px;
    font-weight: 700;
    box-shadow: 0 2px 12px #dbeafe;
    text-decoration: none;
    transition: background 0.15s;
}
.ks-modifier-profil-btn:hover { background: #fa7a10; }

.ks-profil-section { margin-top: 32px; }

/* ====== ONGLET & TABS ====== */
.ks-tabs-bar {
    display: flex;
    border-bottom: 2px solid #e5e8ef;
    margin-bottom: 18px;
}
.ks-tab-btn {
    background: none;
    border: none;
    color: #254b88;
    font-weight: 600;
    font-size: 1.06em;
    padding: 12px 34px;
    border-radius: 18px 18px 0 0;
    cursor: pointer;
    margin-right: 8px;
    transition: background 0.2s;
}
.ks-tab-btn.active, .ks-tab-btn:hover {
    background: #254b88;
    color: #fff;
}
.ks-tabs-content {
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 12px #e7eaf3;
    padding: 28px 24px;
}
.ks-tab-content { display: none; }
.ks-tab-content.active { display: block; }

/* ====== BOUTONS / LINKS ====== */
.ks-cv-link {
    display: inline-block;
    margin-right: 14px;
    background: #f1f1f1;
    color: #183888;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.ks-cv-link:hover { background: #254b88; color: #fff; }

.ks-btn-fullscreen {
    background: #254b88;
    color: #fff;
    border: none;
    padding: 11px 28px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px #dbeafe;
    cursor: pointer;
    transition: background 0.2s;
}
.ks-btn-fullscreen:hover { background: #183888; color: #fff; }

.ks-profil-linkedin-wrap:fullscreen {
    overflow-y: auto !important;
    max-height: 100vh !important;
    box-sizing: border-box;
    padding-bottom: 30px;
}

/* ====== LISTE DES PROFILS (cards) ====== */
.ks-list-profils {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: flex-start;
}
.ks-profil-card {
    background: #fff;
    box-shadow: 0 2px 12px #e1e8f6;
    border-radius: 13px;
    padding: 18px 20px;
    max-width: 430px;
    min-width: 260px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.16s, transform 0.13s;
    border: 1.2px solid #e2e8f0;
}
.ks-profil-card:hover {
    box-shadow: 0 8px 32px #d8e4fa;
    transform: translateY(-4px) scale(1.014);
}
.ks-profil-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 9px;
    border: 2px solid #e6ebf5;
    object-fit: cover;
    background: #f2f6fc;
}
.ks-btn-view {
    background: #2196f3;
    color: #fff;
    padding: 6px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
    transition: background 0.16s;
    border: none;
    cursor: pointer;
}
.ks-btn-view:hover { background: #254b88; }
.ks-btn-edit {
    background: #f59e42;
    color: #fff;
    padding: 6px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.ks-btn-edit:hover { background: #fa7a10; }
.ks-creer-profil-btn, .ks-mon-profil-btn {
    display: inline-block;
    background: #254b88;
    color: #fff;
    padding: 10px 24px;
    border-radius: 13px;
    font-weight: 700;
    box-shadow: 0 2px 12px #dbeafe;
    text-decoration: none;
    transition: background 0.14s;
}
.ks-creer-profil-btn:hover, .ks-mon-profil-btn:hover { background: #183888; }

/* ====== RESPONSIVE : cards et wrapper sur mobile ====== */
@media (max-width: 900px) {
    .ks-profil-linkedin-wrap { max-width: 97vw; padding: 8vw 2vw; }
    .ks-profile-header { flex-direction: column; gap: 10px; }
    .ks-photo img, .ks-photo-placeholder { width: 84px; height: 84px; }
    .ks-main-infos h1 { font-size: 1.3rem; }
    .ks-list-profils { flex-direction: column; gap: 18px; }
    .ks-profil-card { min-width: 0; width: 100%; }
}

/* ====== PARCOURS CRÉATION DE PROFIL (premium) ====== */
#ks-parcours-profil-wrap {
    max-width: 500px;
    margin: 60px auto 40px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 24px #e5e8ee;
    padding: 35px 32px 32px 32px;
}
.ks-step-box { text-align: center; }
.ks-choices-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 30px;
}

/* ====== BOUTONS DE CHOIX SPORT (fond toujours blanc) ====== */
.ks-choice-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid #dde4f1;
    border-radius: 40px;
    box-shadow: 0 2px 18px #e4e8f5;
    padding: 13px 34px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.14s, border 0.13s;
}
.ks-choice-btn span {
    color: #183888;
    font-weight: 600;
    font-size: 1.18rem;
    letter-spacing: 1px;
}
/* Hover/click : fond reste blanc, texte et bord changent */
.ks-choice-btn:hover:enabled,
.ks-choice-btn:focus:enabled {
    background: #fff !important;
    color: #101924;
    border-color: #254b88;
}
.ks-choice-btn:hover span,
.ks-choice-btn:focus span {
    color: #254b88;
}
/* Icône SVG bien ronde, pas de fond parasite */
.ks-choice-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    display: block;
}
.ks-choice-btn:disabled {
    opacity: .54;
    cursor: not-allowed;
    filter: grayscale(0.25) brightness(1.17);
}
