/* Reset and global styles */
* {
    padding: 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;

}

/* Ensure html and body take full height */
html, body {
    height: 100%;
}
.bigspace {
    width: 100%;
    height: 30%;
}


/* Container styling */
#container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    background-color: #000002;
}

.container_right {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-image: url('../images/bg/bg.jpg');
    background-size: contain;
    background-repeat: no-repeat;
}

.container_left {
    display: block;
    width: 60%;
    height: 98%;
    overflow: hidden;
    border-radius: 20px;
}

/* Title block */
.titleblock {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #bc4f09;
    color: #fee9d8;
}

.titleblock h3 {
    font-size: 1.4rem;
}

/* Form block */
.formblock {
    width: 90%;
    height: 90%; /* Make sure parent has a fixed height */
    margin-top: 20px;
    margin-left: 20px;
    background-color: transparent;
    display: flex;           /* Use flex to help child fill space */
    flex-direction: column;
}

/* Form inside block */
.formblock form {
    flex: 1;                 /* Fill the height of parent */
    overflow-y: auto;        /* Enable vertical scroll */
    -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
    padding-bottom: 200px;   /* Extra scrollable space at bottom */
    box-sizing: border-box;  /* Ensure padding is included inside height */
}
/* WebKit browsers: Chrome, Safari, Edge */
.formblock form::-webkit-scrollbar {
    width: 10px;              /* width of vertical scrollbar */
}

.formblock form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /* scrollbar track */
    border-radius: 10px;
}

.formblock form::-webkit-scrollbar-thumb {
    background-color: #ff7300; /* scrollbar thumb */
    border-radius: 10px;
    border: 2px solid rgba(0,0,0,0); /* optional padding around thumb */
}

.formblock form::-webkit-scrollbar-thumb:hover {
    background-color: #ffa64d; /* hover effect */
}

/* Firefox */
.formblock form {
    scrollbar-width: thin;        /* "auto" or "thin" */
    scrollbar-color: #ff7300 rgba(255, 255, 255, 0.1); /* thumb color | track color */
}


/* Form title */
.formtitle {
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1.0px solid #ffa64d;
    font-size: 0.9rem;
    opacity: 0.5;
    color: #ffa64d;
}

/* Form row */
.formrow {
    width: 100%;
    height: 10%;
    display: flex;
    background-color: transparent;
    align-items: baseline;
}

.formrow input {
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border-bottom: 0.5px solid #ffffff85;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    color: #fff;
}

/* Placeholder styling */
.formrow input::placeholder {
    color: #ffffff9e;
    opacity: 1;
}

.formrow input:-ms-input-placeholder {
    color: #ffffff9e;
}

.formrow input::-ms-input-placeholder {
    color: #ffffff9e;
}

/* Image title */
.img-title {
    position: absolute;
    width: 600px;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 110px;
    margin-bottom: 5px;
    padding-left: 20px;
    background-color: #000002;
    font-size: 0.9rem;
    color: #fff;
}

/* Select input */
#selectform {
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border-bottom: 0.5px solid #ffffff85;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    color: #fff;
}

#selectform option {
    color: #01131f;
    background-color: transparent;
}

#selectform option:hover {
    background-color: rgba(1, 19, 31, 0.1);
}
 #stateSelect {
        width: 100%;
        padding: 20px;
        background-color: transparent;
         border-bottom: 0.5px solid #ffffff85;
        border-top: none;
        border-left: none;
        border-right: none;
        outline: none;
        color: #fee9d8;
    }
     #stateSelect option {
        color: #01131f;
        background-color: transparent;
    }

    #stateSelect option:hover {
        background-color: rgba(1, 19, 31, 0.1);
    }
    
    #citySelect {
        width: 100%;
        padding: 20px;
        background-color: transparent;
         border-bottom: 0.5px solid #ffffff85;
        border-top: none;
        border-left: none;
        border-right: none;
        outline: none;
        color: #fee9d8;
    }
     #citySelect option {
        color: #01131f;
        background-color: transparent;
    }

    #citySelect option:hover {
        background-color: rgba(1, 19, 31, 0.1);
    }
.formimg {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 8%;
}
    .formimg input[type="file"] {
    width: 100%;
    padding: 20px 12px 8px 12px;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    
}

/* Floating label */
.formimg label.img-title {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 1.0rem;
    color: #01131f95;
    pointer-events: none;
    transition: all 0.2s ease;
  
}

/* When input has value or focused */
.formimg input[type="file"]:focus + label,
.formimg input[type="file"]:not(:placeholder-shown) + label {
    top: 5px;
    left: -8px;
    font-size: 0.85rem;
    color: #fee9d8;
    background-color: #000002; /* optional for visibility */
    padding: 0 4px;

}
.formbtn {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    margin-top: 50px;
}
 
