
table td:not(.period),
table thead th:not(.period) {
    white-space: normal !important;
    word-wrap: break-word;
    text-align: center;
}

/* Period classi bo'lgan elementlar uchun */
table td.period {
    white-space: nowrap !important;  /* Matn qirqilmasligi */
    word-wrap: normal !important;    /* So'zlar uzilmasligi */
    text-align: center;
    min-width: 120px;               /* Minimal kenglik */
    width: 15%;                     /* Foizli kenglik */
}

/* event-table.css yoki style qismiga qo'shing */
.mytooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #007bff;
    text-decoration: none;
}

.mytooltip:hover {
    color: #0056b3;
}

.tooltip-content5 {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 150px;
    max-width: 250px;
    font-size: 12px;
    line-height: 1.4;
}

.tooltip-content5 .tooltip-inner2 {
    color: #333;
}

.tooltip-content5 .tooltip-inner2 div {
    padding: 2px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tooltip-content5 .tooltip-inner2 div:last-child {
    border-bottom: none;
}

/* Jadval uslublari */
.table-responsive-sm {
    overflow-x: auto;
}

.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

.badge {
    font-size: 0.85em;
    padding: 0.35em 0.65em;
}
