@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.form-container{
    width: 80%;
    margin: 0px auto;
    border: 1px solid #000;
    padding: 10px 0px;
}

h4{
    text-align: center;
    padding: 10px 0px;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
}


/* .name-part>div {
    flex: 1;
} */

.name-label{
    width: 20%;
    padding: 0px 30px;
}

.name-part{
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    gap: 5rem;
}

.name-part .input-part{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 2rem;
}

.input-part,
.input-part-1{
    width: 60%;
}

.phone-part-1{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 1rem;
    
}

.input-grp{
    display: flex;
    flex-direction: column;
}

span{
    font-size: 12px;
}

input, select{
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 02px;
    width: 100%;
	font-size:12px;
}

.address-part,
.address-2,
.file-2,
.representative{
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    gap: 5rem;
}
.address-input{
    margin-bottom: 5px;
}

.city-box{
    display: flex;
    gap: 2rem;
}

.radio-grp{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 1rem;
}

.radio-grp input{
    width: auto;
}

.radio-grp input[type="radio"] {
    width: 10px; /* Adjust size as needed */
    height: 10px;
    transform: scale(1.5); /* Alternative way to increase size */
}

.input-option{
    display: flex;
    gap: 4rem;
}

p{
    padding: 20px;
}

input[type="file"] {
    padding: 15px 20px;
}

input[type="file"] {
    display: none;
}

.custom-file-button {
    display: inline-block;
    background-color: #003367;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    transition: background 0.3s;
}

.custom-file-button:hover {
    background-color: #002244;
}

.signature-box{
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-bottom: 40px;
}

.signature-container {
    display: inline-block;
    margin-right: 20px;
    text-align: center;
    position: relative;
}


canvas {
    border: 2px solid #ccc;
    width: 300px;
    height: 150px;
    background-color: white;
    cursor: crosshair;
    touch-action: none; /* Prevents scrolling while drawing */
}

.clear-btn {
    position: absolute;
    left: 5px;
    bottom: 10px;
    margin-top: 5px;
    padding: 1px 3px;
    background-color: hsl(
206deg
 100% 90.34%);
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.clear-btn:hover {
    background-color: #c0c0c0;
}

.required {
    color: red;
}


.datetime-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}

.datetime-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.datetime-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.small-input {
    width: 40px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.year-input {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.small-select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.separator {
    font-size: 16px;
    font-weight: bold;
    margin: 0 5px;
}

.datetime-hints {
    display: flex;
    justify-content: space-between;
    width: 300px;
    font-size: 12px;
    color: gray;
    margin-top: 3px;
}

.spacer {
    width: 20px;
}

.submit-container {
    margin-top: 15px;
    text-align: center;
}

.submit-btn {
    background-color: #003367; /* Dark blue color */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.submit-btn:hover {
    background-color: #001d47; /* Darker blue on hover */
}

@media screen and (max-width: 1280px){
    .form-container{
        width: 70%;
    }
}

@media screen and (max-width: 1025px){
    .form-container{
        width: 90%;
    }
}

@media screen and (max-width: 820px){
    .form-container{
        width: 100%;
    }

    form{
        padding: 20px;
    }
}

@media screen and (max-width: 450px){

    form{
        padding: 30px;
    }

    input, select{
        width: 90%;
    }

    .name-part .input-part{
        flex-direction: column;
        gap: 1rem;
    }

    .name-part{
        flex-direction: column;
        gap: 1rem;
    }

    .name-label,
    label{
        width: 100%;
        padding: 0px;
        font-size: 14px;
    }

    .input-part, .input-part-1 {
        width: 100%;
    }

    .address-part, .address-2, .file-2, .representative{
        flex-direction: column;
        gap: 1rem;
    }

    .city-box{
        flex-wrap: wrap;
        gap: 1rem;
    }

    .input-grp{
        width: 100%;
    }

    .signature-box{
        flex-direction: column;
    }

    .small-input{
        width: 25px;
        font-size: 12px;
    }

    .year-input{
        width: 30px;
        font-size: 12px;
    }

    .small-select{
        font-size: 12px;
    }

    .datetime-hints{
        display: none;
    }

    p{
        padding: 10px;
        font-size: 14px;
    }

    .datetime-inputs {
        flex-wrap: wrap;
        align-items: center;
    }

    .small-input, .year-input, .small-select {
        width: 70px;
    }

    .custom-file-button{
        width: auto;
    }
}

