/*!
Theme Name: ipac
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ipac
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ipac is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  font-family: "Poppins", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", sans-serif;
}

#page {
  width: 100%;
}

.container {
  display: flex;
  width: 100%;
  background: white;
  overflow: hidden;
  height: 100vh;
}

.sidebar {
  width: 24rem;
  background: #0d2366;
  color: white;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
}

.fixed-side-bar {
  width: 100%;
  padding: 30px 20px;
}

.logo {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
  max-width: 120px;
  filter: drop-shadow(1px 0px 3px #fff);
}

.logo h1 {
  font-size: 1.4rem;
  margin-top: 15px;
  color: #fff;
}

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

.step-sidebar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.5;
}

.step-sidebar.active {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  border-left: 3px solid #fff;
}

.step-sidebar.active .step-svg i {
  color: #991b1b;
}

.step-svg {
  width: 40px;
  height: 40px;
  background: #fecaca;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-svg i {
  font-size: 1.2rem;
}

.step-count {
  line-height: 1.4;
}

.step-count span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  background: #f8f9fa;
}

.tow-columns-page {
  display: flex;
  min-height: 100vh;
}

.left-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  /* optional: add a slight border to separate */
  border-right: 1px solid #e0e0e0;
}

.chirugien-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  padding: 2rem;
}

.right-column.consentement-col {
  justify-content: center;
  align-items: center;
}

.right-column header {
  padding-bottom: 20px;
}

.form-user-info h1 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 40px;
}

.step-content-inner {
  max-width: 62%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.step-container {
  display: none;
  flex-direction: column;
  height: 100%;
}

.step-container.active {
  display: flex;
}

.video-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
}

.video-title span {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.video-title h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d2366;
  margin-top: 10px;
}

