﻿/* ── Group registration form ── */

/* Card layout per section */
.GroupRegistration .block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 0;
}


.GroupRegistration fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.GroupRegistration fieldset legend {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    padding: 0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    width: 100%;
    float: none;
}

.GroupRegistration section.row {
    margin-bottom: 1.25rem;
}

/* Table form layout */
.GroupRegistration table {
    border-collapse: separate;
    border-spacing: 0 0.3rem;
}

.GroupRegistration table td {
    padding: 0.4rem 0.5rem;
    vertical-align: middle;
}

.GroupRegistration table td:first-child {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
    padding-right: 1rem;
}

/* Inputs */
.GroupRegistration input[type="text"],
.GroupRegistration textarea,
.GroupRegistration select,
.GroupRegistration input[type="url"],
.GroupRegistration input[type="tel"],
.GroupRegistration input[type="email"] {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    outline: none;
    box-sizing: border-box;
}

.GroupRegistration input[type="text"]:focus,
.GroupRegistration textarea:focus,
.GroupRegistration select:focus,
.GroupRegistration input[type="url"]:focus,
.GroupRegistration input[type="tel"]:focus,
.GroupRegistration input[type="email"]:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* Submit button */
.GroupRegistration .btn-warning {
    display: inline-block;
    padding: 0.65rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: transform 0.15s, box-shadow 0.2s;
}

.GroupRegistration .btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.GroupRegistration .mandatoryTip {
    color: #ef4444;
}

/* Radio buttons */
.GroupRegistration input[type="radio"] {
    accent-color: #3b82f6;
}

/* ── Modal (CGV) ── */

.modal {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    max-height: 100dvh;
    width: min(100dvw, 748px);
}

.modal__header {
    align-items: center;
    display: flex;
    font-size: 1.5rem;
    justify-content: space-between;
    padding: 1rem;
}

.k4-link-close {
    text-decoration: none;
}

.modal__body {
    flex-grow: 1;
    flex-shrink: 1;
    overflow-y: scroll;
    padding-inline: 2rem;
}

.modal__actions {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}