body {
    color: #e0e0e0;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    background-image: linear-gradient(135deg, #34495e 25%, transparent 25%), linear-gradient(225deg, #34495e 25%, transparent 25%), linear-gradient(315deg, #34495e 25%, transparent 25%), linear-gradient(45deg, #34495e 25%, transparent 25%);
    background-size: 50px 50px;
    overflow: hidden;
}

#login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#login-form {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 20px;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.2rem;
}

input {
    width: 100%;
    padding: 12px 12px 12px 36px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #222;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, background-color 0.3s;
}

input:focus {
    border-color: #444;
    background-color: #333;
    outline: none;
}

button {
    width: 25%;
    padding: 10px;
    border: none;
    border-radius: 20px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: block;
    margin: 20px auto;
}

button:hover {
    background-color: #333;
}

#failed {
    display: none;
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

body[data-failed] #failed {
    display: block;
}

@media only screen and (max-width: 600px) {
    #login-form {
        padding: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }

    input {
        font-size: 0.9rem;
    }

    button {
        font-size: 0.9rem;
    }
}
