* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.hero {
    background: #003b5c;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.location {
    margin-bottom: 20px;
}

.organisateur {
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: #00a3e0;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.section {
    padding: 60px 0;
}

.section h2 {
    margin-bottom: 30px;
    color: #003b5c;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.programme {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.programme-item {
    background: white;
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.time {
    min-width: 160px;
    font-weight: bold;
    color: #003b5c;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 12px;
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2rem;
    }

    .programme-item {
        flex-direction: column;
    }

    .time {
        min-width: auto;
    }
.small-hero {
    padding: 45px 0;
}

.btn-secondary {
    display: inline-block;
    margin-top: 20px;
    color: white;
    text-decoration: underline;
}

.form-card {
    max-width: 900px;
    margin: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccd3dd;
    border-radius: 8px;
    font-size: 1rem;
}

.radio-group label,
.conditional-box label {
    font-weight: normal;
    margin-bottom: 12px;
}

.radio-group {
    margin-bottom: 25px;
}

.conditional-box {
    background: #eef7fb;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.hidden {
    display: none !important;
}

.help-text {
    margin-bottom: 25px;
    color: #555;
}

.slot-block {
    margin-bottom: 35px;
}

.slot-block h3 {
    color: #003b5c;
    margin-bottom: 15px;
}

.conference-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f8fafc;
    padding: 15px;
    border: 1px solid #dce3ea;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: normal;
}

.conference-option input {
    margin-top: 5px;
}

.conference-option em {
    color: #0075a8;
    font-style: normal;
}

.conference-option.is-full {
    opacity: 0.55;
    background: #eee;
}

.conference-option.is-full em {
    color: #a00000;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
  .question-block {
    margin-bottom: 25px;
}

.question-title {
    font-weight: bold;
    margin-bottom: 12px;
    color: #003b5c;
}

.choice-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #dce3ea;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    font-weight: normal;
    cursor: pointer;
}

.choice-card:hover {
    background: #eef7fb;
}
  .form-section {
    margin-bottom: 40px;
}

.aligned-grid {
    align-items: end;
}

.form-field label {
    min-height: 24px;
}

