/*
 * 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.
 */

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
/*
 * 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;

}
.quickconnect-container{margin:.25em 0;width:100%;margin-left:.50em}.quickconnect-container .quickconnect-field{background-image:url('images/protocol-icons/guac-text.png');background-repeat:no-repeat;background-size:1.50em;background-position:.25em center;background-color:transparent;padding:.25em;padding-left:2.50em;width:100%;max-width:none;border:0;box-sizing:border-box}.quickconnect-button{clear:both;float:right;margin-right:.75em;font-size:.75em;padding:.25em}.quickconnect-list-item{vertical-align:middle;align-content:center;display:flex}/* =========================================================================
   RemoteHub branding — login page overrides (Guacamole 1.6.0 DOM)
   ========================================================================= */

/* --- Replace default Guacamole logo with OKTO logo ---------------------- */
.login-ui .login-dialog .logo {
    background-image: url('app/ext/remotehub-branding/images/logo.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 260px;
    height: 110px;
    margin: 0 auto 10px;
}

/* --- Hide the default subtle "Connectez-vous avec: OpenID" block ------- */
.login-ui .sso-providers {
    display: none !important;
}

/* --- "Se connecter avec Microsoft 365" button -------------------------- */
.remotehub-ms-button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px;
    margin: 8px 0 14px;
    background: #2F2F2F;
    color: #FFFFFF !important;
    border: 1px solid #8C8C8C;
    border-radius: 4px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease-in-out;
}

.remotehub-ms-button:hover,
.remotehub-ms-button:focus {
    background: #4A4A4A;
    text-decoration: none;
    outline: none;
    color: #FFFFFF !important;
}

.remotehub-ms-button .ms-logo {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* --- Divider between MS button and local login ------------------------- */
.remotehub-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9A9A9A;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 6px 0 14px;
}

.remotehub-divider::before,
.remotehub-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.remotehub-divider::before { margin-right: 12px; }
.remotehub-divider::after  { margin-left: 12px; }
