/* Argyle Detective Agency - Victorian Newspaper Theme */

/* Main page background - aged newspaper texture */
div.login-ui {
    background: #f5f5dc;
    background-color: #f5f5dc;
    background-image: 
        /* Parchment texture overlay */
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="parchment" patternUnits="userSpaceOnUse" width="100" height="100"><rect width="100" height="100" fill="%23f5f5dc"/><circle cx="20" cy="20" r="1" fill="%23e8e0d0" opacity="0.4"/><circle cx="80" cy="40" r="0.5" fill="%23e8e0d0" opacity="0.3"/><circle cx="40" cy="80" r="0.8" fill="%23e8e0d0" opacity="0.35"/><circle cx="60" cy="60" r="0.3" fill="%23e8e0d0" opacity="0.2"/><circle cx="10" cy="70" r="0.6" fill="%23e8e0d0" opacity="0.25"/></pattern></defs><rect width="100" height="100" fill="url(%23parchment)"/></svg>'),
        /* Subtle newspaper column lines */
        linear-gradient(90deg, transparent 48%, rgba(139, 69, 19, 0.1) 49%, rgba(139, 69, 19, 0.1) 51%, transparent 52%),
        /* Aged paper discoloration */
        radial-gradient(ellipse at top left, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(160, 82, 45, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    font-family: "Times New Roman", "Georgia", serif;
    color: #2c1810;
}

/* Login dialog container - newspaper article box */
.login-ui .login-dialog {
    background-color: rgba(253, 245, 230, 0.95);
    border: 2px solid #8b4513;
    border-radius: 0;
    padding: 40px;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    max-width: 450px;
}

/* Add newspaper-style border decoration */
.login-ui .login-dialog::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #8b4513;
    border-style: dashed;
    opacity: 0.3;
}

/* Agency logo - newspaper masthead style */
.login-ui .login-dialog .logo {
    background-image: url('app/ext/argyle-detective/images/newspaper-logo.svg');
    width: 100%;
    height: 8em;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 25px;
    border-bottom: 3px double #8b4513;
    padding-bottom: 15px;
    position: relative;
}

/* Add newspaper-style underline decoration */
.login-ui .login-dialog .logo::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #8b4513 0px,
        #8b4513 10px,
        transparent 10px,
        transparent 20px
    );
}

/* Form fields styling - newspaper form style */
.login-ui .login-dialog .login-field label {
    font-family: "Courier New", monospace;
    color: #8b4513;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
    border-bottom: 1px dotted #8b4513;
    padding-bottom: 2px;
}

.login-ui .login-dialog .login-field input {
    background-color: #fdf5e6;
    border: 2px solid #8b4513;
    color: #2c1810;
    font-family: "Times New Roman", serif;
    font-size: 1.1em;
    padding: 12px 15px;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-ui .login-dialog .login-field input:focus {
    border-color: #a0522d;
    outline: none;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.1),
        0 0 8px rgba(160, 82, 45, 0.3);
    background-color: #fffef7;
}

/* Login button - newspaper ad style */
.login-ui .login-dialog .login-button {
    background-color: #8b4513;
    border: 2px solid #654321;
    color: #fdf5e6;
    font-family: "Times New Roman", serif;
    font-size: 1.3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 30px;
    border-radius: 0;
    width: 100%;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.login-ui .login-dialog .login-button:hover {
    background-color: #a0522d;
    border-color: #8b4513;
    transform: translateY(-1px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Add newspaper-style button decoration */
.login-ui .login-dialog .login-button::before {
    content: "◆";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fdf5e6;
    font-size: 0.8em;
}

.login-ui .login-dialog .login-button::after {
    content: "◆";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fdf5e6;
    font-size: 0.8em;
}

/* Error messages - newspaper correction style */
.login-ui .login-dialog .error-message {
    color: #8b0000;
    font-style: italic;
    font-family: "Courier New", monospace;
    background-color: rgba(255, 240, 240, 0.9);
    padding: 12px;
    border: 1px solid #8b0000;
    border-left: 4px solid #8b0000;
    margin-top: 15px;
    text-align: center;
    font-size: 0.9em;
}

/* Remember me checkbox - newspaper form style */
.login-ui .login-dialog .login-field input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #8b4513;
}

.login-ui .login-dialog .login-field label[for*="remember"] {
    font-size: 0.9em;
    text-transform: none;
    letter-spacing: normal;
    display: inline;
    margin-left: 5px;
    border-bottom: none;
    padding-bottom: 0;
}

/* Add newspaper-style page number effect */
.login-ui .login-dialog::after {
    content: "Page 1";
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-family: "Courier New", monospace;
    font-size: 0.7em;
    color: #8b4513;
    opacity: 0.6;
}

/* Responsive design for newspaper theme */
@media (max-width: 768px) {
    .login-ui .login-dialog {
        margin: 20px;
        padding: 25px;
    }
    
    .login-ui .login-dialog .logo {
        height: 6em;
    }
}
/*
 * 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;

}
