
/* ========================================================================
   GLOBAL STYLES & IMPORTS
   ======================================================================== */

@import url("https://rsms.me/inter/inter.css");

:root {
  font-family: Inter, sans-serif !important;
  font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */
}
html {
  scroll-behavior: smooth;
  background-color: rgb(26, 43, 73);
}

.app-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0 !important;
  background-color: #ffffff;
  padding-top: 0;
  box-shadow: 0 2px 5px 0 rgba(214, 214, 214, 0.1);
  margin: 0;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

h3 {
  color: #0d223c;
  font-size: 48px;
  font-weight: 500;
  text-align: center;
  font-family: Inter, sans-serif !important;
}

/* ========================================================================
   FERAMAT TOOLBAR & NAVIGATION
   ======================================================================== */
.feramat-toolbar {
  border: none;
  font-weight: 600;
  padding: 10px !important;
}

[data-mantine-color-scheme="light"] .feramat-toolbar {
  background-color: #1a2b49;
  color: white;
}

[data-mantine-color-scheme="dark"] .feramat-toolbar {
  background-color: var(--mantine-color-feramat-8);
  color: var(--mantine-color-bright);
}

.toolbar-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feramat-header {
  padding-left: 0;
  position: relative;
  margin-bottom: 61px;
  border: none;
  font-weight: 600;
}

.feramat-user-menu {
  color: white !important;
  background-color: #9b59b6;
  padding: 5px 10px;
  border-radius: 5px;
}

.feramat-navbar {
  border: none;
  font-weight: 600;
}

[data-mantine-color-scheme="light"] .feramat-navbar {
  background-color: #1a2b49;
  color: white;
}

[data-mantine-color-scheme="dark"] .feramat-navbar {
  background-color: var(--mantine-color-feramat-8);
  color: var(--mantine-color-bright);
}

.feramat-navbar-logo {
  z-index: 1000;
}

.feramat-navlink {
  color: white;
  transition: background-color 0.3s ease;
}

.feramat-navlink:active {
  background-color: #3182bd;
}


.feramat-navlink:hover {
  background-color: #217bc4;
}

.feramat-login-button {
  /* background: #2d8bdb; */
  background: var(--mantine-color-feramat-6);
  padding: 5px 20px;
  border: none;
  border-radius: 20px;
  color: white;
  font-size: 16px;
  width: 100%;
}
.feramat-login-button-with-google {
  text-decoration: white;
  border-radius: 50px;
}

/* ========================================================================
   STEPPER & INPUT STYLES
   ======================================================================== */
.mantine-Stepper-steps.m_aaf89d0b {
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: white;
}

/* Input field styles */
.mantine-TextInput-input,
.mantine-NumberInput-input,
.mantine-Select-input {
  background-color: #f0eef3;
  border-radius: 500px;
  height: 56px;
  font-size: var(--stepper-fz);
  border: none;
  font-weight: 600;
}

.mantine-TextInput-label,
.mantine-NumberInput-label,
.mantine-Select-label {
  color: #1a2b49;
  font-weight: bold;
}

.mantine-TextInput-description,
.mantine-NumberInput-description,
.mantine-Select-description {
  color: #666666;
}

/* ========================================================================
   BUTTON STYLES
   ======================================================================== */

.mantine-Button-root {
  border-radius: 8px;
}

.mantine-Button-root[data-variant="outline"] {
  color: #333333;
  border-color: #e0e0e0;
}

.mantine-Button-root[data-variant="outline"]:hover {
  background-color: #f0f0f0;
}

.mantine-Button-root:not([data-variant]) {
  background-color: #9b59b6;
  color: #ffffff;
}

.mantine-Button-root:not([data-variant]):hover {
  background-color: #7a479a;
}

/* ========================================================================
   FOOTER STYLES
   ======================================================================== */

.feramat-footer {
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 100;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-mantine-color-scheme="light"] .feramat-footer {
  background-color: #1a2b49;
  color: white;
}

[data-mantine-color-scheme="dark"] .feramat-footer {
  background-color: var(--mantine-color-feramat-8);
}