.day-summary {
    background: #f4f8fb;
    border-left: 5px solid #003b5c;
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.day-summary h3 {
    color: #003b5c;
    margin-bottom: 12px;
}

.day-summary ul {
    padding-left: 20px;
}

.day-summary li {
    margin-bottom: 8px;
}

.choice-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.compact-choice {
    min-width: 140px;
    justify-content: flex-start;
}

.form-card h2 {
    border-bottom: 1px solid #dce3ea;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

input[type="text"],
input[type="email"] {
    min-height: 48px;
}

button.btn-primary {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
  .disabled-choice {
    opacity: 0.45;
    pointer-events: none;
}

.conference-option {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 10px !important;
    padding: 12px 15px;
    gap: 10px;
    box-sizing: border-box;
}

.conference-option input {
    flex: 0 0 auto;
}

.conference-text {
    display: block !important;
    flex: 1;
}

.conference-option em {
    margin-left: 4px;
}
.conference-line {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 10px;
}

.conference-line .conference-option {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    gap: 10px;
}

.conference-line .conference-text {
    display: block !important;
}
  .edit-panel {
    margin-bottom: 18px;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.edit-panel-title {
    width: 100%;
    border: none;
    background: #f4f8fb;
    color: #003b5c;
    padding: 18px 22px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
}

.edit-panel-title:hover,
.edit-panel-title.is-open {
    background: #e8f2f8;
}

.edit-panel-title::after {
    content: '+';
    float: right;
    font-size: 1.3rem;
}

.edit-panel-title.is-open::after {
    content: '–';
}

.edit-panel-content {
    padding: 25px;
}
  .admin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    color: #003b5c;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 2rem;
    font-weight: bold;
}

.table-wrapper {
    overflow-x: auto;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.admin-table {
    width: 100%;
    min-width: 1500px;
    border-collapse: separate;
    border-spacing: 0 14px;
    table-layout: fixed;
}

.admin-table thead th {
    background: #003b5c;
    color: white;
    padding: 18px 20px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-table thead th:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.admin-table thead th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.admin-table tbody td {
    background: white;
    padding: 18px 20px;
    text-align: center;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-size: 0.95rem;
}

.admin-table tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.admin-table tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.admin-table tbody tr:hover td {
    background: #f7fbfe;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
    width: 180px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    width: 320px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3),
.admin-table th:nth-child(4),
.admin-table td:nth-child(4),
.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    width: 140px;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
    width: 260px;
}
  /* ADMIN CONFERENCES - FORÇAGE AFFICHAGE LARGE */
.admin-table {
    width: 100% !important;
    min-width: 1500px !important;
    border-collapse: separate !important;
    border-spacing: 18px 12px !important;
    table-layout: fixed !important;
}

.admin-table th,
.admin-table td {
    padding: 18px 24px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.admin-table th {
    background: #003b5c !important;
    color: #ffffff !important;
}

.admin-table td {
    background: #ffffff !important;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
    width: 220px !important;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    width: 360px !important;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3),
.admin-table th:nth-child(4),
.admin-table td:nth-child(4),
.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    width: 160px !important;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
    width: 280px !important;
}
  .admin-conferences-page .admin-wide-container {
    max-width: 1600px !important;
    width: 96% !important;
}

.admin-conferences-page .card {
    padding: 40px !important;
}

.admin-conferences-page .table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
}

.admin-conferences-page .admin-table {
    width: 100% !important;
    min-width: 1300px !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.admin-conferences-page .admin-table th,
.admin-conferences-page .admin-table td {
    padding: 18px 26px !important;
    text-align: center !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #dce3ea !important;
    white-space: nowrap !important;
}

.admin-conferences-page .admin-table th {
    background: #003b5c !important;
    color: white !important;
}

.admin-conferences-page .admin-table th:nth-child(1),
.admin-conferences-page .admin-table td:nth-child(1) {
    width: 180px !important;
}

.admin-conferences-page .admin-table th:nth-child(2),
.admin-conferences-page .admin-table td:nth-child(2) {
    width: 260px !important;
}

.admin-conferences-page .admin-table th:nth-child(3),
.admin-conferences-page .admin-table td:nth-child(3),
.admin-conferences-page .admin-table th:nth-child(4),
.admin-conferences-page .admin-table td:nth-child(4),
.admin-conferences-page .admin-table th:nth-child(5),
.admin-conferences-page .admin-table td:nth-child(5) {
    width: 150px !important;
}

.admin-conferences-page .admin-table th:nth-child(6),
.admin-conferences-page .admin-table td:nth-child(6) {
    width: 220px !important;
}
  .conference-detail-card {
    margin-bottom: 30px;
}

.conference-detail-card h2 {
    color: #003b5c;
    margin-bottom: 10px;
}
  .pdf-link {
    display: inline-block;
    margin-left: 15px;
    font-size: 0.9rem;
    background: #00a3e0;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.pdf-link:hover {
    background: #0075a8;
}
  .invitation-only-message {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 22px;
    background: #f4f8fb;
    border: 1px solid #dce3ea;
    border-radius: 10px;
    color: #003b5c;
    font-weight: 600;
    font-size: 1rem;
}
  /* FORMULAIRE INSCRIPTION - VERSION MODERNE */

body {
    background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
}

.form-card {
    max-width: 860px;
    padding: 46px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 59, 92, 0.12);
    border: 1px solid #e3edf5;
}

.form-section {
    margin-bottom: 42px;
}

.form-card h2 {
    font-size: 1.35rem;
    color: #0f63ad;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.form-grid {
    gap: 24px;
}

.form-field label,
.form-grid label {
    color: #29465c;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    border: 1px solid #d7e2ea;
    background: #ffffff;
    border-radius: 14px;
    min-height: 52px;
    padding: 14px 16px;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: #0f63ad;
    box-shadow: 0 0 0 4px rgba(15, 99, 173, 0.12);
}

.day-summary {
    background: #f7fbff;
    border: 1px solid #dceaf5;
    border-left: 5px solid #0f63ad;
    border-radius: 18px;
}

.choice-card,
.conference-option {
    border-radius: 16px;
    border: 1px solid #dceaf5;
    background: #ffffff;
    padding: 17px 18px;
    transition: all 0.18s ease;
}

.choice-card:hover,
.conference-option:hover {
    border-color: #0f63ad;
    background: #f7fbff;
    transform: translateY(-1px);
}

.choice-card input,
.conference-option input {
    accent-color: #0f63ad;
}

.conditional-box {
    background: #f7fbff;
    border: 1px solid #dceaf5;
    border-radius: 18px;
}

.slot-block {
    background: #f7fbff;
    border: 1px solid #dceaf5;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 26px;
}

.slot-block h3 {
    color: #0f63ad;
    margin-bottom: 18px;
}

.conference-line {
    margin-bottom: 12px;
}

.conference-text strong {
    color: #1b2f40;
}

.conference-option em {
    color: #0f63ad;
}

.btn-primary {
    background: #0f63ad;
    border-radius: 14px;
    padding: 16px 28px;
    box-shadow: 0 10px 22px rgba(15, 99, 173, 0.22);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #0b4f8b;
    transform: translateY(-1px);
}

.help-text {
    color: #536b7c;
    font-size: 0.95rem;
}

.question-title {
    color: #0f63ad;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .form-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .choice-row {
        flex-direction: column;
    }

    .compact-choice {
        width: 100%;
    }

    .slot-block {
        padding: 18px;
    }
}
  .custom-header {
    background: transparent;
    padding: 42px 0 24px;
}

.header-inner {
    display: flex;
    align-items: flex-start;
    gap: 34px;
    max-width: 1100px;
    margin: 0 auto;
}

.header-logo img {
    width: 145px;
    height: auto;
    display: block;
}

.header-text h1 {
    color: #000;
    font-size: 2.3rem;
    margin-bottom: 14px;
}

.header-text .subtitle {
    color: #1f2f3d;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.header-text .location {
    color: #1f2f3d;
    margin-bottom: 18px;
}

.header-text .organisateur {
    color: #1f2f3d;
    opacity: 1;
    margin-bottom: 20px;
}

.programme ol,
.programme ul {
    margin-top: 10px;
    padding-left: 22px;
}

.programme li {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .header-logo img {
        width: 115px;
    }

    .header-text h1 {
        font-size: 1.7rem;
    }
}
  .invitation-only-message {
    background: #f7fbff;
    border: 1px solid #dceaf5;
    border-radius: 14px;
    padding: 16px 20px;
    color: #0f63ad;
    font-weight: 600;
    line-height: 1.5;
    display: inline-block;
}

.invitation-only-message a {
    color: #0f63ad;
    text-decoration: underline;
}
}