body {
    min-height: 150vh; /* Makes page 1.5 times the height of the screen */
}

.middle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    
}
.header1{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;

}
.image{
    position: relative;
    width: 5rem;
    height: 5rem;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* dark semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.success-modal {
    background-color: #ffffff;
    color: #155724;
    padding: 2rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
    font-family: system-ui, sans-serif;
    font-size: 1.2rem;
    max-width: 400px;
    width: 80%;
    animation: popIn 0.3s ease;
}

.success-modal button {
    margin-top: 1rem;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.success-modal button:hover {
    background-color: #218838;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


.lostpetform{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: relative;
    top: 3rem;
    border: 1px solid white;
    border-radius: 1rem;
    height: 70rem;
    width: 40rem;
    box-shadow: 0 4px 8px grey;
}
.form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 0.5rem;
    position: relative;
    bottom: 2rem;
}
.header{
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.full_name, .code, .phone, .e-mail, .job, .job_type, .loc, .desc{
    position: relative;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
.code{
    position: relative;
 
}
.phone{
    position: relative;
   
}
.e-mail{
    position: relative;
    
}
.job{
    position: relative;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.loc, .desc{
    position: relative;
    
}
.job_type{
    position: relative;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-radius: 0.5rem;
    height: 1.5rem;
    box-shadow: 0 4px 8px grey;
    border: solid 1px white;
    height: 2rem;
}
.type{
    position: relative;
   
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-radius: 0.5rem;
    height: 1.5rem;
    box-shadow: 0 4px 8px grey;
    border: solid 1px white;
    height: 2rem;
}
.tip{
    position: relative;
    
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.name, .area_code, .contact, .email, .location{
    position: relative;
   
    border-radius: 0.5rem;
    height: 1.5rem;
    box-shadow: 0 4px 8px grey;
    border: solid 1px white;
    height: 2rem;
}
.description{
    position: relative;
   
    border-radius: 0.5rem;
    height: 8rem;
    width: 18rem;
    box-shadow: 0 4px 8px grey;
    border: solid 1px white;
    
}

.btn{
    position: relative;
    top: 2rem;
   
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 5rem;
    height: 3rem;
    color: white;
    background-color: red;
    border: 1px solid red;
    border-radius: 1rem;
    box-shadow: 0 4px 8px grey;

}
.backbtn{
    position: relative;
    bottom: 61.5rem;
    left: 21rem;
    width: 4rem;
    height: 3rem;
    border-radius: 1rem;
    background-color: green;
    color: white;
    border: 1px;
    box-shadow: 0 4px 8px grey;
}
textarea{
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

