﻿
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}*/

.logo {
    width: 118px;
    margin: auto;
}

    .logo img {
        width: 100%;
        height: 115px;
        object-fit: contain;
        border-radius: 50%;
        background: white;
        box-shadow: 0px 0px 3px #5f5f5f, 0px 0px 0px 5px #2f373d, 8px 8px 15px #a7aaa7, -8px -8px 15px #fff;
    }

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('https://i.postimg.cc/W11cDBzH/desk.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.wrapper {
    width: 410px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(255, 255, 255, .2);
    color: #fff;
    padding: 30px 40px;
    border-radius: 25px;
}

    .wrapper h1 {
        font-size: 27px;
        text-align: center;
        margin-top: 23px;
    }

    .wrapper .input-box {
        position: relative;
        width: 100%;
        height: 50px;
        margin: 20px 0;
    }

.input-box input {
    width: 80%;
    height: 45px;
    background: transparent;
    font-size: 16px;
    color: #fff;
    padding: 10px 20px 10px 15px;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
}


/*.input-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}*/

.input-box i:hover {
    color: #6b7ff2;
}

.input-box input:focus + i {
    color: #6b7ff2; /* Change icon color on focus */
}

/*.input-box input::placeholder {
    color: #fff;
}*/

.input-box i {
    position: absolute;
    right: 43px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.wrapper .remember-forget {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: 20px 0 15px;
}

.remember-forget label input {
    accent-color: #fff;
    margin-right: 10px;
}

.remember-forget a {
    color: #fff;
    text-decoration: none;
}

    .remember-forget a:hover {
        text-decoration: underline;
    }

.wrapper .btn {
    width: 30%;
    height: 37px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    color: #333;
    font-weight: 600;
    transition: .5s;
}

    .wrapper .btn:hover {
        background: rgba(255, 255, 255, .2);
        color: #fff;
        border-color: #fff;
    }

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register-link p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

    .register-link p a:hover {
        text-decoration: underline;
    }


@media (max-width:600px) {
    .wrapper {
        width: 310px;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, .2);
        backdrop-filter: blur(20px);
        box-shadow: 0 0 10px rgba(255, 255, 255, .2);
        color: #fff;
        padding: 30px 40px;
        border-radius: 25px;
    }

        .wrapper .remember-forget {
            display: block;
            justify-content: space-between;
            font-size: 14.5px;
            margin: 20px 0 15px;
        }
}

/* Style for Remember me label */
.remember-forget label {
    color: #516889;
    font-size: 14px;
    cursor: pointer; /* Pointer cursor to indicate it's clickable */
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and transform */
}

/* Style for Remember me checkbox */
.remember-forget input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease; /* Smooth transition for checkbox */
}

/* Hover effect for the Remember me label */
.remember-forget label:hover {
    color: #1b5e7a; /* Darker color when hovered */
    transform: scale(1.05); /* Slightly enlarge label on hover */
}

/* Focus effect for the Remember me label */
.remember-forget label:focus-within {
    color: #1b5e7a; /* Color changes when label or checkbox is focused */
    outline: none;
}

/* "Forgot Password" button styling */
.forgot-btn {
    border: none;
    background: none;
    padding: 0;
    text-decoration: none;
    color: #516889;
    font-size: inherit;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.3s ease; /* Smooth transition effect */
}

    /* Hover effect for Forgot Password button */
    .forgot-btn:hover {
        color: #1b5e7a;
        text-decoration: underline;
        transform: scale(1.05); /* Slightly scale the button on hover */
    }

    /* Focus effect for the Forgot Password button */
    .forgot-btn:focus {
        outline: none;
        color: #005a7d;
        text-decoration: underline;
        transform: scale(1.05); /* Slightly scale the button when focused */
    }

/* Checkbox click animation */
.remember-forget input[type="checkbox"]:checked {
    animation: checkbox-click 0.3s ease-out;
}

/* Animation for the checkbox when checked */
@keyframes checkbox-click {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1); /* Slightly grow */
    }

    100% {
        transform: scale(1);
    }
}

/* Animation for the Forgot Password button */
.forgot-btn:active {
    animation: button-click 0.3s ease-out;
}

/* Subtle "click" animation for the button */
@keyframes button-click {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95); /* Slightly shrink */
    }

    100% {
        transform: scale(1); /* Return to normal size */
    }
}