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

}
/* ==========================================================
   QDV WEB - GUACAMOLE BRANDING QUOTEX
   Charte :
   Magenta : #E2127A
   Magenta foncé : #B80E63
   Gris : #9C9E9F
   Gris foncé : #6E7071
   ========================================================== */


:root {
    --qdv-magenta: #E2127A;
    --qdv-magenta-dark: #B80E63;
    --qdv-grey: #9C9E9F;
    --qdv-grey-dark: #6E7071;
    --qdv-black: #111111;
    --qdv-white: #ffffff;
}


/* ==========================================================
   POLICE GENERALE
   ========================================================== */

body,
input,
button,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif !important;
}


/* ==========================================================
   ECRAN DE CONNEXION
   ========================================================== */


/* Fond */
.login-ui {
    background-image: url('app/ext/qdvweb-branding/images/background.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}


    /* Boite login */
    .login-ui .login-dialog {
        background-color: rgba(80,80,80,0.95) !important;
        border-radius: 8px !important;
        border-top: 5px solid var(--qdv-magenta) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,.45);
        max-width: 420px;
    }


        /* Logo Quotex */

        .login-ui .login-dialog .logo {
            background-image: url('app/ext/qdvweb-branding/images/quotex-logo.png') !important;
            background-size: contain !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            width: 220px !important;
            height: 49px !important;
            margin: 25px auto !important;
        }



        /* Texte version */

        /*.login-ui .login-dialog .app-name,
        .login-ui .login-dialog .version-number {
            color: white !important;
            text-align: center;
        }*/

        .login-ui .login-dialog .app-name {
            font-size: 0 !important;
            width: 400px;
            height: 100px;
            margin: 5px auto 5px auto;
            background: url('app/ext/qdvweb-branding/images/my-quotex2.png') center center no-repeat;
            background-size: 100%;
        }

        .login-ui .login-dialog .version-number {
            color: white !important;
            text-align: center;
        }

        /* Labels */

        .login-ui .login-dialog .field-header label {
            color: white !important;
        }


    /* Champs */

    .login-ui input {
        background: white !important;
        border-radius: 4px !important;
    }



        /* Bouton connexion */

        .login-ui button[type="submit"],
        .login-ui input[type="submit"] {
            background-color: var(--qdv-magenta) !important;
            border: none !important;
            color: white !important;
            border-radius: 5px !important;
            transition: .2s;
        }


            .login-ui button[type="submit"]:hover,
            .login-ui input[type="submit"]:hover {
                background-color: var(--qdv-magenta-dark) !important;
            }



/* ==========================================================
   BARRE HAUTE GUACAMOLE
   ========================================================== */


.header,
.header.tabbed {
    background: var(--qdv-grey-dark) !important;
    color: white !important;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}



    .header h2 {
        color: white !important;
    }



/* ==========================================================
   LOGO HAUT GAUCHE
   ========================================================== 


.hlogo {
    width: 220px;
    height: 60px;
    background: url('app/ext/qdvweb-branding/images/quotex-logo.png') no-repeat center;
    background-size: 180px auto;
}

*/

/* ==========================================================
   MENU UTILISATEUR
   ========================================================== */

/* Bouton utilisateur */
.user-menu {
    background: transparent !important;
}

    .user-menu .menu-title {
        color: #111111 !important;
        font-weight: 600;
    }

    .user-menu .menu-indicator {
        border-top-color: #111111 !important;
    }

    /* Survol */
    .user-menu:hover {
        background: rgba(226,18,122,.10) !important;
    }

        .user-menu:hover .menu-title {
            color: #111111 !important;
        }

        .user-menu:hover .menu-indicator {
            border-top-color: #111111 !important;
        }
/*
.user-menu {
    background: transparent !important;
    color: white !important;
}


    .user-menu:hover {
        background: var(--qdv-magenta) !important;
    }
*/


/* ==========================================================
   ONGLET PARAMETRES / NAVIGATION
   ========================================================== */


.page-tabs .page-list a {
    color: var(--qdv-grey-dark);
}


    .page-tabs .page-list a.current {
        color: var(--qdv-magenta) !important;
        border-bottom: 3px solid var(--qdv-magenta) !important;
        font-weight: bold;
    }



    .page-tabs .page-list a:hover {
        background: rgba(226,18,122,.15) !important;
    }



/* ==========================================================
   MENUS DEROULANTS
   ========================================================== */


.menu-dropdown {
    background: white !important;
    border: 1px solid #ddd;
}



    .menu-dropdown a:hover {
        background: rgba(226,18,122,.12) !important;
        color: var(--qdv-magenta) !important;
    }



/* ==========================================================
   LISTE DES CONNEXIONS
   ========================================================== */


.connection-list-ui .header {
    background: var(--qdv-grey-dark) !important;
}


    .connection-list-ui .header h2 {
        color: white !important;
    }



/* Connexion hover */

.list-item:not(.selected) .caption:hover {
    background: rgba(226,18,122,.12) !important;
    border: 1px solid var(--qdv-magenta) !important;
}



/* Connexion sélectionnée */


.list-item.selected {
    border-left: 4px solid var(--qdv-magenta);
}



/* Nom connexion */

.list-item .name {
    color: var(--qdv-magenta) !important;
    font-weight: 500;
}



/* ==========================================================
   BOUTONS GENERAUX
   ========================================================== */


button,
input[type="submit"],
a.button {
    background: var(--qdv-magenta) !important;
    border: none !important;
    color: white !important;
    border-radius: 5px !important;
}



    button:hover,
    input[type="submit"]:hover,
    a.button:hover {
        background: var(--qdv-magenta-dark) !important;
    }



/* ==========================================================
   ICONES RDP
   ========================================================== */


.list-item .connection .icon.type.rdp {
    background-image: url('app/ext/qdvweb-branding/images/icon-connection.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}



/* ==========================================================
   ERREURS LOGIN
   ========================================================== */


.login-ui.error p.login-error {
    background: #f14141 !important;
    color: white !important;
    border-radius: 5px;
}

/* ==========================================================
   Bloc QUOTEX
   ========================================================== */

.login-ui .navigation {
    position: fixed !important;
    left: 25px !important;
    bottom: 20px !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    gap: 25px;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: 1000;
}


    .login-ui .navigation .header-right {
        display: flex;
        gap: 25px;
    }


    .login-ui .navigation a {
        color: white !important;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        text-shadow: 0 1px 3px rgba(0,0,0,.7);
    }


        .login-ui .navigation a:hover {
            color: var(--qdv-magenta) !important;
        }

/* ==========================================================
   Sections formulaires utilisateur
   ========================================================== */

/* Titres des sections comme Profil et Restrictions de compte */

.form-header {
    background: var(--qdv-grey-dark) !important;
    color: white !important;
    padding: 8px 10px !important;
    font-weight: bold !important;
}


    /* Alignement identique aux autres blocs */

    .form-header h3 {
        color: white !important;
    }

.form .form-header {
    background-color: var(--qdv-grey-dark) !important;
    color: #ffffff !important;
}