/* 🌿 GENERAL STYLING */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #dbf4e6;
    overflow-x: hidden;
}

/* 🌿 MAIN CONTAINER */
.container {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    gap: 80px;               /* space between left and login box */
    min-height: 100vh;
    padding: 40px 60px;
    background-color: #dbf4e6;
    flex-wrap: wrap; /* for responsive behavior */
}

/* 🌿 LEFT SIDE (Logo + Text + Pets) */
.left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.headcontainer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.Citylogo {
    width: 90px;
    height: auto;
}

.header h1 {
    font-family: 'Playfair Display', serif;
    color: #004d2b;
    font-size: 42px;
    margin-bottom: 3px;
}

.header p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #007b42;
    margin-top: -5px;
    font-style: italic;
}

.petpic {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
}

/* 🌿 LOGIN CARD */
.logincontainer {
    background-color: white;
    width: 100%;
    max-width: 450px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 40px 30px 50px;
}

.Vetlogo {
    width: 120px;
    height: auto;
    margin-top: 5px;
}

/* 🌿 ERROR MESSAGE */
.error-container {
    min-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-container p {
    color: red;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

/* 🌿 FORM */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

/* 🌿 INPUT GROUP */
.input-group {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #007b42;
}

.input-group input {
    width: 100%;
    height: 48px;
    padding-left: 45px;
    font-size: 15px;
    border: 1.8px solid #007b42;
    border-radius: 10px;
    background-color: #f5fdf7;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus {
    border-color: #007b42;
    box-shadow: 0 4px 10px rgba(0, 123, 66, 0.3);
}

/* 🌿 SHOW PASSWORD */
.showpass {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 1px;
    width: 100%;
    max-width: 350px;
    cursor: pointer;
}

/* 🌿 LOGIN BUTTON */
#login {
    width: 100%;
    max-width: 320px;
    padding: 14px;
    background-color: #007b42;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

#login:hover {
    background-color: #005e34;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#login:active {
    background-color: #004d2b;
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 🌿 FOOTER */
.footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #004d2b;
    background-color: transparent;
    padding: 6px 0;
    border: none;
    letter-spacing: 0.4px;
}

/* 🌿 RESPONSIVE STYLING */

/* Tablet */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        gap: 40px;
        padding: 30px 20px;
    }

    .headcontainer {
        justify-content: center;
        text-align: center;
    }

    .petpic {
        max-width: 400px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .headcontainer {
        flex-direction: column;
        gap: 10px;
    }

    .petpic {
        display: none;
    }

    .logincontainer {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    #login {
        font-size: 15px;
    }
}
