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

}
.totp-enroll p,.totp-details{font-size:.8em}.totp-qr-code{text-align:center}.totp-qr-code img{margin:1em;border:1px solid rgba(0,0,0,0.25);box-shadow:1px 1px 2px rgba(0,0,0,0.25);cursor:pointer}h3.totp-details-header{font-size:.8em}h3.totp-details-header::before{content:'▸ '}.totp-details-visible h3.totp-details-header::before{content:'▾ '}.totp-details,.totp-hide-details{display:none}.totp-details-visible .totp-details{display:table}.totp-details-visible .totp-hide-details{display:inline}.totp-details-visible .totp-show-details{display:none}.totp-hide-details,.totp-show-details{color:blue;text-decoration:underline;cursor:pointer;margin:0 .25em;font-weight:normal}.totp-details{margin:0 auto}.totp-details th{padding-right:.25em;text-align:left}.totp-details td{font-family:monospace}.totp-detail{display:inline-block;margin:0 .25em}/* Miras Creative markalamasi (mirascreative.com renkleri ve Outfit yazi tipi). */

@font-face {
    font-family: 'Outfit';
    font-weight: 400;
    src: url('app/ext/mirascreative/fonts/outfit-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Outfit';
    font-weight: 600;
    src: url('app/ext/mirascreative/fonts/outfit-600.ttf') format('truetype');
}

body, input, select, textarea, button,
.login-ui, .home, .settings, .header, .list-item, .menu {
    font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Giris ekrani --- */

.login-ui {
    background: #fcf8f2;
}

.login-ui .login-dialog {
    background: #ffffff;
    color: #0b2020;
    border: 1px solid #e7dccb;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(16, 44, 37, 0.12);
    padding: 2em 2.25em 1.75em;
    max-width: 22em;
}

.login-ui .login-dialog .logo {
    background-image: url('app/ext/mirascreative/images/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 4.5em;
    height: 4.5em;
    margin: 0 auto 0.75em;
}

.login-ui .login-dialog .version {
    text-align: center;
    margin-bottom: 1.25em;
}

.login-ui .login-dialog .version .app-name {
    color: #102c25;
    font-size: 1.6em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
}

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

.login-ui .login-dialog .version::after {
    content: 'Uzak \00E7 al\0131\015F ma alan\0131';
    display: block;
    color: #354348;
    font-size: 0.95em;
    margin-top: 0.2em;
}

.login-ui .login-fields input[type="text"],
.login-ui .login-fields input[type="password"] {
    border: 1px solid #d9cdb8;
    border-radius: 10px;
    padding: 0.65em 0.8em;
    background: #fffdf9;
    color: #0b2020;
}

.login-ui .login-fields input:focus {
    outline: none;
    border-color: #ed713d;
    box-shadow: 0 0 0 3px rgba(237, 113, 61, 0.18);
}

.login-ui .login-error,
.login-ui.error .login-error {
    background: #fbe3d7;
    color: #8a2f0c;
    border-radius: 10px;
}

/* --- Dugmeler (genel) --- */

input[type="submit"]:not(.danger),
button:not(.danger):not(#mc-fullscreen-btn),
a.button:not(.danger) {
    background-color: #ed713d;
    border-color: #d35c2f;
    color: #ffffff;
    border-radius: 10px;
}

input[type="submit"]:not(.danger):hover,
button:not(.danger):not(#mc-fullscreen-btn):hover,
a.button:not(.danger):hover {
    background-color: #d35c2f;
}

/* --- Ana sayfa / ust bilgi --- */

.home, .settings {
    background: #fcf8f2;
}

.header {
    background: #102c25;
    color: #fcf8f2;
}

.header h2 {
    color: #fcf8f2;
}

.home .connection-group > .caption .name,
.home .connection > .caption .name {
    color: #0b2020;
}

/* --- Oturum ekranindaki tam ekran dugmesi --- */

#mc-fullscreen-btn {
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 100000;
    padding: 6px 12px;
    border: 1px solid rgba(252, 248, 242, 0.5);
    border-radius: 999px;
    background: rgba(16, 44, 37, 0.72);
    color: #fcf8f2;
    font: 600 13px 'Outfit', 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    opacity: 0.35;
    transition: opacity 0.15s ease;
}

#mc-fullscreen-btn:hover,
#mc-fullscreen-btn:focus-visible {
    opacity: 1;
}
