/* Ensure the html and body elements are also full height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

form {
    max-width: 500px; /* Adjust the width as necessary */
    margin: 0px auto;
    padding: 20px;
    background-color: #eee;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: #333;
}

input[type="text"],
input[type="number"] {
    width: calc(100% - 0px);
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #888;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect overall width */
}

select {
    width: calc(100% - 0px);
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #888;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect overall width */
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #007bff; /* Highlight color on focus */
}

input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px auto;
    display: block;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="checkbox"] {
    margin-right: 5px;
}

.checkbox-container {
    margin-bottom: 10px;
}

input[type="submit"]:hover {
    background-color: #0056b3; /* Slightly darker on hover */
}

.site {
    max-width: 100%;
}

/* CSS for the full-height container */
.full-size-container { 
    height: 100%;
    width: 100%;
    position: relative;
}

.responsive-container {
    display: flex;
    flex-direction: column-reverse;
    min-height: 100%;
    scroll-snap-type: y proximity;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
}

/* Media Query for screens wider than 768px */
@media (min-width: 1024px) {
    .responsive-container {
        display: flex;
        flex-direction: row; /* On larger screens, make the boxes align side by side */
    }

    .abs1 {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .panel {
        max-width: 400px;
    }
}    

.box {
    flex: 1; /* This will make each box take equal height in the container */
    /* You can add more styling here such as padding, margin, border, etc. */
    position: relative;
    scroll-snap-align: start;
    
}    

.abs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

.box1 {
    min-height: 100%;
    background-color: #eee;
}

.box2 {
    min-height: 512px;
    background-color: #ddd;
}

.box2flex {
    background-color: #ddd;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

box2content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 60px;
}

.image-container {
    width: 100%; /* Container takes the full width of its parent */
    position: relative; /* Positioning context for pseudo-element */
}

.image-container img {
    width: 100%; /* Image takes full width of the container */
    height: auto; /* Auto height to maintain aspect ratio */
    display: block; /* Removes bottom space inherent to inline elements */
    object-fit: cover; /* Ensures the image covers the square area */
}

.image-container::before {
    content: '';
    display: block;
    padding-top: 100%; /* Aspect ratio trick: 100% height relative to width */
    pointer-events: none; /* Allow clicking through to container/image */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; /* Makes the image take the full height of the container */
}

.waiting_box {
    width: 100%;
    display: block;
}

.waiting_status {
    width: 100%;
    padding-top: 20px;
    text-align: center;
}

.waiting_flex {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-center;
    gap: 10px;
}

.waiting_img {
    height: 4rem;
}
