* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    background-color: #fbfafd;
}

/*form styling*/
.form-container {
    width: 100%;
    max-width: 450px;
    background: #fbfafd;
    padding: 2rem;
    border-radius: 12px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    border-radius: 10px;
}

h2 {
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
    margin-bottom: 0.2rem;
    color: #000000;
    text-align: center;
}

p {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
    color: #9d99b9;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #9d99b9;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 1.2rem;
    border: 2px solid #b9b5d3;
    border-radius: 15px;
    font-size: 1rem;
    transition: border-color 0.3 ease;
}

input:focus {
    outline: none;
    border-color: #b9b5d3;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper .form-control {
    padding-right: 42px; /* make room for the icon */
    margin-bottom: 0;
}

input::placeholder {
    font-family: 'Poppins', sans-serif;
}

.eye-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
}

.eye-toggle:hover svg {
    stroke: #7546db;
}

button {
    background-color: #7546db;
    color: white;
    font-family: 'Poppins', sans-serif;
    padding: 12px;
    border: none;
    margin-top: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

button:hover {
    background-color: #9c71fa;
}

button:active {
    transform: scale(0.98);
}

@media screen and (max-width: 480px) {

    .form-container {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}