@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('app/ext/p2m-theme/fonts/Inter-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('app/ext/p2m-theme/fonts/Inter-500.ttf') format('truetype');
}

html,
body,
input,
button,
select,
textarea,
.menu,
.dialog,
.notification {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-weight: 300;
}

strong,
b,
h1,
h2,
h3,
button,
.button,
input[type='submit'] {
    font-weight: 500;
}

.login-ui {
    background: #ffffff;
}

.login-ui .login-dialog {
    box-sizing: border-box;
    max-width: 360px;
    padding: 30px 34px 34px;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
}

.login-ui .login-dialog .logo {
    display: block;
    width: 240px;
    height: 150px;
    margin: -24px auto -20px;
    background-image: url('app/ext/p2m-theme/images/logo-ap.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.login-ui .login-dialog .p2m-brand-text {
    padding: 0 0 22px;
    text-align: center;
}

.login-ui .login-dialog .p2m-subtitle {
    color: #8e8e8e;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.login-ui .login-dialog .version-number {
    display: none !important;
}

.login-ui .login-dialog .login-fields input,
input[type='text'],
input[type='password'],
input[type='email'] {
    box-sizing: border-box;
    border: 1px solid #d4d4d4 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #222222;
    box-shadow: none !important;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.login-ui .login-fields .labeled-field input:focus,
input[type='text']:focus,
input[type='password']:focus,
input[type='email']:focus {
    border-color: #e60000 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(230, 0, 0, 0.10) !important;
}

.login-ui .login-dialog .buttons input[type='submit'],
button.primary,
.button.primary,
input[type='submit'].primary {
    border: 1px solid #e60000 !important;
    border-radius: 7px !important;
    background: #e60000 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.login-ui .login-dialog .buttons input[type='submit']:hover,
button.primary:hover,
.button.primary:hover,
input[type='submit'].primary:hover {
    border-color: #c90000 !important;
    background: #c90000 !important;
}

.login-ui .login-dialog .buttons input[type='submit']:disabled {
    border-color: #b8b8b8 !important;
    background: #b8b8b8 !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.p2m-hcaptcha-wrap {
    display: flex;
    min-height: 78px;
    margin: 14px 0 16px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.p2m-hcaptcha-wrap iframe {
    max-width: 100%;
}

a,
a:visited {
    color: #e60000;
}

@media (max-width: 480px) {
    .login-ui .login-dialog {
        max-width: calc(100vw - 28px);
        padding-right: 24px;
        padding-left: 24px;
    }

    .login-ui .login-dialog .logo {
        width: 210px;
        height: 135px;
    }

    .p2m-hcaptcha-wrap {
        transform: scale(0.92);
        transform-origin: center;
        margin-right: -14px;
        margin-left: -14px;
    }
}
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
