.user-login {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.user-icon {
    font-size: 1.8rem;
    cursor: pointer;
    background-color: white;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    text-align: center;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.user-icon:hover {
    background-color: whitesmoke;
}

.login-popup {
    display: none;
    position: absolute;
    top: 3.2rem;
    right: 0;
    background-color: #222;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    width: 250px;
}

.login-popup form {
    display: flex;
    flex-direction: column;
}

.login-popup h3 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.login-popup input {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.login-popup button {
    padding: 0.5rem;
    background-color: #ff6600;
    border: none;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.login-popup button:hover {
    background-color: #e65c00;
}

.login-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.login-links a {
    color: #ccc;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}
