* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 1rem;
    padding: 0;
    background: none;
    border: none;
}

.toggle-password:hover {
    color: #333;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="password"] {
    padding-right: 40px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #333;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

button[type="submit"]:hover {
    background: #555;
}

.error {
    color: #e74c3c;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #fadbd8;
    border-radius: 5px;
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .login-container {
        padding: 25px 20px;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    input[type="text"],
    input[type="password"] {
        padding: 15px;
        font-size: 1.1rem;
    }

    button[type="submit"] {
        padding: 15px;
        font-size: 1.1rem;
    }
}