/* Переопределение Bootstrap цветов */
.bg-success {
    background-color: #49C913 !important;
    border-color: #49C913 !important;
}

.text-success {
    color: #49C913 !important;
}

.btn-success {
    background-color: #49C913 !important;
    border-color: #49C913 !important;
}

.btn-success:hover {
    background-color: #3DA80F !important;
    border-color: #3DA80F !important;
}

.btn-outline-success {
    color: #49C913 !important;
    border-color: #49C913 !important;
}

.btn-outline-success:hover {
    background-color: #49C913 !important;
    border-color: #49C913 !important;
}

/* Общие стили для таблиц */
.custom-table {
    background-color: #000000;
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.custom-table thead th {
    background-color: #1a1a1a;
    color: #ffffff;
    border-bottom: 2px solid #49C913;
    padding: 12px;
}

.custom-table tbody tr {
    border-bottom: 1px solid #333333;
}

.custom-table tbody tr:last-child {
    border-bottom: none;
}

.custom-table tbody td {
    padding: 12px;
}

/* Общие стили для кнопок */
.custom-button {
    background-color: #49C913 !important; /* Новый салатовый цвет */
    color: #000000 !important; /* Черный текст */
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.custom-button:hover {
    background-color: #3DA80F !important; /* Немного темнее при наведении */
    transform: translateY(-1px) !important;
}

/* Стили для карточек */
.custom-card {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #49C913;
    border-radius: 8px;
    margin-bottom: 20px;
}

.custom-card .card-header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #49C913;
    color: #ffffff;
    padding: 12px;
}

.custom-card .card-body {
    padding: 20px;
}

/* Стили для форм на черном фоне */
.custom-form-control {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}

.custom-form-control:focus {
    background-color: #1a1a1a !important;
    border-color: #49C913 !important;
    box-shadow: 0 0 0 0.2rem rgba(73, 201, 19, 0.25) !important;
    color: #ffffff !important;
}

/* Стили для стандартных форм на черном фоне */
.bg-dark .form-control {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}

.bg-dark .form-control:focus {
    background-color: #1a1a1a !important;
    border-color: #49C913 !important;
    box-shadow: 0 0 0 0.2rem rgba(73, 201, 19, 0.25) !important;
    color: #ffffff !important;
}

.bg-dark .form-select {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}

.bg-dark .form-select:focus {
    background-color: #1a1a1a !important;
    border-color: #49C913 !important;
    box-shadow: 0 0 0 0.2rem rgba(73, 201, 19, 0.25) !important;
    color: #ffffff !important;
}

/* Пагинация */
.custom-pagination .page-link {
    background-color: #000000;
    border-color: #333333;
    color: #ffffff;
}

.custom-pagination .page-link:hover {
    background-color: #49C913;
    border-color: #49C913;
    color: #000000;
}

.custom-pagination .page-item.active .page-link {
    background-color: #49C913;
    border-color: #49C913;
    color: #000000;
}
