.clinical-images {
    padding: 40px 0 10px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.images-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.clinical-img-item {
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 98, 204, 0.08);
}

.clinical-img-item img {
    display: block;
    width: 100%;
    height: auto;
}

.registration-section {
    padding: 30px 0 70px;
    background: #ffffff;
}

.registration-embedded {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.form-wrapper {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 18px 50px rgba(18, 62, 110, 0.10);
    border: 1px solid #e8f0fb;
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    margin: 0 0 12px;
    color: var(--primary-color);
    font-size: 2rem;
}

.form-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

.clinical-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
}

.required {
    color: #e53935;
    margin-right: 4px;
}

.form-group input,
.form-group textarea,
.area-picker {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9e5f2;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text-main);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.area-picker:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 98, 204, 0.10);
    outline: none;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.full-width {
    width: 100%;
}

.area-picker {
    min-height: 54px;
    display: flex;
    align-items: center;
}

.form-actions {
    text-align: center;
    margin-top: 8px;
}

.privacy-consent {
    margin: 0 0 12px;
    text-align: center;
    padding: 0;
    background: transparent;
    border: 0;
}

.consent-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    margin-top: 0;
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

body.modal-open {
    overflow: hidden;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.privacy-modal.is-visible {
    display: block;
}

.privacy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 24, 44, 0.58);
    backdrop-filter: blur(2px);
}

.privacy-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(10, 37, 64, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.privacy-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #eef5ff;
    color: #174ea6;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.privacy-modal__close:hover {
    background: #dcecff;
    transform: scale(1.04);
}

.privacy-modal__header {
    padding: 28px 64px 18px 28px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #e6eef8;
}

.privacy-modal__header h3 {
    margin: 0 0 10px;
    font-size: 1.32rem;
    line-height: 1.5;
    color: #0f2744;
}

.privacy-modal__header p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.privacy-modal__body {
    padding: 24px 28px;
    overflow-y: auto;
    max-height: calc(100vh - 220px);
    font-size: 0.98rem;
    line-height: 1.9;
    color: #25364a;
    scroll-behavior: smooth;
}

.privacy-modal__body p {
    margin: 0 0 14px;
}

.privacy-modal__body h4 {
    margin: 24px 0 12px;
    font-size: 1.06rem;
    color: #0f4ea8;
}

.privacy-modal__body ol {
    margin: 0 0 14px 22px;
    padding: 0;
}

.privacy-modal__body li {
    margin-bottom: 10px;
}

.privacy-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 28px 24px;
    border-top: 1px solid #e6eef8;
    background: #fff;
}

.privacy-modal__btn {
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0062cc 0%, #00a0ff 100%);
    box-shadow: 0 12px 24px rgba(0, 98, 204, 0.18);
    cursor: pointer;
}

.btn-submit {
    min-width: 220px;
    border: none;
    border-radius: 999px;
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0062cc 0%, #00a0ff 100%);
    box-shadow: 0 14px 30px rgba(0, 98, 204, 0.20);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 98, 204, 0.25);
}

.btn-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.form-tip {
    margin: 16px 0 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.info-section {
    padding: 0 0 60px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.info-card {
    background: #f9fbff;
    border: 1px solid #e8f0fb;
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #eaf3ff;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.info-card h4 {
    margin: 0 0 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.info-card p {
    margin: 0;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .clinical-images {
        padding: 25px 0 0;
    }

    .images-wrapper {
        gap: 18px;
    }

    .registration-section {
        padding: 24px 0 48px;
    }

    .registration-embedded {
        padding: 16px;
    }

    .form-wrapper {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .form-header {
        margin-bottom: 24px;
    }

    .form-header h2 {
        font-size: 1.55rem;
    }

    .form-header p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .form-row,
    .info-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .clinical-form {
        gap: 18px;
    }

    .form-group input,
    .form-group textarea,
    .area-picker {
        padding: 13px 14px;
        font-size: 0.96rem;
    }

    .btn-submit {
        width: 100%;
        min-width: 0;
        padding: 15px 24px;
    }

    .info-section {
        padding: 0 0 40px;
    }
}
