:root {
    --primary: #0d6efd;
    --primary-dark: #0a3d8f;
    --bg-soft: #eff5ff;
    --panel: #ffffff;
    --muted: #607086;
    --border: rgba(13, 110, 253, 0.15);
    --shadow: 0 20px 60px rgba(24, 32, 62, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(135deg, #eef5ff 0%, #dfeafc 100%);
    color: #1b2a42;
}

.registration-shell {
    padding: 0;
}

.poster-column {
    padding: clamp(1rem, 2vw, 2rem);
}

.event-poster {
    position: relative;
    min-height: 760px;
    border-radius: 28px;
    overflow: hidden;
    background: url('../../affiche.jpg') center/cover no-repeat;
    box-shadow: var(--shadow);
}

.form-column {
    padding: clamp(1rem, 2vw, 2rem);
}

.form-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    margin-left: auto;
    max-width: 540px;
}

.brand-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 180px);
    max-height: 110px;
    object-fit: contain;
}

.eyebrow {
    display: inline-block;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.12);
    color: var(--primary-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
}

.form-card h2 {
    margin-top: 0.8rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.required {
    color: #d63384;
}

.form-label {
    font-weight: 600;
    color: #2d3a52;
    margin-bottom: 0.45rem;
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 0.8rem 0.95rem;
    background: #f9fbff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(13, 110, 253, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.14);
    background: #fff;
}

.form-check-label {
    color: var(--muted);
    font-size: 0.94rem;
}

.btn-submit {
    border-radius: 14px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), #0a58ca);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(13, 110, 253, 0.25);
}

.modal-content {
    border-radius: 24px;
}

.modal-title {
    font-weight: 700;
    color: #1d2d45;
}

.rib-box {
    display: inline-block;
    background: #f3f8ff;
    border: 1px solid rgba(13, 110, 253, 0.15);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-size: 1.05rem;
    color: #12366d;
}

.alert {
    border-radius: 14px;
}

@media (max-width: 991.98px) {
    .event-poster,
    .poster-content {
        min-height: 480px;
    }

    .form-card {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .poster-column,
    .form-column {
        padding: 0.9rem;
    }

    .event-poster,
    .poster-content {
        min-height: 390px;
        border-radius: 20px;
    }

    .form-card {
        border-radius: 20px;
    }
}
