/* Кнопки действий в таблицах */
.action-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-width: 1px;
    line-height: 1.3;
}

.action-btn i::before {
    font-size: 0.75rem;
}

/* Все кнопки действий с явной границей */
.table .action-btn.btn-outline-primary,
.table .action-btn.btn-outline-danger,
.table .action-btn.btn-outline-success,
.table .action-btn.btn-outline-info,
.table .action-btn.btn-outline-secondary,
.admin-table .action-btn.btn-outline-primary,
.admin-table .action-btn.btn-outline-danger,
.admin-table .action-btn.btn-outline-success,
.admin-table .action-btn.btn-outline-info,
.admin-table .action-btn.btn-outline-secondary {
    border: 1px solid currentColor !important;
}

/* Кнопка уведомления в таблице пользователей */
.table .btn-outline-info.action-btn,
.admin-table .btn-outline-info.action-btn {
    border: 1px solid #0dcaf0 !important;
    color: #0dcaf0 !important;
}

.table .btn-outline-info.action-btn:hover,
.admin-table .btn-outline-info.action-btn:hover {
    background-color: #0dcaf0 !important;
    color: #fff !important;
}

/* Стили для заголовков таблиц admin-table */
.admin-table thead th {
    background-color: #f8f9fa !important;
    border-bottom: 2px solid #dee2e6 !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #495057 !important;
    padding: 12px 8px !important;
    vertical-align: middle !important;
}

.admin-table thead tr {
    background-color: #f8f9fa !important;
}

.admin-table tbody td {
    padding: 10px 8px;
    vertical-align: middle !important;
}

/* Стили для аватарок отправителей уведомлений */
.sender-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sender-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Стили для уведомлений с аватарками */
.notification-item-full .notification-icon .sender-avatar {
    margin: 0;
}

.notification-item-full .notification-icon {
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Цвета иконок уведомлений */
.notification-color-blue {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #3b82f6 !important;
}

.notification-color-orange {
    background: rgba(249, 115, 22, 0.15) !important;
    color: #f97316 !important;
}

.notification-color-green {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #22c55e !important;
}

.notification-color-purple {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #8b5cf6 !important;
}

.notification-color-gray {
    background: rgba(107, 114, 128, 0.15) !important;
    color: #6b7280 !important;
}

.notification-color-default {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #7c3aed !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .sender-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
        overflow: hidden;
    }
}
