@font-face {
    font-family: "FixelDisplay Black";
    src: url('/fonts/FixelDisplay-Black.woff2') format('woff2'),
        url('/fonts/FixelDisplay-Black.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "FixelVariable";
    src: url('/fonts/FixelVariable.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: "FixelText";
    src: url('/fonts/FixelText-Regular.woff2') format('woff2'),
        url('/fonts/FixelText-Regular.woff') format('woff'),
        url('/fonts/FixelText-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "FixelText";
    src: url('/fonts/FixelText-Bold.woff2') format('woff2'),
        url('/fonts/FixelText-Bold.woff') format('woff'),
        url('/fonts/FixelText-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "FixelText";
    src: url('/fonts/FixelText-Italic.woff2') format('woff2'),
        url('/fonts/FixelText-Italic.woff') format('woff'),
        url('/fonts/FixelText-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "FixelText";
    src: url('/fonts/FixelText-BoldItalic.woff2') format('woff2'),
        url('/fonts/FixelText-BoldItalic.woff') format('woff'),
        url('/fonts/FixelText-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

body {
    font-family: "FixelDisplay Black", sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.2px;
    font-family: "FixelVariable";
}

.close-button {
    cursor: pointer;
    font-size: 24px;
    color: #888;
    font-family: "FixelVariable";
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #515050;
    font-size: 13px;
    line-height: normal;
    letter-spacing: 0.2px;
    font-family: "FixelVariable";
    font-style: normal;
    font-weight: 600;
}

.form-group input {
    width: 96%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #DADADA;
    background: #F9FAFB;
    color: #848181;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;

    font-family: "FixelVariable";
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.2px;
}

#errorMessage {
    display: block;
    color: #BF3131;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    font-family: "FixelVariable", sans-serif;
}

#loginButton {
    cursor: pointer;
    border: none;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.2px;
    width: 165px;
    height: 37px;
    flex-shrink: 0;
    border-radius: 5px;
    background: #BF3131;
}

#loginButton.error {
    border-radius: 5px;
    background: rgba(191, 49, 49, 0.64);
}

#loginButton:hover {
    background-color: #b2e2b2;
}

.form-group button {
    float: inline-end;
}