* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: linear-gradient(#5b1317, #000000);
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

header {
    padding: 20px 40px;
}

.logo-link {
    color: #e50914;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.form-error {
    color: #e87c03;
    font-size: 13px;
}

.login {
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    margin: 0 auto;
}

h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.subtitle {
    color: #b3b3b3;
    font-size: 14px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    background-color: #333333;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 14px;
    font-size: 14px;
    width: 100%;
}

input:focus {
    outline: 2px solid white;
}

#subbtn {
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

#subbtn:hover {
    background-color: #c11119;
}

.helpsec {
    margin-top: 20px;
}

.helpbtn {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.helpbtn:hover {
    text-decoration: underline; 
}

.helpmenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.helpmenu a {
    color: #b3b3b3;
    font-size: 13px;
    text-decoration: none;
}

.helpmenu a:hover {
    text-decoration: underline;
}

/* Utility class to hide elements */
.hidden {
    display: none !important;
}

footer {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 20px 40px;
    color: grey;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
}

.flinks {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.flinks a {
    color: grey;
    text-decoration: none;
}

.flinks a:hover {
    text-decoration: underline;
}

p {
    color: grey;
}

@media (max-width: 700px) {
    footer {
        flex-direction: column;
        gap: 12px;
    }
}