/* Основные стили */
body {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Навигация */
.navbar-brand {
    font-weight: bold;
    color: #ff6b35 !important;
    font-size: 1.5rem;
}

.navbar-dark {
    background-color: #2d3748 !important;
}

/* Карточки */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.card.bg-secondary {
    background-color: #4a5568 !important;
}

.card.bg-dark {
    background-color: #2d3748 !important;
}

/* Статус сервера */
.server-online { 
    color: #48bb78 !important; 
    font-weight: bold;
}

.server-offline { 
    color: #f56565 !important; 
    font-weight: bold;
}

/* Кнопки */
.btn-primary {
    background-color: #3182ce;
    border-color: #3182ce;
}

.btn-primary:hover {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
}

.btn-success {
    background-color: #38a169;
    border-color: #38a169;
}

.btn-success:hover {
    background-color: #2f855a;
    border-color: #2f855a;
}

.btn-warning {
    background-color: #ed8936;
    border-color: #ed8936;
    color: #000;
}

.btn-warning:hover {
    background-color: #dd7724;
    border-color: #dd7724;
    color: #000;
}

/* Таблицы */
.table-dark {
    background-color: #2d3748;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #4a5568;
}

/* Формы */
.form-control {
    background-color: #2d3748;
    border: 1px solid #4a5568;
    color: #ffffff;
}

.form-control:focus {
    background-color: #2d3748;
    border-color: #ff6b35;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.form-label {
    color: #e2e8f0;
    font-weight: 500;
}

.form-text {
    color: #a0aec0 !important;
}

/* Аккордеон */
.accordion-button {
    background-color: #4a5568 !important;
    color: #ffffff !important;
}

.accordion-button:not(.collapsed) {
    background-color: #ff6b35 !important;
    color: #000000 !important;
}

.accordion-body {
    background-color: #2d3748;
}

.accordion-item {
    border: 1px solid #4a5568;
}

/* Футер */
footer {
    margin-top: auto;
}

/* Промокоды */
code {
    background-color: #2d3748;
    color: #68d391;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Бейджи */
.badge {
    font-size: 0.8em;
}

/* Алерты */
.alert {
    border: none;
    border-left: 4px solid;
}

.alert-danger {
    background-color: #fed7d7;
    color: #c53030;
    border-left-color: #f56565;
}

.alert-success {
    background-color: #c6f6d5;
    color: #276749;
    border-left-color: #48bb78;
}

.alert-warning {
    background-color: #feebc8;
    color: #744210;
    border-left-color: #ed8936;
}

.alert-info {
    background-color: #bee3f8;
    color: #2c5aa0;
    border-left-color: #3182ce;
}

/* Таймлайн */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff6b35;
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.3rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6b35;
}

.timeline-date {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ed8936;
}

/* Модальные окна */
.modal-content {
    background-color: #2d3748;
    color: #ffffff;
}

.modal-header {
    border-bottom: 1px solid #4a5568;
}

.modal-footer {
    border-top: 1px solid #4a5568;
}

.btn-close {
    filter: invert(1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}