@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overscroll-behavior-y: contain;
}

a, .btn-link {
    color: #0366d6;
}

/*.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}*/

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: black;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* QR code generator */
#qrCode {
    margin: 15px;
}
    #qrCode img {
        border-width: 3px;
        border-style: solid;
        border-color: white;
    }



footer {
    overflow: hidden !important;
}

input[type="checkbox"] {
    height: 1.3em;
    width: 1.3em;
}

input[disabled], input[readonly], select[disabled] {
    background-color: #adadad !important;
}

.pointer {
    cursor: pointer;
}

#components-reconnect-modal {
    color: black;
}
/* ---------- Sign-in pages (Login, Register, ...): same card as "Connect to a client" ---------- */

.auth-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.auth-box {
    width: 400px;
    max-width: 100%;
    margin: auto;
    padding: 22px 26px 20px;
    background-color: rgba(21, 23, 24, 0.92);
    border-top: 3px solid #1a9aa3;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
    color: #e6e6e6;
}

.auth-title {
    color: #4fd1d9;
    font-size: 1.05rem;
    margin-bottom: 14px;
}

    .auth-title span {
        font-size: 1.6rem;
        font-weight: 600;
        margin-right: 4px;
    }

.auth-label {
    display: block;
    color: #e6e6e6;
    font-size: .85rem;
    margin: 12px 0 6px;
}

.auth-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background-color: #0d0d0d;
    border: 1px solid #323334;
    border-radius: 2px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

    .auth-input:focus {
        border-color: #4fd1d9;
    }

    .auth-input.invalid {
        border-color: #e5534b;
    }

.auth-field-error,
.auth-box .validation-message {
    margin-top: 4px;
    color: #f2b8b5;
    font-size: .78rem;
}

.auth-box .validation-errors {
    margin: 0 0 8px;
    padding: 8px 12px 8px 28px;
    border-left: 3px solid #e5534b;
    background-color: rgba(229, 83, 75, .1);
    color: #f2b8b5;
    font-size: .8rem;
}

.auth-box .alert {
    margin-bottom: 10px;
    padding: 8px 12px;
    font-size: .82rem;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    color: #c9d3d6;
    font-size: .85rem;
    cursor: pointer;
}

    .auth-check input {
        width: 16px;
        height: 16px;
        accent-color: #1a9aa3;
    }

.auth-submit {
    width: 100%;
    height: 42px;
    margin-top: 18px;
    border: none;
    border-radius: 21px;
    background-color: #1a9aa3;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

    .auth-submit:hover {
        background-color: #22b8c2;
    }

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 14px;
    margin-top: 16px;
    font-size: .8rem;
}

    .auth-links a {
        color: #4fd1d9;
    }

.auth-hint {
    margin-top: 16px;
    color: #8a9599;
    font-size: .78rem;
}