﻿/* 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. */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}


.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.panel-title-WithPadding {
    padding-left:5px;
    padding-top:3px;
}

.TimeRowWithSlots {
    background-color: lightgreen;
}
.TimeRowEditedSlots {
    background-color: lightblue;
}

.BreadCrumbs {
    padding-top: 5px;
}

.AptCellClass_Manifested {
    color: White;
    background-color: #347C17;
}

.AptCellClass_Manifested a {
    color: #b3d9ff;
}

.AptCellClass_Expired {
    color: White;
    background-color: #F88017;
}

.AptCellClass_Expired a {
    color: #cce6ff;
}

.AptCellClass_Pending {
    color: White;
    background-color: #7D1B7E;
}

.AptCellClass_Pending a {
    color: #b3d9ff;
}

.AptCellClass_NotAllowed {
    color: White;
    background-color: Red;
}

.AptCellClass_NotAllowed a {
    color: #002db3;
}

.AptRemarkCellClass_SpecialColor {
    background-color: yellow;
}

.text-caption {
/*    font-size: small;
*/}

.text-content {
/*    font-weight: bold;
*/}

.row-spacier {
    /*    padding-top: 0.1rem;*/
    padding-top: 0.3rem;
}

.glyphicon-space-right {
    padding-right: 1.0rem;
}

/* Container für das Submenu-Listenelement */
.dropdown-submenu {
    position: relative;
}

    /* Link im Submenu: Text links, Pfeil rechts */
    .dropdown-submenu > a {
        display: flex; /* Text + Pfeil nebeneinander */
        justify-content: space-between; /* Pfeil nach rechts */
        align-items: center;
        white-space: normal; /* Text darf umbrechen */
        padding-right: 24px; /* etwas Platz für den Pfeil */
    }

        /* Automatischer Pfeil rechts */
        .dropdown-submenu > a::after {
            content: "▶";
            margin-left: 8px;
            font-size: 0.75em;
            white-space: nowrap; /* Pfeil nie umbrechen */
            flex-shrink: 0; /* Pfeil nicht zusammenquetschen */
        }

    /* Standardzustand Submenu: versteckt */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
    }

        /* Für Mobile: Anzeige per JS über diese Klasse */
        .dropdown-submenu > .dropdown-menu.show-submenu {
            display: block;
        }

/* Desktop: Submenu auf Hover anzeigen (Geräte mit Mauszeiger) */
@media (hover: hover) and (pointer: fine) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Bootstrap Datepicker */
/* Grundzustand */
.day-unavailable {
    /*    background-color: #f5f5f5;
*/ background-color: transparent !important;
    color: #999;
    cursor: pointer;
}

    /* Hover */
    .day-unavailable:hover {
        background-color: orange !important;
        color: #fff;
    }

    /* Klick-Feedback (optional) */
    .day-unavailable.active,
    .day-unavailable:active {
        background-color: darkorange !important;
        color: #fff;
    }

.file-badge {
    font-size: 10px;
    font-weight: bold;
    margin-left: 4px;
    vertical-align: super;
    letter-spacing: 0.5px;
}

.scanner-nav-link {
    display: flex; /* keeps dot + text aligned */
    align-items: center;
    gap: 6px;
}

/* fallback if flex is not desired/available: remove display:flex and keep the next line */
.scanner-text {
    vertical-align: middle;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bdbdbd; /* off */
    border: 1px solid rgba(0,0,0,.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

    .status-dot.is-on {
        background: #5cb85c;
        box-shadow: 0 0 6px rgba(92,184,92,.75), inset 0 0 0 1px rgba(255,255,255,.35);
    }

/* keep your helper */
.u-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.scanner-nav-indicator {
    display: inline-flex;
    align-items: center;
    padding: 20px 10px; /* match navbar link spacing */
    cursor: default;
}
