@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
  height: 99%;
}

body {
  background-color: #ffffff; /* Light green background */
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  max-width: 1600px;
  min-height: 100vh;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

.container {
  max-width: 1600px;
  padding-left: 20px;
  padding-right: 20px;
}

h2,
h3,
h5 {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 1.2em !important;
  color: rgb(0, 88, 88);
  font-weight: 600 !important;
}

h2 {
  margin-bottom: 20px;
}

h5 {
  font-size: 1em !important;
}

p {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: 1em !important;
  color: #000;
}

.container .form {
  width: 800px;
  margin: 0 auto;
}

/* Desktop menu */
.main-nav {
  background: #fff;
  padding: 10px 20px;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.nav-links li {
  display: inline-block;
  width: 100%;
}

.nav-links li a {
  text-decoration: none;
  color: rgb(0, 88, 88);
  font-weight: 500;
}

.nav-links li a:hover {
  text-decoration: none;
  color: rgb(1, 125, 133);
}

/* --- MOBILE MENU FIXED FULL WIDTH --- */
.mobile-menu {
  position: relative;
  z-index: 1000;
}

#menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  outline: none;
}

/* Mobile menu */
#mobile-nav {
  position: fixed;
  top: 70px; /* adjust to match header height */
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  z-index: 9999;
}

/* Open state */
#mobile-nav.active {
  max-height: 500px; /* adjust if you have many items */
  opacity: 1;
}

/* Menu items */
.mobile-menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-items li {
  border-bottom: 1px solid #eee;
}

.mobile-menu-items a {
  display: block;
  padding: 14px;
  font-size: 1.1rem;
  color: #333;
  text-decoration: none;
}

/* Remove horizontal overflow issues */
html,
body {
  overflow-x: hidden;
}

/* Ensure the mobile menu is only visible on small screens */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
}

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

/* Styling custom login */
.custom-login-form,
.wijzig-wachtwoord {
  max-width: 400px;
  margin: 50px auto;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
}
.custom-login-form h2 {
  text-align: center;
}

/* Styling for OTP plugin */
.otp-login-form-container {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
}

.otp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.otp-input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 1rem;
}

.otp-button {
  background-color: rgb(71 134 146);
  color: #fff;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.otp-button:hover {
  background-color: rgb(45 101 100);
}

.otp-error-msg {
  color: #d63638;
  background: #fff3f3;
  padding: 0.5rem;
  border: 1px solid #d63638;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* submit buttons gravity forms */
#gform_wrapper_1 input[type='submit'],
#gform_wrapper_2 input[type='submit'],
#gform_wrapper_3 input[type='submit'],
#gform_wrapper_4 input[type='submit'],
#gform_wrapper_5 input[type='submit'] {
  background-color: rgb(0, 111, 99) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

#gform_wrapper_1 input[type='submit']:hover,
#gform_wrapper_2 input[type='submit']:hover,
#gform_wrapper_3 input[type='submit']:hover,
#gform_wrapper_4 input[type='submit']:hover,
#gform_wrapper_5 input[type='submit']:hover {
  background-color: rgb(80, 177, 164) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5) !important;
}

button.gf-approval-btn {
  background-color: green !important;
  width: 130px !important;
}

button.gf-decline-btn {
  background-color: red !important;
  width: 130px !important;
}

button.gf-company-btn {
  background-color: green !important;
  width: 200px !important;
}

/* sections gravity forms */

/* sections wijzig wijzig bedrijfsgegevens */
body #gform_wrapper_9 .gform_body .gform_fields .gsection {
  margin-top: 30px;
}

/* icons */

.cta-icon {
  text-decoration: none;
  color: rgb(0, 111, 99);
}

/* company overview page */
.tab-button {
  padding: 10px 20px;
  border: none;
  background-color: #eee;
  cursor: pointer;
  margin-right: 5px;
}

.tab-button.active {
  background-color: #0078d4;
  color: white;
}

/* Gravity Forms: make the required asterisk red */
.gform_wrapper .gfield_required,
.gform-theme--framework .gfield_required {
  color: #d0021b !important; /* or any red you like */
}

/* Ensure the legend’s asterisk is red too */
.gform_required_legend .gfield_required {
  color: #d0021b !important;
}

/* Table settings */

#uploads tbody tr:hover,
#meldingen_upload tbody tr:hover {
  background-color: rgb(102, 170, 179);
}
