* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/login-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.login-error {
    margin-bottom: 15px;
    padding: 10px 12px;

    color: #ff8b8b;

    background: rgba(120, 20, 20, 0.25);

    border: 1px solid rgba(255, 80, 80, 0.35);

    font-size: 12px;

    text-align: center;
}

.login-container {
    width: 360px;
    text-align: center;
}

.logo {
    width: 230px;
    max-width: 80%;
    margin-bottom: 20px;

    filter:
        drop-shadow(0 5px 10px rgba(0,0,0,0.8));
}

.login-panel {
    width: 100%;
    padding: 30px 35px;

    background: rgba(10, 10, 10, 0.78);

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.7);

    backdrop-filter: blur(5px);
}

.login-panel h2 {
    color: white;
    font-size: 22px;
    letter-spacing: 2px;

    margin-bottom: 25px;
}

.input-box {
    margin-bottom: 15px;
}

.input-box input {
    width: 100%;
    height: 45px;

    padding: 0 15px;

    background: rgba(255,255,255,0.95);

    border: none;
    border-radius: 6px;

    font-size: 15px;

    outline: none;
}

.input-box input:focus {
    box-shadow: 0 0 8px rgba(255,255,255,0.7);
}

.login-panel button {
    width: 100%;
    height: 45px;

    margin-top: 5px;

    border: none;
    border-radius: 6px;

    background: linear-gradient(
        135deg,
        #2c91a8,
        #176476
    );

    color: white;

    font-size: 16px;
    font-weight: bold;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.2s;
}

.login-panel button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 15px rgba(0,0,0,0.5);
}

.register {
    margin-top: 20px;

    color: #cccccc;

    font-size: 13px;
}

.register a {
    color: #55c9e8;

    text-decoration: none;

    font-weight: bold;
}

.register a:hover {
    text-decoration: underline;
}