
:root {
    --iti-hover-color: rgba(0, 0, 0, 0.05);
    --iti-border-color: #ccc;
    --iti-dialcode-color: #999;
    --iti-dropdown-bg: white;
    --iti-spacer-horizontal: 8px;
    --iti-flag-height: 12px;
    --iti-flag-width: 16px;
    --iti-border-width: 1px;
    --iti-arrow-height: 4px;
    --iti-arrow-width: 6px;
    --iti-triangle-border: calc(var(--iti-arrow-width) / 2);
    --iti-arrow-padding: 6px;
    --iti-arrow-color: #555;
    --iti-flag-sprite-width: 3904px;
    --iti-flag-sprite-height: 12px;
    --iti-mobile-popup-margin: 30px;
  }

  .iti {
    position: relative;
    display: inline-block;
  }
  .iti * {
    box-sizing: border-box;
  }
  .iti__flag {
    height: var(--iti-flag-height);
    width: var(--iti-flag-width);
    background-image: var(--iti-path-flags-1x) !important;
    background-size: var(--iti-flag-sprite-width) var(--iti-flag-sprite-height) !important;
    background-repeat: no-repeat;
    background-position: 0 0;
    box-shadow: 0px 0px 1px 0px #888;
    border-radius: 1px;
  }
  .iti__selected-flag {
    background-color: white;
    border: 1px solid var(--iti-border-color);
    padding: 0 6px;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .iti__selected-dial-code {
    margin-left: 6px;
  }
  .iti__arrow {
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: var(--iti-triangle-border) solid transparent;
    border-right: var(--iti-triangle-border) solid transparent;
    border-top: var(--iti-arrow-height) solid var(--iti-arrow-color);
  }
  .iti__country-list {
    position: absolute;
    z-index: 2;
    list-style: none;
    background-color: var(--iti-dropdown-bg);
    border: 1px solid var(--iti-border-color);
    width: 100%;
    max-height: 200px;
    overflow-y: scroll;
    padding: 0;
    margin: 0;
  }
  .iti__country {
    display: flex;
    align-items: center;
    padding: 5px 10px;
  }
  .iti__country:hover,
  .iti__country.iti__highlight {
    background-color: var(--iti-hover-color);
  }
  .iti__dial-code {
    color: var(--iti-dialcode-color);
    margin-left: auto;
  }
  .iti--separate-dial-code input {
    padding-left: 52px !important;
  }
  .iti__country.iti__highlight .iti__dial-code {
    color: black;
  }

  /* Container Split */
.two-column {
  display: flex;
  height: 100vh;
}

.left-column {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}

.right-column {
  flex: 1;
  background-image: url("../img/right-panel.jpg");
  background-size: cover;
  background-position: center;
}

footer {
  padding: 0px 0 0px !important;
  margin-top: 0px !important;
  flex-shrink: 0;
}

.main {
  padding-top: 0px !important;
  margin-top: 0px !important;
}

/* Form Styles */
.register-form {
  max-width: 400px;
  margin: 0 auto;
}

.register-form h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.register-form h3 {
  font-weight: normal;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.register-form .form-button,
.register-form .cancel-button {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.6rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-button {
  background-color: #835c5c;
  color: white;
}

.cancel-button {
  background-color: transparent;
  color: #333;
  border: 1px solid #ccc;
}

.register-form p {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

.iti__flag {
  background-image: var(--iti-path-flags-1x);
  background-repeat: no-repeat;
  background-size: 3904px 12px;
}

@font-face {
  font-family: 'Dream Avenue';
  src: url('../font/DreamAvenue.ttf') format('truetype');
}

@font-face {
  font-family: 'Darker Grotesque';
  src: url('../font/DarkerGrotesque-Regular.ttf') format('truetype');
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Darker Grotesque', sans-serif;
}

.two-column-layout {
  display: flex;
  min-height: 100vh;
}

.form-column {
  width: 50%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;  
  /* padding: 40px 20px; */
  box-sizing: border-box;
  overflow-y: auto; 
}


.image-column {
  width: 50%;
  background-color: #f2f2f2;
  overflow: hidden;
}

.image-column img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* Headings */
legend {
  margin-top: 0;
  font-family: 'Dream Avenue', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
}

/* Form styles */
form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

fieldset {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  box-sizing: border-box;
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Buttons */
.register-btn,
.cancel-btn {
  padding: 10px;
  font-size: 1rem;
  font-family: 'Darker Grotesque', sans-serif;
  cursor: pointer;
  border: none;
  margin-top: 15px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.register-btn {
  background-color: #000;
  color: white;
}

.register-btn:hover {
  background-color: #444;
}

.cancel-btn {
  background-color: transparent;
  color: #555;
  border: 1px solid #ccc;
}

.cancel-btn:hover {
  background-color: #eee;
}

/* Footer note */
.footer-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
}

.footer-note a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.footer-note a:hover {
  text-decoration: underline;
}

/* Datepicker */
.datepicker {
  background-color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .two-column-layout {
      flex-direction: column;
  }

  .form-column,
  .image-column {
      width: 100%;
  }

  .image-column img {
      height: 250px;
  }
}
