/* LINZI SPB - Кастомные стили поверх Bootstrap */

:root {
    --primary-color: #007bff;
    --border-radius: 8px;
}

/* Минимальные кастомные стили */
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

/* Стили для штрихкода */
.barcode {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    border: 2px dashed var(--primary-color);
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.barcode:hover {
    background: var(--primary-color);
    color: white;
}

/* API секция */
.api-endpoint {
    background: #343a40;
    color: white;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.code-block {
    background: #343a40;
    color: #f8f9fa;
    padding: 15px;
    border-radius: var(--border-radius);
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* Бейджи ролей */
.role-admin {
    background: #dc3545 !important;
}

.role-user {
    background: #17a2b8 !important;
}

/* Статусы */
.status-active {
    color: #28a745;
    font-weight: 600;
}

.status-inactive {
    color: #dc3545;
    font-weight: 600;
}

/* Адаптивность для таблиц */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 12px;
    }
    
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

.drop-zone {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: #0056b3;
    background: #e7f3ff;
}
.progress-container {
    display: none;
}
.mapping-container {
    display: none;
}
.preview-container {
    display: none;
}
.notification-item .flex-grow-1 {
    white-space: normal;         /* разрешаем перенос строк */
    word-wrap: break-word;       /* переносим длинные слова */
    word-break: break-word;      /* дополнительный контроль */
    min-width: 0;                /* важно для flex-контейнера */
}
