body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    height: 100vh;
    overflow: hidden;
}

.form-container {
    display: flex;
    height: 100vh;
}

/* Left Side with Background Image */
.left-side {
    position: relative;
    /* background-image: url('{{ asset('site/images/new-formpopup.jpg') }}'); */
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    max-height: 100vh;
}

/* Adding an overlay to make the text more readable */
.left-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #29AF8A;
    z-index: 1;
}

/* Content inside the left-side */
.left-side-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.left-side h3 {
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.left-side p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.left-side a {
    color: #ffc107;
    text-decoration: underline;
}

/* Right Side (Form) */
.right-side {
    max-height: 100vh;
    overflow-y: auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    flex: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

/* Radio Button Styling */
.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #6c757d;
    border-radius: 50%;
    background-color: #f8f9fa;
    margin-right: 10px;
}

.custom-radio:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    font-size: 1rem;
    color: #343a40;
    font-weight: 500;
    margin-left: 5px;
}

.form-check-inline {
    margin-right: 20px;
}

/* Form Select */
.form-select {
    color: #50565d;
    width: 100%;
    padding: 14.2px;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
    border-color: #29AF8A;
    box-shadow: 0 0 0 3px #FFDFD8;
    /* box-shadow: 0 0 5px rgba(0, 123, 255, 0.25); */
    outline: none;
}

.form-select option {
    color: #495057;
    padding: 10px;
}

.form-select.custom-select {
    appearance: none;
    /* Removes default arrow in some browsers */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="#495057" d="M2 0L0 2h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 10px;
}

.no-spinners {
    -moz-appearance: textfield;
}

.no-spinners::-webkit-outer-spin-button,
.no-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.submitBtn {
    background-color: #2fc89d;
}

/* Apply to all scrollable elements */
::-webkit-scrollbar {
    width: 4px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #29AF8A;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #29AF8A;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.acknowledgment {
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

.acknowledgment h2 {
    font-weight: bold;
    font-size: 1.5rem;
}

.acknowledgment ol {
    padding-left: 30px;
}

.acknowledgment li {
    margin-bottom: 6px;
}

.acknowledgment li strong {
    font-weight: bold;
}


/* Signature Input Field Styling */
.signature {
    border: 1px solid gray;
    padding: 0.5rem;
    box-shadow: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.signature:focus {
    outline: none;
    border-color: #29AF8A;
    box-shadow: 0 0 0 3px #FFDFD8;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #6c757d;
    border-radius: 50%;
    background-color: #f8f9fa;
    margin-right: 10px;
}




/* Hide the left side on mobile screens (max-width 767px) */
@media (max-width: 767px) {
    .left-side {
        display: none;
    }
}