.formbtn button {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 10px;
    background-color: #ff7300;
       
}
.formbtn_link {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.formbtn_link a {
    text-decoration: none;
    color: #fee9d8c4;
}

   

/* ===== Mobile UI Responsive ===== */
@media screen and (max-width: 499px) {
    #container {
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
       
    }

    .container_right {
        display: none;
    }

    .container_left {
        width: 100%;
        height: 100%;
        overflow-y: hidden;
    }

    .titleblock {
        width: 100%;
        height: 15%;
        display: flex;
        justify-content: center;
        align-items: last baseline;
        background-color: transparent;
        color: #ffffffc7;
    }

    .titleblock h3 {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .formblock {
        width: 100%;
        height: 85%;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        background-color: #fff;
        display: block;
        margin-left: 0;
        padding-top: 40px;
        overflow-y: auto; /* Enable scroll */
    }

    .formblock form {
        width: 100%;
        height: 100%;
        display: block;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 200px;
    }

    .formtitle {
        width: 100%;
        height: 5%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        border-bottom: 1px solid #ff7300;
        font-size: 0.9rem;
        opacity: 0.5;
        padding-left: 20px;
        margin-bottom: 20px;
        color: #bf5904;
        
    }

    .formrow {
        width: 100%;
        height: 15%;
        display: flex;
        background-color: transparent;
        align-items: baseline;
        overflow: hidden;
    }

    .formrow input {
        width: 100%;
        padding: 20px;
        background-color: transparent;
        border-bottom: 1px solid #01131f;
        border-top: none;
        border-left: none;
        border-right: none;
        outline: none;
        color: #01131f;
    }

    .formrow input::placeholder {
        color: #01131f95;
        opacity: 1;
    }

    .formrow input:-ms-input-placeholder {
        color: #01131f95;
    }

    .formrow input::-ms-input-placeholder {
        color: #01131f95;
    }
    .formimg {
        width: 100%;
        height: 15%;
        position: relative;
    }
    .formimg input[type="file"] {
        width: 100%;
        padding: 20px 12px 8px 12px;
        background-color: transparent;
        outline: none;
        cursor: pointer;
    }

    /* Floating label */
    .formimg label.img-title {
    position: absolute;
    top: 10px;
    left: 12px;
    font-size: 1.0rem;
    color: #01131f95;
    pointer-events: none;
    transition: all 0.2s ease;
    }

    /* When input has value or focused */
    .formimg input[type="file"]:focus + label,
    .formimg input[type="file"]:not(:placeholder-shown) + label {
    top: 5px;
    left: -8px;
    font-size: 0.75rem;
    color: #01131f;
    background-color: #fff; /* optional for visibility */
    padding: 0 4px;
    }

    .img-title {
        position: inherit;
        padding: 10px;
        display: flex;
        justify-content: flex-start;
        background-color: #fff;
        font-size: 0.8em;
        color: #01131f95;
    }

    #selectform {
        width: 100%;
        padding: 20px;
        background-color: transparent;
        border-bottom: 1px solid #01131f;
        border: 0.5px solid #01131f;
        border-top: none;
        border-left: none;
        border-right: none;
        outline: none;
        color: #01131f;
    }

    #selectform option {
        color: #01131f;
        background-color: transparent;
    }

    #selectform option:hover {
        background-color: rgba(1, 19, 31, 0.1);
    }
    
    #stateSelect {
        width: 100%;
        padding: 20px;
        background-color: transparent;
        border-bottom: 1px solid #01131f;
        border-top: none;
        border-left: none;
        border-right: none;
        outline: none;
        color: #01131f;
    }
     #stateSelect option {
        color: #01131f;
        background-color: transparent;
    }

    #stateSelect option:hover {
        background-color: rgba(1, 19, 31, 0.1);
    }
    
    #citySelect {
        width: 100%;
        padding: 20px;
        background-color: transparent;
        border-bottom: 1px solid #01131f;
        border-top: none;
        border-left: none;
        border-right: none;
        outline: none;
        color: #01131f;
    }
     #citySelect option {
        color: #01131f;
        background-color: transparent;
    }

    #citySelect option:hover {
        background-color: rgba(1, 19, 31, 0.1);
    }
    .formbtn {
        width: 100%;
        height: 13%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: transparent;
        margin-top: 40px;
    }
    .formbtn button {
        width: 80%;
        height: 80%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        border-radius: 10px;
        background-color: #ff7300;
        color: #fff;
       
    }
    .formbtn_link {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.formbtn_link a {
    text-decoration: none;
    color: #474747a6;
}
.bigspace {
    width: 100%;
    height: 30%;
}


}
