@charset "utf-8";
/* CSS Document */

/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body background settings */
body {
    background-image: url("https://www.ollingtonelectrical.co.nz/wp-content/uploads/2023/10/AdobeStock_635529222-1030x577.jpg"); /* Replace with your image path */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Raleway", sans-serif;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black color with 60% opacity */
    z-index: 1;
}

/* Logo positioning */
.log-spc {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

.login-wrapper { font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 544px;
    z-index: 2;
    position: relative;
    margin: 0 auto; /* Center the login-wrapper horizontally */
}

/* Form container */
.form-container {
   
    width: 300px;
    background-color: #75C73E;
    opacity: 0.9;
    padding: 20px;
    border-radius: 7px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    order: 2;
    position: relative;
}

.form-container img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.input-container {
    position: relative;
    width: 100%;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    padding-right: 40px; /* Adjusted padding for the icon */
    border: none;
    border-radius: 15px;
    margin: 10px 0;
    box-sizing: border-box;
    text-align: left;
}

/* Icon container */
.icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none; /* Prevent interaction with the icon */
}

.icon img {
    width: 20px;
    height: 20px;
}

.icon2 {
    position: absolute;
    right: 10px; /* Adjusted to align with the padding */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none; /* Prevent interaction with the icon */
}

.icon2 img {
    width: 20px; /* Adjusted icon size */
    height: 20px; /* Adjusted icon size */
}

.remember-me {
    margin: 10px 0; color: #000; 
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
}

.remember-me input[type="radio"] {
    margin-right: 10px;
}

.dummy-text {
    margin: 10px 0;
    
    color: #000;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    margin: 0px 0;
    cursor: pointer;
}

.submit-btn {
    background-color: #000;
    color: white;
    margin: 0px 0px 10px 0px;
}



.submit-btn:hover {
    background-color: #245702;
    color: white;
    margin: 0px 0px 10px 0px;
}


.login-google {
    background-color: #fff;
    color: black;
    margin: 0px 0px 11px;
}



.login-google:hover {
    background-color: #F5F0F0;
    color: black;
    margin: 0px 0px 11px;
}
.login-facebook {
    background-color: #3b5998;
    color: white;
}



.login-facebook:hover {
    background-color: #322C72;
    color: white;
}

.stay-charged {
    width: 100%;
    max-width: 280px;
    padding-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 3;
}

.white-link {
    color: #fff;
    text-decoration: none;
}
.white-link:hover {
    color: #fff;
    text-decoration: underline;
}

.stay-charged img {
    width: 100%;
    height: auto;
    max-width: 244px;
    margin-top: 50px;
}

/* Media Queries */
@media (max-width: 768px) {
    .stay-charged {
        margin-top: 170px;
    }

    .login-wrapper {
        flex-direction: column;
        align-items: center; 
    }

    .log-spc {
        order: 1;
        top: 20px;
        left: 20px;
    }

    .stay-charged {
        order: 2;
    }

    .form-container {
        order: 3;
    }

    .form-container, .stay-charged {
        max-width: 90%; 
        margin-bottom: 50px; 
    }

    .stay-charged img {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 15px;
    }

    .form-container input[type="text"], .form-container input[type="password"] {
        padding: 10px;
    }

    button {
        padding: 8px;
    }

    .log-spc {
        width: 60px;
        top: 20px;
        left: 20px;
    }

    .stay-charged img {
        width: 60%;
    }
}

