body, html {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    height: 100%; /* Full height for body */
}

.full-width-image {
    width: 100%; /* Make the image full width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Prevent bottom space below the image */
}

/*------------------------------------------------------------------------ */
.container {
    position: relative;
    text-align: center;
    color: white;
  }

  .footer-text {
    text-align: center;       /* Center text horizontally */
    padding: 15px;            /* Default padding */
    font-size: 40px;          /* Default font size */
    position: absolute;       /* Position at the bottom */
    bottom: 0;
    width: 100%;              /* Full width */
    box-sizing: border-box;   /* Ensure padding doesn’t overflow */
}

/* Responsive adjustments for smaller screens */


@media (max-width: 500px) {
    .footer-text {
        font-size: 12px;      /* Adjust font size for tablets */
        padding: 1px;
    }
}

/* ---------------------------------------------------------------------------------- */

.switch-button {
    display: inline-block;        /* Allows padding and margins */
    padding: 10px 20px;           /* Button size */
    background-color: #007BFF;    /* Button color */
    color: white;                 /* Text color */
    text-decoration: none;        /* Remove underline from links */
    border-radius: 5px;           /* Rounded corners */
    font-size: 24px;              /* Font size */
    text-align: center;           /* Center text */
    position: absolute;
    top: 8px;
    right: 70px;
}

.switch-button:hover {
    background-color: #0056b3;    /* Darker shade on hover */
}


@media (max-width: 480px) {
    .switch-button {
        font-size: 6px;         /* Smaller font on mobile */
        padding: 8px 16px;       /* Adjust padding for smaller button */
        position: absolute;
        top: 8px;
        right: 35px;
    }
}

/* ---------------------------------------------------------------------------------- */
.apply{
    position: absolute;
    text-align: center;
    color: rgba(0, 0, 255, 0.695);
    font-size: 50px;
    width: 100%;
    top: 600px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.apply p{
    font-size: 50px;
    color: rgba(0, 0, 0, 0.814);
}

.apply-button {
   
    padding: 10px 20px;           /* Button size */
    background-color: #007BFF;    /* Button color */
    color: white;                 /* Text color */
    text-decoration: none;        /* Remove underline from links */
    border-radius: 5px;           /* Rounded corners */
    font-size: 24px;              /* Font size */
    text-align: center;           /* Center text */
    position: center;
   
}

.apply-button:hover {
    background-color: #0056b3;    /* Darker shade on hover */
}

@media screen and (max-width: 480px) {
    .apply {
        font-size: 10px;
        top: 150px;
    }

    .apply p {
        font-size: 20px;
    }
    .apply-button {
        font-size: 16px;
        padding: 6px 12px;
    }
   
}

/* ---------------------------------------------------------------------------------- */

.form-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Ensure form scrolls if content overflows */
    max-height: 90vh; /* Restrict height to fit within the viewport */
}

.form-container p{
    text-align: center;
}

.form-container img {
    display: block;
    margin: 0 auto 20px;
    height: 650px;
    width: 300px;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-bottom: 1px solid #ccc; /* Add this line */
    padding-bottom: 10px; /* Optional: Add some padding for spacing */
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.form-group label {
    flex: 0 0 20%; /* Labels take 30% of the row */
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}


.form-group input,
.form-group select,
.form-group textarea {
    flex: 0 0 65%; /* Inputs take 65% of the row */
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}



.form-group input, .form-group select {
    margin-left: 10px;
    padding: 8px;
    flex: 1;
    box-sizing: border-box;

}

.form-group input[type="checkbox"], .form-group input[type="text"] {
    margin-left: 10px;
    padding: 8px;
    flex: 1;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
     margin-bottom: 15px;
    border-bottom: 1px solid #ccc; /* Add this line */
    padding-bottom: 10px; /* Optional: Add some padding for spacing */
}



.row > div {
    display: flex;
    align-items: center;
    flex: 0 0 48%; /* Each item takes 48% of the row */
}


.row > div label {
    margin-left: 8px;
    font-size: 14px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}

.declaration {
    margin-top: 20px;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 15px;
    background-color: #fefefe;

}

.declaration-label {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Style the container that holds the input field */
#record-yes-input-container {
    display: none; /* Initially hidden */
    margin-left: 100px;
    padding: 10px; /* Padding inside the box */
    background-color: #f9f9f9; /* Light background color */
    border: 2px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
}

/* Style the input field */
#record-yes-record {
    width: 100%; /* Make the input span the full width of the container */
    padding: 10px; /* Add padding inside the input */
    font-size: 14px; /* Adjust font size */
    border: 1px solid #ccc; /* Border for the input field */
    border-radius: 5px; /* Rounded corners for the input field */
    background-color: #fff; /* White background for the input field */
    margin-top: 5px; /* Space between the label and input */
}

/* Optional: Add focus styles for the input field */
#record-yes-record:focus {
    border-color: #007bff; /* Change border color when focused */
    outline: none; /* Remove default outline */
    background-color: #eef; /* Light blue background when focused */
}


.form-container button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.form-container button:hover {
    background-color: #0056b3;
}


@media (max-width: 480px)  {
    .form-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
        padding: 20px;
        margin: 0 auto;
    }
    .form-container img {
        display: block;
        margin: 0 auto 20px;
        height: 800px;
        width: 300px;
    }

    .form-container p{
        text-align: center;
        font-size: 20px;
    }

    .form-group {
        flex-direction: row;
        align-items: center;
    }

    .form-group label,
    .form-group input,
    .form-group select,
    .form-group textarea,
    button {
        width: 100%;
        font-size: 14px;
    }

  canvas{
    width: 100%;
  }

    .form-group label {
        margin-bottom: 10px;
    }

    button {
        padding: 10px;
    }
}