/* style.css */
/* Base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.input-group:has(.btn) {
    display: flex;
    justify-content: center;
}

.background {
    background: url('images/bg_img.svg');
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header-image {
    max-width: 500px;
    height: auto;
    margin: 15px 0 15px 50px;
}

.header {
    width: 100%;
    background: #4A7EAD;
    box-shadow: 2px 2px 34px 8px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    /* margin-bottom: 40px; */
}

.heading {
    font-size: 24px;
    color: white;
    margin: 0 40px;
    font-family: 'Poppins', sans-serif;
}

/* Login container */
.container {
    width: 90%;
    max-width: 600px;
    margin: 50px auto 50px auto;
    background: #4A7EAD;
    box-shadow: 4px 4px 35px 9px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-icon-image {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
}

.form_heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 30px;
    text-align: center;
}

.login-email {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    width: 100%;
    margin-bottom: 15px;
}

input {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    border: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

/* Centered login button */
.input-group:nth-child(3) {
    display: flex;
    justify-content: center;
}

.btn {
    width: 120px;
    height: 40px;
    margin-top: 10px;
    background: #FFFFFF;
    border: 1px solid #4A7EAD;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: rgb(174, 165, 165);
    color: white;
}

.login-register-text {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin-top: 20px;
    color: #DCE6F0;
}

a:link,
a:visited,
a:active {
    color: #DCE6F0;
    text-decoration: none;
}

.error {
    color: yellow;
    text-align: center;
    margin-top: 10px;
}

/* Footer styles */
.end {
    margin-top: auto;
    width: 100%;
}

.footer {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    background-color: #bcbaba9b;
    color: #232323;
    text-align: center;
}

.last {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    background-color: #232323;
    font-family: 'Nunito Sans', sans-serif;
    color: #F7F7F7;
    width: 100%;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .header-image {
        max-width: 90%;
        margin: 10px auto;
        display: block;
    }

    .heading {
        font-size: 22px;
        text-align: center;
        margin: 0 20px;
    }

    .container {
        width: 90%;
        padding: 20px 15px;
    }

    .form_heading {
        font-size: 20px;
    }

    .login-icon-image {
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .header-image {
        max-width: 90%;
    }

    .heading {
        font-size: 22px;
    }

    .container {
        width: 95%;
        padding: 15px 10px;
        margin-top: auto;
    }

    .form_heading {
        font-size: 18px;
    }

    .login-icon-image {
        height: 50px;
    }

    .btn {
        width: 100px;
        font-size: 14px;
    }

    .login-register-text {
        font-size: 14px;
    }
}