/* ========================================================================
   MANTINE COMPONENT OVERRIDES
   ======================================================================== */
.mantine-AppShell-header.m_3b16f56b {
  position: relative;
}
.mantine-Stepper-content.m_78da155d {
  margin-right: 5%;
  margin-left: 5%;
}
.mantine-ScrollArea-root.m_d57069b5 {
  margin: 0 !important;
}

/* ========================================================================
   STEPPER COMPONENT STYLES
   ======================================================================== */

h3 {
  color: #0d223c;
  font-size: 48px;
  font-weight: 500;
  text-align: center;
  font-family: Inter, sans-serif !important;
}

/* Content sections */
.krok02 {
  text-align: left;
  width: 40%;
}

.krok0 {
  text-align: center;
  width: 40%;
  margin: auto;
}

.krok0:not(h3):first-of-type {
  margin-top: 100px;
}

.krok0:not(h3):last-of-type {
  margin-bottom: 100px;
}

.krok03 {
  text-align: left;
  width: 83.5%;
  margin: auto;
}
.mantine-Stepper-separator.m_2a371ac9 {
  background-color: white !important;
}

.mantine-Stepper-stepIcon.m_1959ad01 {
  --step-color: #ebe7f2;
  background-color: #fdfbff;
}

.mantine-Stepper-step[data-completed="true"] .mantine-Stepper-stepIcon.m_1959ad01 {
  --step-color: none;
  background-color: #0d223c;
}

.mantine-Stepper-step[data-progress="true"] .mantine-Stepper-stepIcon.m_1959ad01 {
  color: #0d223c;
  background-color: #d3bbf7;
}

.m_a79331dc.mantine-Stepper-stepCompletedIcon svg {
  color: #d3bbf7;
  width: 40% !important;
  height: 40% !important;
}

button[data-progress="true"] .mantine-Stepper-stepLabel {
  font-weight: 600;
}

/* Stepper button spacing */
.mantine-Stepper-steps button:first-of-type {
  margin-left: 5%;
}

.mantine-Stepper-steps button:last-of-type {
  margin-right: 5%;
}
.mantine-NumberInput-required.mantine-InputWrapper-required.m_78a94662 {
  display: none;
}

/* ========================================================================
   NAVIGATION ARROWS & DOWNLOADS
   ======================================================================== */

.arrow_div {
  text-align: center;
  margin: 20px auto 7vh;
  height: 136px;
  font-size: 15px;
  background: #fbfafb;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-content: center;
  width: 100%;
}

.arrow_div button {
  margin: auto;
}

.arrow_div2 {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  width: 15%;
  border-radius: 500px !important;
  height: 56px;
}

.arrow_div1 {
  background-color: #e6e6e6 !important;
  color: #0d223c !important;
  width: 15%;
  border-radius: 500px !important;
  height: 56px;
}


.mantine-TextInput-input.mantine-Input-input.m_8fb7ebe7 {
  border-radius: 500px;
  height: 56px;
}

.mantine-Text-root.m_b6d8b162.mantine-focus-auto {
  font-size: var(--stepper-fz);
  margin-bottom: 10px;
}

.mantine-TextInput-wrapper.mantine-Input-wrapper.m_6c018570 {
  margin-bottom: 15px;
}
.downloads {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  width: 30%;
  border-radius: 500px !important;
  height: 56px;
  margin-right: 80%;
  justify-content: center;
  display: flex;
  align-items: center;
}
.downloads button span {
  margin: auto;
}

.downloads button span:hover {
  background-color: #d3bbf7 !important;
}
.downloads button {
  background-color: #d3bbf7 !important;
  margin-top: 0px !important;
}
.mantine-Paper-root.m_1b7284a3 {
  width: 80%;
  height: 80%;
}
.mantine-PasswordInput-wrapper.mantine-Input-wrapper.m_6c018570 {
  background-color: #f0eef3 !important;
  color: #0d223c !important;
  width: 100%;
  border-radius: 500px !important;
  height: 56px;
}
.mantine-PasswordInput-input {
  border: none;
  background: #f0eef3;
  background-color: #f0eef3 !important;
  color: #0d223c !important;
  width: 100%;
  border-radius: 500px !important;
  height: 56px;
}

