* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5aa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-image: url("background.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.login {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 100%;
    max-width: 420px;
    background: #ffffffb3;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card .content {
    margin-bottom: 12px;
}

.title {
    font-size: 28px;
    font-weight: 700;
    color: #1c1e21;
    margin-bottom: 25px;
}

.form {
    display: flex;
    flex-direction: column;
}

.inputgrp {
    margin-bottom: 18px;
    position: relative;
}

.inputgrp .user {
    display: none;
}

.inputgrp input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    font-size: 16px;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    background-color: #f5f6f7;
    color: #1c1e21;
    transition: border-color 0.3s;
}

.inputgrp .icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #90949c;
}

.optn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
    color: #606770;
}

.remember input {
    margin-right: 8px;
}

.forgot {
    color: #1877f2;
    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}

#btnlogin {
    background-color: #1877f2;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 18px;

}

#btnlogin:hover {
    background-color: #5697ebce;
}

.register {
    font-size: 14px;
    color: #606770;
}

.register a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
}

.register a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }

    .title {
        font-size: 24px;
    }

    .inputgrp input {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    #btnlogin {
        padding: 12px;
        font-size: 16px;
    }
}