﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.table-letter {
    width: 30px;
    height: 40px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 10px;
}

.kl_ok {
    background: darkseagreen;
    border: lightgray;
}

.kl_empty {
    background: cornflowerblue;
    border: lightgray;
}

.kl_pending {
    background: orange;
    border: lightgray;
}

table.table-fit {
    width: auto !important;
    table-layout: auto !important;
}

    table.table-fit thead th, table.table-fit tfoot th {
        width: auto !important;
    }

    table.table-fit tbody td, table.table-fit tfoot td {
        width: auto !important;
    }

.card {
    margin-top: 10px;
}

.w-2 {
    width: 2% !important;
}

.w-3 {
    width: 3% !important;
}


.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.tippy-box[data-theme~='white'] {
    background-color: white;
    color: black; /* Ensure text is visible on a white background */
    border: 1px solid #ccc; /* Optional: Add a border to distinguish the tooltip */
}

    .tippy-box[data-theme~='white'] .tippy-arrow {
        color: white; /* Ensures the arrow matches the tooltip background */
    }

/* Custom class for compact table */
.compact-table {
    font-size: 0.9em;
    border-collapse: collapse; /* Ensure no extra space between table cells */
}

    .compact-table th, .compact-table td {
        padding: 0.2rem; /* Reduce padding within cells */
        margin: 0; /* Ensure no extra margin */
        white-space: nowrap; /* Prevent text from wrapping */
    }

.compact-tooltip {
    font-size: 0.7em;
}

.pink {
    background-color: pink !important; /* Ważne: nadpisujemy wszystkie inne style */
}

.green {
    background-color: lightgreen !important; /* Ważne: nadpisujemy wszystkie inne style */
}

/* Wyłącz efekt hover, gdy przycisk ma klasę pink lub green */
.pink:hover {
    background-color: pink !important;
}

.green:hover {
    background-color: lightgreen !important;
}