.mantine-PasswordInput-innerInput {
  border: none;
  background: #f0eef3;
  background-color: #f0eef3 !important;
  color: #0d223c !important;
  border-radius: 500px !important;
  width: 100%;
  height: 56px;
}
.mantine-Paper-root.m_1b7284a3 button {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  width: 30%;
  border-radius: 500px !important;
  height: 56px;
  margin-right: 80%;
  justify-content: center;
  display: flex;
  align-items: center;
  border: none;
  font-size: 15px;
}
.mantine-Paper-root.m_1b7284a3 button {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  width: 30%;
  border-radius: 500px !important;
  height: 56px;
  margin-right: 80%;
  justify-content: center;
  display: flex;
  align-items: center;
  border: none;
  font-size: 15px;
}
.mantine-UnstyledButton-root.m_87cf2631.mantine-ActionIcon-root.m_8d3f4000.mantine-PasswordInput-visibilityToggle.m_b1072d44.mantine-active.mantine-focus-auto {
  background: transparent !important;
}
.mantine-Paper-root.m_1b7284a3 {
  --paper-shadow: none !important;
}
.hiddenname .mantine-InputWrapper-label,
.hiddenname .mantine-TextInput-label {
  display: none;
}
.hiddenname .mantine-InputWrapper-label.mantine-PasswordInput-label {
  display: none;
}

/* ========================================================================
   SVG & HEADER UTILITIES
   ======================================================================== */

.main-svg {
  background: none !important;
}
.my-fixed-toolbar {
  display: none !important;
  position: fixed !important;
}

.zero-height.m_3b16f56b {
  height: 0 !important;
  overflow: hidden;
}

.my-zero-height {
  --app-shell-header-height: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: none !important;
}

.my-zero-height header.m_3b16f56b,
.my-zero-height header.m_3b16f56b.mantine-AppShell-header,
.my-zero-height header.m_3b16f56b.mantine-AppShell-header.right-scroll-bar-position {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  border: none !important;
  --app-shell-header-height: 0 !important;
}

/* ========================================================================
   COLORED DOTS & INDICATORS
   ======================================================================== */

