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

}
body {
    /* background-color: #c5cdc2; */
    background: linear-gradient(180deg, rgb(41 60 162 / 37%) 0%, rgb(236 171 171 / 20%) 100%);
    background-repeat: no-repeat;
}
 div.login-ui {
    width: 100%;
    height: 100vh;
    background-image: url('app/ext/rosehill/images/login3.jpg');
    background-size: cover;
    background-position: center;
}


/* These next two are for the north horizontal menu bar */
/* North horizontal menu bar selected item */
.page-tabs .page-list li a.current {
    background: #333341 !important;
    color: #FFFFFF !important;
}

/* North horizontal menu bar hover on item */
.page-tabs .page-list li a:hover {
    background: #3333415e !important;
    color: #eceeee00 !important;
}

.page-list-level li .menu-dropdown {
    background: #979879bd !important;
}

.list-item:not(.selected) .caption:hover {
    background: #e5e5cd !important;
    border: solid 1px #CCCCCC !important;
}

.recent-connections .connection:hover {
    background: #a3baab !important;
}

.user-menu {
    background: #ffffff !important;
    color: #000000 !important;
}

.user-menu:hover {
    background: #dddebc !important;
    color: #000000 !important;
}

.menu-dropdown .ng-isolate-scope .open {
    background: #979879ad !important;
}

.header {
    background: #6B0019 !important;
    color: #ffffff !important;
}

.login-ui .login-dialog .logo {
    display: block;
    margin: 0.5em auto;
    width: 18em; /* Adjust the width */
    height: 7em; /* Adjust the height to make it taller */
    background-size: 18em 7em; /* Match the background size to the new dimensions */
    background-image: url('app/ext/rosehill/images/school-logoc.png');
}

.login-ui .login-dialog {
    background-color: #5c5c53;
    max-width: 5in;
    border: solid 2px #9b9b9a;
}
.login-ui .login-dialog {
    border-radius: 20px;
    max-width: 5in;
    border: solid 2px #9b9a9a00;    
}

.login-ui .login-dialog .version .app-name {
    font-weight: 300;
    text-transform: none;
    text-align: center;
    font-size: 2.25em;
    color: #000000;
    font-family: roboto, sans-serif;  
}

/* Ensure form labels are visible */
.login-ui .login-dialog label {
    font-size: 1em; /* Adjust label font size if necessary */
    color: #333333; /* Label text color */
    display: block; /* Ensure labels are block-level elements */
    margin-bottom: 5px; /* Space between label and input */
}

/* Ensure input fields and placeholder text are visible */
.login-ui .login-dialog .form-control {
    border-radius: 10px; /* Round the input fields */
    padding: 10px; /* Add padding inside the input fields */
    font-size: 1em; /* Adjust font size if necessary */
    color: #333333; /* Input text color */
    background-color: #ffffff; /* Input background color */
    border: 1px solid #cccccc; /* Input border color */
}

.login-ui .login-dialog .form-control::placeholder {
    color: #888888; /* Placeholder text color */
}

/* Ensure input fields are highlighted when focused */
.login-ui .login-dialog .form-control:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Optional: highlight input fields when focused */
    border-color: #007bff; /* Optional: change border color when focused */
}

/* Style the login button */
.login-ui .login-dialog .login-button {
    border-radius: 10px; /* Round the login button */
    padding: 10px 20px; /* Add padding inside the button */
    font-size: 1em; /* Adjust font size if necessary */
    background-color: #007bff; /* Button background color */
    color: #ffffff; /* Button text color */
    border: none; /* Remove button border */
}
.login-ui .login-dialog {
    border-radius: 20px;
    max-width: 5in;
    border: solid 2px #9b9a9a00;
    background-color: #ffffff;    
}

.login-ui .login-dialog .version .app-name {
    font-weight: 300;
    text-transform: none;
    text-align: center;
    font-size: 2.25em;
    color: #000000;
    font-family: roboto, sans-serif;  
}

p[translate="TOTP.INFO_CODE_REQUIRED"] {
    color: white !important;
    text-align: center;
}
