﻿
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');/*font-poppins*/

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.logo {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 100px; 
    height: auto;
    z-index: 1000; 
    max-width: 150px; 
}

.negative {
    display: none; 
}

.footer {
    position: static;
    bottom: 0px;
    right: 40px;
    font-size: 18px;
    color: #888;
    text-align: right;
}

.footer a {
        color: #888;
        text-decoration: none;
    }

.footer a:hover {
            text-decoration: underline;
        }
.login-container {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 350px;
    text-align: center;
    color: #fff;
}
.forgot-password-container {
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    width: 90%; 
    max-width: 350px;
    text-align: center;
    color: #fff;
}

    .forgot-password-container h2 {
        margin-top: -4%;
        margin-bottom: 20px;
        color: #fff;
        font-weight: 600;
    }


@media (max-width: 768px) {
    body{
        background-color: #333;
    }
    .logo {
        display: none; 
    }
      .login-form {
        top: -5rem;
        position: relative;
    }
    .logo {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: auto;
        z-index: 1000;
    }
     .negative {
        display: block; 
    }

    .footer {
        position: static;
        bottom: 100px;
        right: 40px;
        font-size: 14px;
    }
        .login-container {
        width: 100%;
        padding: 20px;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
    }
    .forgot-password-container {
        width: 100%;
        padding: 20px;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5);
    }
}
.login-container h2 {
        margin-top: -4%;
        margin-bottom: 20px;
        color: #fff;
        font-weight: 600;
    }

.form-group {
    margin-bottom: 15px;
    text-align: left;
    position: relative;
}

.form-group label {
        display: block;
        margin-bottom: 5px;
    }

.form-group .icon {
        position: absolute;
        left: 1px;
        top: 55%;
        transform: translateY(-50%);
        color: #888;
        font-size: 18px;
    }

.form-group .toggle-password {
        position: absolute;
        right: 10px;
        top: 55%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #888;
        font-size: 18px;
    }
.form-group input {
        width: calc(100% - 40px);
        padding: 10px 10px 10px 40px;
        border: none;
        border-radius: 4px;
        margin-top: 10px;
        font-family: 'Poppins', sans-serif;
    }

.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #959fae;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
        background-color: #1d3254;
    }

.form-links {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.form-links a {
        color: #959fae;
        text-decoration: none;
    }
.form-links a:hover {
            text-decoration: underline;
        }

.remember-me {
    text-align: left;
    margin-top: 10px;
}

.remember-me input {
        margin-right: 5px;
    }

.form-label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}