.colored-dot {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

.dot-d3bbf7 { background-color: #d3bbf7; }
.dot-ffcba3 { background-color: #ffcba3; }
.dot-1f77b4 { background-color: #1f77b4; }
.dot-ff7f0e { background-color: #ff7f0e; }
.dot-0d223c { background-color: #0d223c; }

/* ========================================================================
   PAGE-SPECIFIC STYLES
   ======================================================================== */

/* About Page */
.about-page {
  background-color: var(--white);
}

.about-section {
  padding: 60px 0;
}

.about-container {
  max-width: 800px;
}

.challenges-section {
  background-color: var(--light-bg);
  padding: 60px 0;
}

.challenges-container {
  max-width: 800px;
}

.scenarios-section {
  padding: 60px 0;
}

.scenarios-container {
  max-width: 800px;
}
.methodology-container {
  max-width: 800px;
}
.conclusion-container {
  max-width: 800px;
}

/* Contact Page */
.contact-page {
  background-color: #ffffff;
  font-family: Inter, sans-serif !important;
}

/* Header styles */
.contact-page .main-header {
  background-color: #1a2b49; 
  padding: 20px 0;
  border: none;
}

.contact-page .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-page .logo-container img {
  height: 40px; 
}

.contact-page .nav-links {
  display: flex;
  gap: 20px;
}
.contact-page .nav-links .m_80f1301b {
  color: black;
}

.contact-page .nav-link {
  color: #ffffff !important; 
  font-weight: 500;
  background: none !important;
}

.contact-page .nav-link:hover {
  background: none !important;
  color: #d3bbf7 !important;
}

.contact-page .primary-button2 {
  background-color: #d3bbf7 !important; 
  color: #0d223c !important; 
  border-radius: 20px !important;
  border: none !important;
  font-weight: 600;
  padding: 0 20px;
}

/* Contact section styles */
.contact-page .contact-section {
  padding: 60px 0;
  background-color: #f7f7f9; 
}

.contact-page .contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-page .hero-title {
  color: #0d223c; /* Dark blue */
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 40px;
  text-align: left;
}
.contact-page .main-header {
  background-color: white;
  color: black;
}

.contact-page .contact-grid {
  display: flex;
  align-items: stretch; 
  margin-bottom: 20px;
}


.contact-page .image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page .text-container {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  height: 100%; 
}

.contact-page .details-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 15px;
}


.contact-page .contact-details-column,
.contact-page .details-column {
  flex: 1; /* Fallback flexbox */
  min-width: 0; /* Prevent overflow */
}


.contact-page .contact-subheader {
  color: #0d223c; /* Dark blue */
  font-size: 14px; /* Keep reduced size */
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 5px; /* Reduced spacing */
}

.contact-page .contact-info {
  color: #0d223c; /* Dark blue */
  font-size: 12px; /* Keep reduced size */
  text-decoration: none;
  margin-bottom: 5px; /* Reduced spacing */
}

.contact-page .contact-info a {
  color: #0d223c;
  text-decoration: underline;
}

.contact-page .contact-info a:hover {
  color: #d3bbf7; /* Light purple on hover */
}

.contact-page .contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.contact-page .section-text {
  color: #666666; /* Gray text */
  font-size: 14px; /* Keep reduced size */
  line-height: 1.5; /* Slightly tighter line height */
  margin-bottom: 15px; /* Reduced margin */
  margin-top: 15px; /* Reduced margin */
}

.contact-page .arrow_div {
  display: flex;
  justify-content: center;
  background-color: #0d2d4d;
}

.contact-page .arrow_div2 {
  background-color: #d3bbf7 !important; /* Light purple */
  color: #0d223c !important; /* Dark blue text */
  border-radius: 500px !important;
  height: 56px;
  width: 150px;
  font-weight: 600;
  border: none;
}

.contact-page .arrow_div2 .mantine-Button-label {
  margin: auto;
}

/* Footer styles */
.contact-page .main-footer {
  background-color: #1a2b49; /* Dark blue footer */
  color: #ffffff;
  padding: 40px 0;
}

.contact-page .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-page .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-page .footer-logo-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-page .footer-logo {
  height: 40px;
}

.contact-page .social-links {
  display: flex;
  gap: 15px;
}

.contact-page .social-link img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* White icons */
}

.contact-page .footer-links-grid {
  display: flex;
  gap: 40px;
}

.contact-page .footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-page .footer-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
}

.contact-page .footer-menu {
  list-style: none;
  padding: 0;
}

.contact-page .footer-link {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.contact-page .footer-link:hover {
  color: #d3bbf7; /* Light purple on hover */
}

.contact-page .footer-bottom {
  text-align: center;
  margin-top: 20px;
}

.contact-page .copyright {
  color: #ffffff;
  font-size: 14px;
}

.about-page {
  color: #ffffff; /* Default text color for dark background */
}

/* Header Styles (same as LandingPage) */
.about-page .main-header {
  background-color: white;
  padding: 20px 0;
  border: none;
}

.about-page .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-page .logo-container img {
  height: 40px;
}

.about-page .nav-links {
  display: flex;
  gap: 20px;
}

.about-page .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  background: none !important;
}

.about-page .nav-link:hover {
  color: #d3bbf7 !important;
}

.about-page .nav-link.active {
  color: #d3bbf7 !important;
}

.about-page .primary-button2 {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  border-radius: 20px !important;
  border: none !important;
  font-weight: 600;
  padding: 0 20px;
}

/* Main Content Styles */
.about-page .main-content {
  background-color: #ffffff;
  padding: 0;
}

.about-page .content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-page .content-grid {
  display: flex;
  align-items: flex-start;
}

/* Navigation Column */
.about-page .nav-column {
  position: sticky;
  top: 20px;
  padding: 75px 0;
}

.about-page .nav-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-page .nav-section-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.about-page .nav-bullet {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.about-page .nav-section-link {
  color: #0d223c;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-page .nav-section-link:hover,
.about-page .nav-section-link.active {
  color: #d3bbf7;
}

/* Content Column */
.about-page .content-column {
  padding-left: 40px;
  padding-right: 20px;
}

.about-page .content-section {
  margin-bottom: 60px;
  color: #0d223c; /* Dark text for white background */
}

.about-page .section-title {
  color: #0d223c;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
}

.about-page .sub-section-title {
  color: #0d223c;
  font-size: 24px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.about-page .section-text {
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Bullet Points */
.about-page .benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-page .benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  color: #0d223c;
}

.about-page .bullet-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Purple Cards */
.about-page .purple-card-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.about-page .purple-card {
  background-color: #f2edf6;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  height: 170px;
  min-height: 120px;
}

.about-page .card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  margin-right: 80%;
}

.about-page .card-text {
  color: black;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.about-page .arrow_div2 {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  border-radius: 500px !important;
  height: 56px;
  width: 150px;
  font-weight: 600;
  border: none;
}
.about-page .mantine-Button-label.m_811560b9 {
  gap: 71px;
  margin: auto;
}
.about-page .arrow_div2 .mantine-Button-label {
  margin: auto;
}

/* Footer Styles (same as LandingPage) */
.about-page .copyright {
  color: #ffffff;
  font-size: 14px;
}
.about-page .m_80f1301b {
  color: black;
}

.about-page .arrow_div {
  display: flex;
  justify-content: center;
  background-color: #0d2d4d;
}

.about-page .arrow_div2 {
  background-color: #d3bbf7 !important; /* Light purple */
  color: #0d223c !important; /* Dark blue text */
  border-radius: 500px !important;
  height: 56px;
  width: 150px;
  font-weight: 600;
  border: none;
}

.about-page .arrow_div2 .mantine-Button-label {
  margin: auto;
}
/* Kontejner pro náhledy */
.about-page .pdf-preview-container {
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 800px; /* Omezení šířky, aby to nebylo moc široký */
  margin-left: auto;
  margin-right: auto;
}

/* Grid pro tři obrázky */
.about-page .pdf-preview-grid {
  display: flex;
  gap: 10px; /* Mezera mezi obrázky */
}

/* Styl pro každý obrázek */
.about-page .pdf-preview {
  width: 100%;
  height: auto;
  max-height: 200px; /* Max výška, jak jsi chtěl */
  object-fit: contain; /* Zachová poměr stran */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Jemný stín */
}

/* Download button */
.about-page .download-button {
  background-color: #d3bbf7 !important;
  color: #0d223c !important;
  border-radius: 500px !important;
  height: 56px;
  width: 200px;
  font-weight: 600;
  border: none;
  display: block;
  margin: 20px auto; /* Vycentrování */
  text-align: center;
}

.about-page .download-button:hover {
  background-color: #bca6e3 !important; /* Tmavší fialová při hoveru */
}

/* Responzivita pro menší obrazovky */
@media (max-width: 768px) {
  .about-page .pdf-preview-grid {
    flex-direction: column; /* Na mobilu obrázky pod sebe */
    gap: 15px;
  }
  .about-page .pdf-preview {
    max-height: 150px; /* Menší na mobilu */
  }
}
.text-container .section-text,
.section-text {
  text-align: justify;
}

/* Graph & Chart Descriptions */
.graph-description {
  font-size: 14px;
  line-height: 1.6;
  font-family: Inter, sans-serif;
  padding: 10px;
  margin-left: 33%;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.graph-descriptions {
  font-family: Inter, sans-serif;
  font-style: oblique;
  color: rgb(31, 119, 180);
  font-size: 15px;
}

/* Responsive adjustments for graphs */
@media (max-width: 1500px) {
  .graph-description {
    margin-top: 10vh;
  }
}

@media (max-width: 1200px) {
  .graph-description {
    margin-top: 15vh;
  }
}

/* Contact page footer override */
.contact-page .main-footer {
  background-color: #0d223c !important; /* Stejná barva jako LandingPage */
  color: var(--white) !important;
  padding: 60px 0 30px !important; /* Stejný padding */
}

.contact-page .footer-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
  justify-content: initial !important;
  align-items: initial !important;
  margin-bottom: 0 !important;
}

.contact-page .footer-logo-social {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 0 !important;
}

.contact-page .footer-links-grid {
  display: grid !important; /* Ujistíme se, že je grid */
  gap: 40px !important;
}

.contact-page .footer-title {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  color: var(--white) !important;
}

.contact-page .footer-menu {
  list-style-type: none !important;
}

.contact-page .footer-link {
  color: #a3b8cc !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
  display: block !important;
}

.contact-page .footer-link:hover {
  color: var(--white) !important;
  text-decoration: underline !important;
}

.contact-page .footer-bottom {
  margin-top: 40px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: left !important;
}

.contact-page .copyright {
  color: #a3b8cc !important;
  font-size: 0.9rem !important;
}

/* ========================================================================
   PARTNERS & ANALYTICS
   ======================================================================== */

.partners {
  margin-top: 100px;
}
#analyses-table a {
  color: #9b59b6;
  text-decoration: none;
  font-weight: 600
}

#analyses-table a:hover {
  color: #9b59b6;
  text-decoration: none;
  font-weight: 600;
}

/* ========================================================================
   MODAL STYLES
   ======================================================================== */

.mantine-Modal-content {
  overflow: hidden;
}

.mantine-Modal-close.m_86a44da5.mantine-CloseButton-root {
  width: 10%;
  margin-left: 0;
}

/* ========================================================================
   READINESS ASSESSMENT STYLES
   ======================================================================== */

/* Question and Score Card Overrides */
.readiness-question-card.mantine-Paper-root,
.readiness-score-card.mantine-Paper-root {
  background-color: white !important;
  height: auto !important;
  width: 100% !important;
  border-radius: 8px !important;
}

.readiness-question-card button,
.readiness-score-card button {
  width: auto !important;
  height: auto !important;
  margin-right: 0 !important;
  border-radius: 8px !important;
  background-color: inherit !important;
  padding: 10px 20px !important;
}

/* Navigation button specific styles */
.readiness-question-card button[data-variant="outline"] {
  background-color: white !important;
  border: 1px solid #9b7ed9 !important;
  color: #7c5cbf !important;
}

.readiness-question-card button[data-variant="outline"]:hover {
  background-color: #f5f0ff !important;
}

.readiness-question-card button[data-variant="outline"]:disabled {
  background-color: #f8f9fa !important;
  border-color: #cbd5e1 !important;
  color: #94a3b8 !important;
}

.readiness-question-card button[data-variant="subtle"] {
  background-color: transparent !important;
  color: #64748b !important;
}

.readiness-question-card button[data-variant="subtle"]:hover {
  background-color: #f5f0ff !important;
  color: #7c5cbf !important;
}

.readiness-question-card button[data-variant="filled"] {
  background-color: #9b7ed9 !important;
  color: white !important;
  border: none !important;
}

.readiness-question-card button[data-variant="filled"]:hover {
  background-color: #8a6bc9 !important;
}

/* Matrix Number Input Styling */
.matrix-number-input {
  width: 80px !important;
}

.matrix-number-input input {
  text-align: center !important;
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: white !important;
  padding-left: 8px !important;
  padding-right: 26px !important;
  height: 32px !important;
}

.matrix-number-input input:focus {
  border-color: #9b7ed9 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(155, 126, 217, 0.15) !important;
}

.matrix-number-input .mantine-NumberInput-controls {
  width: 18px !important;
  background-color: transparent !important;
  border-left: none !important;
}

.matrix-number-input .mantine-NumberInput-control {
  width: 18px !important;
  min-width: 18px !important;
  height: 16px !important;
  padding: 0 !important;
  border: none !important;
  color: #94a3b8 !important;
  background-color: transparent !important;
  background: none !important;
}

.matrix-number-input .mantine-NumberInput-control:hover {
  background-color: transparent !important;
  background: none !important;
  color: #94a3b8 !important;
}

.matrix-number-input .mantine-NumberInput-control:active {
  background-color: transparent !important;
  background: none !important;
}

.matrix-number-input .mantine-NumberInput-control[data-direction="up"],
.matrix-number-input .mantine-NumberInput-control[data-direction="down"] {
  background-color: transparent !important;
  background: none !important;
}

.matrix-number-input .mantine-NumberInput-control svg {
  width: 10px !important;
  height: 10px !important;
}

/* ========================================================================
   READINESS SUMMARY ACCORDION
   ======================================================================== */

/* 
 * Goal: Keep accordion headers neutral (no purple/primary tint) even when expanded.
 * 
 * Constraints:
 * - No hard-coded palette values where possible
 * - Use Mantine theme variables
 * - Scoped to readiness Summary only
 * 
 * Why CSS is needed:
 * - Mantine draws active control background on a ::before pseudo-element,
 *   which cannot be reliably overridden with inline styles
 */

/* Ensure the item wrapper stays neutral */
.readiness-summary-accordion-item {
  background: var(--mantine-color-body);
}

/* Force the control pseudo-element background to neutral in all states */
.readiness-summary-accordion-item .mantine-Accordion-control::before,
.readiness-summary-accordion-item .mantine-Accordion-control[data-active]::before,
.readiness-summary-accordion-control::before,
.readiness-summary-accordion-control[data-active]::before {
  background: var(--mantine-color-body) !important;
  background-color: var(--mantine-color-body) !important;
  opacity: 1 !important;
}

/* Some Mantine builds use ::after for focus/active layers */
.readiness-summary-accordion-item .mantine-Accordion-control::after,
.readiness-summary-accordion-item .mantine-Accordion-control[data-active]::after,
.readiness-summary-accordion-control::after,
.readiness-summary-accordion-control[data-active]::after {
  background: var(--mantine-color-body) !important;
  background-color: var(--mantine-color-body) !important;
  opacity: 1 !important;
}

/* Neutralize hover/pressed visuals in the collapsed state */
.readiness-summary-accordion-item .mantine-Accordion-control:hover,
.readiness-summary-accordion-control:hover,
.readiness-summary-accordion-item .mantine-Accordion-control:active,
.readiness-summary-accordion-control:active {
  background: var(--mantine-color-body) !important;
}

.readiness-summary-accordion-item .mantine-Accordion-control:hover::before,
.readiness-summary-accordion-control:hover::before,
.readiness-summary-accordion-item .mantine-Accordion-control:active::before,
.readiness-summary-accordion-control:active::before {
  background: var(--mantine-color-body) !important;
  opacity: 1 !important;
}

/* Some Mantine builds place active tint on the control itself */
.readiness-summary-accordion-item .mantine-Accordion-control,
.readiness-summary-accordion-item .mantine-Accordion-control[data-active],
.readiness-summary-accordion-control,
.readiness-summary-accordion-control[data-active] {
  background: var(--mantine-color-body) !important;
  background-color: var(--mantine-color-body) !important;
  background-image: none !important;
}

/* Beat global rules with higher specificity by matching button element */
.readiness-summary-accordion .readiness-summary-accordion-item button.readiness-summary-accordion-control,
.readiness-summary-accordion button.readiness-summary-accordion-control {
  background: var(--mantine-color-body) !important;
  background-color: var(--mantine-color-body) !important;
  background-image: none !important;
}

.readiness-summary-accordion .readiness-summary-accordion-item button.readiness-summary-accordion-control::before,
.readiness-summary-accordion .readiness-summary-accordion-item button.readiness-summary-accordion-control::after,
.readiness-summary-accordion button.readiness-summary-accordion-control::before,
.readiness-summary-accordion button.readiness-summary-accordion-control::after {
  background: var(--mantine-color-body) !important;
  background-color: var(--mantine-color-body) !important;
  opacity: 1 !important;
}
