* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #141414;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.login-box {
    background: #1e1e1e;
    padding: 40px 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #e50914; /* Plex red */
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 15px;
}

input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #2b2b2b;
    color: #fff;
}

input:focus {
    outline: none;
    border-color: #e50914;
}

input.error-input {
    border-color: #ff4d4f;
}

.error {
    display: none;
    background: #ffeded;
    color: #b42318;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    background: #e50914;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #c1070a;
}

@media (max-width: 500px) {
    .login-box {
        padding: 30px 20px;
    }
}

