.header {
    height: 56px;
}

.form-group label {
    margin-top: 0px;
    font-weight: normal;
    font-size: 0.8rem !important;
    margin-bottom: 0px !important;
}

.container {
    width: 70%;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.content-container {
    background-color: white;
}

#submitFormBtn {
    font-size: 14px !important;
    padding: 8px !important;
    background-color: #9f2928 !important;
    color: white;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.textilate-container:hover .texts li {
    animation-play-state: paused;
}

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

/* body {
    margin: 0;
              padding: 20px; /
    background-color: #f5f5f5;
  } */

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
}

h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #2196f3;
}

.form-label {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0 0.25rem;
    background-color: white;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s;
    pointer-events: none;
}

/* .form-control:focus~.form-label,
.form-control:not(:placeholder-shown) {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.875rem;
    color: #2196f3;
}

.form-control:focus ~ .form-label,
select.form-control:valid ~ .form-label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.875rem;
  color: #2196f3;
} */

 .form-control:not(:placeholder-shown) ~ .form-label,
 .form-control:focus ~ .form-label,
 select.form-control:valid ~ .form-label {
   top: -0.5rem;
   left: 0.5rem;
   font-size: 0.875rem;
   color: #2196f3;
 }

 .form-control:not(placeholder-shown) ~ .form-label,
 select.form-control:invalid ~ .form-label {
   top: 0.75rem;
   left: 0.75rem;
   font-size: 1rem;
   color: #666;
 }

.required::after {
    content: "*";
    color: #f44336;
    margin-left: 0.25rem;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 10l4-4H4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.select-wrapper {
    position: relative;
}

select.form-control:focus,
select.form-control:valid {
    color: inherit;
}

.form-group>div {
    position: relative;
}
.ui-dialog-titlebar-close{
	display:none;
}