/**
 * @author      Luděk Nezmar
 * @copyright   2018-2026 ACRESIA Consulting s.r.o.
 * @license     Proprietary – použití podléhá licenčnímu ujednání
 */

/* CTR Tool – Site styles */
.ctrtool-contract-header {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.ctrtool-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ctrtool-status-draft         { background: #dee2e6; color: #495057; }
.ctrtool-status-active        { background: #d4edda; color: #155724; }
.ctrtool-status-expired       { background: #f8d7da; color: #721c24; }
.ctrtool-status-terminated    { background: #f8d7da; color: #721c24; }

[data-act-tooltip] { position: relative; cursor: help; }
[data-act-tooltip]:hover::after {
    content: attr(data-act-tooltip);
    position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
    background: #000; color: #fff; padding: 5px 10px; border-radius: 4px;
    white-space: nowrap; font-size: 0.78rem; z-index: 9999; pointer-events: none;
}
[data-act-tooltip]:hover::before {
    content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
    border: 5px solid transparent; border-top-color: #000; z-index: 9999;
}