.video-title h2 i {
  color: #e63946;
  background: rgba(230, 57, 70, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.video-container {
  background: #0d2366;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.video-container video {
  width: 100%;
  display: block;
}

.after-video {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 100px;
  display: none;
}

.after-video p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.after-video ul {
  padding-left: 25px;
  margin-bottom: 20px;
}

.after-video li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.step-checkbox {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #e9f7fe;
  border-left: 4px solid #0d2366;
  padding: 20px;
  border-radius: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.step-checkbox label {
  display: block;
  cursor: pointer;
}

.step-checkbox input {
  margin-right: 10px;
  transform: scale(1.2);
}

.step-checkbox small {
  display: block;
  margin-top: 10px;
  line-height: 1.6;
  color: #495057;
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.btn {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-main {
  background: #0d2366;
  color: white;
}

.btn-main:hover {
  background: #0e1a4b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 42, 108, 0.3);
}

.progress-section {
  position: fixed;
  bottom: 0px;
  right: 20px;
  width: calc(100% - 27rem);
  background: #fff;
  padding: 10px;
}

.btn-main:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: #e9ecef;
  color: #495057;
}

.btn-secondary:hover {
  background: #dee2e6;
}

.progress-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-bar {
  width: 90%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #035abeff;
  width: 0%;
  transition: width 0.5s ease;
}

.step-indicator {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* PDF Form Styles */
.pdf-form-container {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0d2366;
}

.form-control {
  min-width: 340px;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #0d2366;
  box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

#signature-canvas {
  width: 100%;
  height: 200px;
  border: 1px solid #ccc;
  background: #fff;
}

.signature-section {
  margin-top: 30px;
  border-top: 1px solid #e9ecef;
  padding-top: 25px;
}

.signature-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #0d2366;
  font-weight: 600;
}

.signature-pad-container {
  display: flex;
  gap: 37px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 15px;
  background: white;
  margin-bottom: 15px;
  width: fit-content;
}

.signature-pad {
  background: #f8f9fa;
  border: 1px dashed #ced4da;
  border-radius: 5px;
  cursor: crosshair;
}

.signature-box {
  display: flex;
  gap: 30px;
}

.signature-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.signature-actions .btn {
  padding: 10px 50px;
}

.signature-actions button {
  flex: 1;
}

.signature-preview {
  display: none;
  text-align: center;
}

.signature-preview img {
  max-width: 300px;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.form-note {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.preview-container {
  background: #e9f7fe;
  border-left: 4px solid #0d2366;
  padding: 20px;
  border-radius: 5px;
  margin-top: 25px;
}

.preview-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #0d2366;
  font-weight: 600;
}

.preview-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.preview-field {
  flex: 1;
  min-width: 200px;
}

.preview-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.preview-value {
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ced4da;
  min-height: 44px;
}

.signature-preview-container {
  margin-top: 15px;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-wrapper:hover .video-controls {
  opacity: 1;
}

.video-controls button {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.video-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.timer {
  color: white;
  font-size: 14px;
  margin: 0 10px;
  flex-grow: 1;
  text-align: center;
  font-family: monospace;
}

video::-webkit-media-controls {
  display: none !important;
}

video {
  width: 100%;
  display: block;
}

.video-container:-webkit-full-screen {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.video-container:-webkit-full-screen video {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.video-container:-webkit-full-screen .video-controls {
  bottom: 20px;
  left: 20px;
  right: 20px;
  border-radius: 10px;
}

.video-center-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: opacity 0.3s ease;
}

.video-center-controls button {
  background: rgb(13 35 102);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-center-controls:hover {
  opacity: 1;
}

.video-wrapper:hover .video-center-controls {
  opacity: 1;
}

.video-center-controls.hidden {
  display: none;
}

.video-controls .play-btn {
  /* display: none; */
}

html {
  scroll-behavior: smooth;
}

div#step4-content {
  /* margin-bottom: 200px; */
}

.form-group-dflex {
  display: flex;
  margin-top: 30px;
  gap: 30px;
}

.header-logo {
  display: flex;
  justify-content: center;
}

.header-logo img {
  max-width: 150px;
}

form#ipac-consent-form label {
  display: block;
  padding-left: 0.75rem;
  font-size: 1rem;
  color: #1a2a6c;
  font-weight: 700;
  line-height: 1.25rem;
  margin-bottom: 8px;
}

form#ipac-consent-form,
#ipac-login-form {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  max-width: 340px;
  margin: 0 auto;
}

form#ipac-consent-form input {
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  width: 100%;
}

#ipac-adult-email {
  width: 100%;
}

#ipac-guardian-fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

input#ipac_patient_minor {
  width: initial !important;
  min-width: initial !important;
}

.header-links {
  margin: 10px 0 20px;
}

.header-links .account {
  text-align: right;
  padding: 10px;
}

.header-links .account a {
  font-size: 14px;
  padding: 0 1rem;
  color: #1a2a6c;
  font-weight: 700;
  text-decoration: none !important;
}

.login-link {
  background: rgb(218 231 240);
  padding: 10px 15px !important;
  border-radius: 40px;
}

.login-link:hover {
  color: #fff !important;
  background: #1a2a6c;
  transition: 30ms ease-in-out;
}
.info-preview-title span{
      margin-top: 6px !important;
    margin-left: 50px;
}
.info-preview-title span{
    color: #4d5358;
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 24px;
}
.info-preview {
  font-size: 23px;
  margin-bottom: 24px; 
}

.pre-pdf-preview {
  display: none;
}

.last-p ul {
  margin-top: 10px;
  margin-left: 20px;
}

.pre-pdf-preview {
  background: #fff;
  padding: 20px;
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.header-title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.form-style {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.form-style label {
  display: block;
  padding-left: 0.75rem;
  font-size: 1rem;
  color: #1a2a6c;
  font-weight: 700;
  line-height: 1.25rem;
  margin-bottom: 8px;
}

.form-style input[type="text"],
.form-style input[type="email"],
.form-style input[type="password"] {
  min-width: 100%;
  padding: 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-style input[type="checkbox"] {
  width: initial !important;
  min-width: initial !important;
}

.header-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-row {
  width: 100%;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
}

.sidebar {
  width: 370px;
  background-color: #0e1c46;
  color: white;
  padding: 2rem 1rem;
  position: relative;
}

.sidebar .logo2 {
  padding: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar .logo2 img {
  max-width: 180px;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  margin: 1.5rem 0;
}

.sidebar nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-content {
  flex: 1;
  padding: 2rem;
  background: #f5f6fa;
}

.main-content h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.consentements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-date {
  color: #666;
  margin-bottom: 1rem;
}

.btn-download {
  text-decoration: none;
  color: #0e1c46;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 1px solid #0e1c46;
  border-radius: 4px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.consentement-details {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.ipac-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.ipac-modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 550px;
  margin: 10% auto;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease;
}

.ipac-modal-content h2 {
  color: #0077b6;
  margin-bottom: 10px;
}

.ipac-modal-content p {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.ipac-close {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}

#ipacStartBtn {
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
}

#ipacStartBtn:hover {
  background-color: #005f8d;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 768px) {
  .container {
    padding-top: 30px;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  div#step4-content {
    padding: 0 15px;
  }

  .form-group-dflex {
    gap: 5%;
  }

  .form-group {
    width: 45%;
  }

  .form-control {
    width: 100%;
    min-width: fit-content;
  }

  .sidebar {
    display: none;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0d2366;
    color: white;
    padding: 10px 15px;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .mobile-header .logo img {
    max-width: 60px;
  }

  .step-title-mobile {
    font-size: 0.9rem;
    text-align: right;
  }

  .content {
    padding-top: 70px;
    padding-bottom: 120px;
  }

  .step-content-inner {
    max-width: 100%;
    padding: 0 15px;
  }

  .progress-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  .step-buttons {
    gap: 10px;
  }

  .video-center-controls button {
    width: 70px;
    height: 70px;
  }

  .logo {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .signature-pad-container,
  .signature-box {
    flex-direction: column;
  }
}

@media only screen and (min-width: 769px) {
  .mobile-header {
    display: none;
  }
}

@media only screen and (max-width: 567px) {
  .content {
    padding-left: 0px;
    padding-right: 0px;
  }

  .progress-bar {
    width: 80%;
  }

  .tow-columns-page .left-column {
    display: none;
  }

  .tow-columns-page {
    flex-direction: column;
    min-height: auto;
  }

  .right-column {
    width: 100%;
    padding: 1rem;
    min-height: 100vh;
    justify-content: flex-start;
  }

  .header-links {
    justify-content: space-between;
  }

  .header-links .account {
    padding: 0px;
  }

  .header-links .account a {
    font-size: 12px;
    padding: 0;
  }

  .header-logo img {
    max-width: 75px;
  }

  form#ipac-consent-form label {
    font-size: 14px;
  }
}