body.register-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 60%, #1565c0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    width: 100%;
    max-width: 1140px;
}

.register-header img {
    max-height: 70px;
    flex-shrink: 0;
}

.register-header h1 {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.lang-modal-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    flex-shrink: 0;
    white-space: nowrap;
}

.lang-modal-btn:hover {
    background: rgba(255, 255, 255, .30);
    color: #fff;
}

.lang-modal-btn img {
    max-height: 18px;
    width: auto;
    border-radius: 2px;
}

.lang-modal-btn .fa-chevron-down {
    font-size: .65rem;
    opacity: .7;
}

.register-cols {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 1140px;
    flex-wrap: wrap;
}

.register-panel {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    padding: 28px 24px;
}

/* Nouveau client : 2/3 */
.register-cols > .register-panel {
    flex: 2;
    min-width: 420px;
}

/* Colonne droite : 1/3 */
.register-right-col {
    flex: 1;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-panel h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a237e;
    border-bottom: 2px solid #e3e8f0;
    padding-bottom: 10px;
}

/* ── Pricing Cards ─────────────────────────────────────────── */
.pricing-cards-row {
    display: flex;
    gap: 10px;
    margin: 8px 0 12px;
    flex-wrap: nowrap;
}

.pricing-card {
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    padding: 14px 10px 12px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.pricing-card-demo {
    background: #f0fff4;
    border-color: #28a745;
}

.pricing-card-month {
    background: #f0f4ff;
    border-color: #4361ee;
}

.pricing-card-year {
    background: #f8f0ff;
    border-color: #7c3aed;
}

.pricing-card-year.recommended {
    border-color: #7c3aed;
    box-shadow: 0 4px 18px rgba(124, 58, 237, .25);
}

.pc-badge-recommended {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #7c3aed;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.pc-save-badge {
    display: inline-block;
    background: #fef08a;
    color: #713f12;
    font-size: .6rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    margin-bottom: 4px;
}

.pc-title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #555;
    margin-bottom: 4px;
}

.pc-price {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: #1a237e;
}

.pc-price-sub {
    font-size: .62rem;
    color: #888;
    margin-bottom: 6px;
}

.pc-features {
    list-style: none;
    padding: 0;
    margin: 6px 0 10px;
    text-align: left;
    font-size: .65rem;
    color: #444;
    flex-grow: 1;
}

.pc-features li::before {
    content: '✓ ';
    color: #28a745;
    font-weight: 700;
}

.plan-btn {
    display: block;
    width: 100%;
    font-size: .72rem;
    font-weight: 700;
    padding: 7px 6px;
    border-radius: 7px;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .1s;
    margin-top: auto;
}

.plan-btn:hover {
    opacity: .88;
    transform: scale(1.02);
}

.plan-btn:active {
    transform: scale(.97);
}

.plan-demo {
    background: #28a745;
    color: #fff;
}

.plan-month {
    background: #4361ee;
    color: #fff;
}

.plan-year {
    background: #7c3aed;
    color: #fff;
}

@media (max-width: 420px) {
    .pricing-cards-row {
        flex-direction: column;
    }

    .pc-features {
        display: none;
    }
}

#stripe-form {
    display: none;
    margin-top: 16px;
}

#stripe-form .form-group label {
    font-size: .85rem;
    color: #555;
}

#pwa-install-banner {
    display: none;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 860px;
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
    z-index: 1030;
    color: #5a3e00;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

#pwa-install-banner p {
    display: inline;
    margin: 0 12px 0 0;
    font-weight: 500;
    color: #5a3e00;
}

#btn-dismiss-banner {
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 6px;
    text-decoration: none;
    color: #5a3e00;
    opacity: .7;
}
#btn-dismiss-banner:hover {
    opacity: 1;
}

@media (max-width:768px) {
    .register-cols {
        flex-direction: column-reverse;
    }

    .register-cols > .register-panel,
    .register-right-col {
        flex: 1;
        min-width: 0;
    }

    .register-header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .register-header h1 {
        order: 3;
        flex-basis: 100%;
        text-align: center;
    }

    .lang-modal-btn {
        order: 2;
    }
}

/* ── Intl Tel Input ──────────────────────────────────────────────────────── */
.iti {
    width: 100%;
}

/* ── Grille de sélection de langue (modale) ─────────────────────────────── */
.lang-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lang-modal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 6px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: .8rem;
    font-weight: 600;
    transition: background .15s;
    border: 2px solid transparent;
}

.lang-modal-item:hover {
    background: #f0f4ff;
    text-decoration: none;
    color: #1a237e;
}

.lang-modal-item.active {
    background: #e8f0fe;
    border-color: #1565c0;
    color: #1a237e;
}

.lang-modal-item img {
    width: 36px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

/* ── Panel PWA (colonne droite) ─────────────────────────────────────────── */
.pwa-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.pwa-panel-icon {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 6px;
}

.pwa-panel-text {
    width: 100%;
}

.pwa-panel-text strong {
    display: block;
    color: #1a237e;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pwa-panel-text span {
    color: #555;
    font-size: .85rem;
}

#pwa-card {
    display: none;
}

/* Instructions d'installation iOS */
.pwa-ios-steps {
    text-align: left;
    padding-left: 20px;
    margin: 0;
    font-size: .83rem;
    color: #444;
    line-height: 1.8;
}

.pwa-ios-steps li {
    margin-bottom: 2px;
}
