/* WHMCS Integration Styles - Valebyte Design */

/* Основные стили для контента WHMCS */
.primary-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin: 30px 0;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Стили для главной страницы личного кабинета */
.client-home-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.client-home-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.client-home-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 212, 255, 0.3);
}

.client-home-panel h3 {
    color: #00d4ff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-home-panel h3 i {
    font-size: 24px;
    background: linear-gradient(45deg, #00d4ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Стили для статистики */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 8px;
}

.stat-label {
    color: #b0b0b0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Стили для форм */
.form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00d4ff;
    box-shadow: 0 0 0 0.3rem rgba(0, 212, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-label {
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Стили для кнопок */
.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #00a8cc);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4);
    background: linear-gradient(45deg, #00a8cc, #0088aa);
    color: white;
}

.btn-outline-primary {
    border: 2px solid #00d4ff;
    color: #00d4ff;
    background: transparent;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-outline-primary:hover {
    background: #00d4ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #e74c3c);
    color: white;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 53, 69, 0.4);
}

/* Стили для таблиц */
.table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.table th {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.table td {
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    vertical-align: middle;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.01);
}

/* Стили для карточек */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 212, 255, 0.3);
}

.card-header {
    background: rgba(0, 212, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #00d4ff;
    font-weight: 600;
    padding: 20px 25px;
    border-radius: 16px 16px 0 0;
}

.card-body {
    color: #e0e0e0;
    padding: 25px;
}

.card-footer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 0 0 16px 16px;
}

/* Стили для модальных окон */
.modal-content {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
}

.modal-title {
    color: #00d4ff;
    font-weight: 600;
}

/* Стили для навигации */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.nav-tabs .nav-link {
    color: #b0b0b0;
    border: none;
    border-radius: 12px 12px 0 0;
    margin-right: 8px;
    padding: 15px 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-bottom: 3px solid #00d4ff;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    border-radius: 2px;
}

/* Стили для сайдбара */
.sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.sidebar .nav-link {
    color: #b0b0b0;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-left: 4px solid #00d4ff;
}

.sidebar .nav-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Стили для списков */
.list-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.list-group-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    padding: 20px 25px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: translateX(5px);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-left: 4px solid #00d4ff;
}

/* Стили для статусов */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-suspended {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-cancelled {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

/* Стили для прогресс-баров */
.progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Стили для бейджей */
.badge {
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Стили для пагинации */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(45deg, #00d4ff, #00a8cc);
    border-color: #00d4ff;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Стили для выпадающих меню */
.dropdown-menu {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: #e0e0e0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

/* Стили для чекбоксов и радио */
.form-check-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background: linear-gradient(45deg, #00d4ff, #00a8cc);
    border-color: #00d4ff;
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

/* Стили для Select2 */
.select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff;
    line-height: 48px;
    padding-left: 20px;
}

.select2-dropdown {
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.select2-results__option {
    color: #e0e0e0;
    padding: 12px 20px;
}

.select2-results__option--highlighted {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

/* Стили для уведомлений */
.notification {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.notification.success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.notification.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.notification.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.notification.info {
    background: rgba(23, 162, 184, 0.1);
    border-color: rgba(23, 162, 184, 0.3);
    color: #17a2b8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .primary-content {
        padding: 20px;
        margin: 15px 0;
    }

    .client-home-panels {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .sidebar {
        padding: 20px;
        margin-bottom: 20px;
    }

    .table-responsive {
        border-radius: 12px;
        overflow: hidden;
    }

    .card-body {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.primary-content {
    animation: fadeIn 0.6s ease-out;
}

#main-body {
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

/* Стили для страницы входа */
.tt-auth-wrap {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 50px auto;
}

/* Стили для корзины */
.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
    margin: 10px 0;
}

.price-old {
    text-decoration: line-through;
    color: #b0b0b0;
    font-size: 16px;
    margin-right: 10px;
}

/* Стили для иконок */
.icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00d4ff, #00a8cc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* Дополнительные стили для личного кабинета */
.client-area-home {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-message {
    color: #00d4ff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e0e0e0;
    display: block;
}

.quick-action-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    color: #00d4ff;
    text-decoration: none;
}

.quick-action-btn i {
    font-size: 32px;
    color: #00d4ff;
    margin-bottom: 15px;
    display: block;
}

.quick-action-btn h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}

.quick-action-btn p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

/* Современные карточки для WHMCS панелей */
.panel, .panel-default, .home-kpis, .client-home-panels, .client-home-panel {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
    margin-bottom: 24px !important;
    padding: 24px !important;
    color: #e0e0e0 !important;
    backdrop-filter: blur(10px) !important;
}

.panel-heading, .panel-title, .client-home-panel h3 {
    color: #00d4ff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    margin-bottom: 16px !important;
    background: none !important;
    border: none !important;
}

.panel-body {
    color: #e0e0e0 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.home-kpis {
    display: flex !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

.home-kpis .kpi {
    background: rgba(0,212,255,0.08) !important;
    border-radius: 12px !important;
    padding: 18px !important;
    color: #00d4ff !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 120px !important;
}

.home-kpis .kpi .kpi-title {
    color: #b0b0b0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin-top: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Стили для полос прокрутки в карточках */
.panel, .panel-default, .panel-body {
    scrollbar-width: thin;
    scrollbar-color: #00d4ff #23233a;
}

.panel::-webkit-scrollbar, .panel-default::-webkit-scrollbar, .panel-body::-webkit-scrollbar {
    width: 8px;
    background: #23233a;
}

.panel::-webkit-scrollbar-thumb, .panel-default::-webkit-scrollbar-thumb, .panel-body::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 8px;
}

/* Современные плитки статистики */
.tiles {
    margin-bottom: 32px !important;
}
.tile, .tt-custom-radius, .tt-single-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.07) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12) !important;
    padding: 32px 0 24px 0 !important;
    margin-bottom: 18px !important;
    border: 1px solid rgba(0,212,255,0.08) !important;
    transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
    color: #e0e0e0 !important;
    min-height: 140px !important;
    position: relative;
}
.tile:hover, .tt-single-box:hover {
    box-shadow: 0 8px 32px rgba(0,212,255,0.18) !important;
    border-color: #00d4ff !important;
    transform: translateY(-4px) scale(1.03);
}
.tile i, .tt-single-box i {
    font-size: 36px !important;
    color: #00d4ff !important;
    margin-bottom: 12px !important;
}
.tile .stat, .tt-single-box .stat {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 6px !important;
}
.tile .title, .tt-single-box .title {
    color: #b0b0b0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Современные карточки для client-home-cards */
.client-home-cards, .tt-client-home-cards {
    margin-top: 24px !important;
}
.card {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
    margin-bottom: 28px !important;
    transition: all 0.3s cubic-bezier(.4,0,.2,1) !important;
    color: #e0e0e0 !important;
    overflow: hidden !important;
}
.card-header {
    background: rgba(0,212,255,0.10) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    color: #00d4ff !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    padding: 20px 28px !important;
}
.card-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #00d4ff !important;
}
.card-body {
    color: #e0e0e0 !important;
    background: none !important;
    border: none !important;
    padding: 22px 28px !important;
}
.card-footer {
    background: rgba(255,255,255,0.03) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 18px 28px !important;
    color: #b0b0b0 !important;
}

/* Современные списки */
.list-group {
    background: rgba(255,255,255,0.03) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    margin-bottom: 0 !important;
}
.list-group-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    color: #e0e0e0 !important;
    padding: 18px 28px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}
.list-group-item:last-child {
    border-bottom: none !important;
}
.list-group-item.active, .list-group-item:active {
    background: rgba(0,212,255,0.13) !important;
    color: #00d4ff !important;
    border-left: 4px solid #00d4ff !important;
}
.list-group-item:hover {
    background: rgba(0,212,255,0.08) !important;
    color: #00d4ff !important;
    transform: translateX(4px);
}

/* Современные таблицы и контейнеры */
.table-container {
    background: none !important;
    border-radius: 18px !important;
    padding: 0 !important;
    margin-bottom: 32px !important;
    box-shadow: none !important;
}
.table, .table-list {
    background: rgba(255,255,255,0.04) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #e0e0e0 !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}
.table th, .table-list th {
    background: rgba(0,212,255,0.10) !important;
    color: #00d4ff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    padding: 16px 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.table td, .table-list td {
    color: #e0e0e0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    padding: 16px 18px !important;
    vertical-align: middle !important;
    font-size: 15px !important;
}
.table tbody tr:hover, .table-list tbody tr:hover {
    background: rgba(0,212,255,0.07) !important;
    transform: scale(1.01);
    transition: all 0.2s;
}

/* Современные статусы и лейблы */
.label, .status {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: rgba(0,212,255,0.10) !important;
    color: #00d4ff !important;
    border: 1px solid rgba(0,212,255,0.18) !important;
    margin: 0 2px !important;
}
.status-unpaid, .unpaid {
    background: rgba(220,53,69,0.13) !important;
    color: #dc3545 !important;
    border-color: rgba(220,53,69,0.18) !important;
}
.status-paid, .paid {
    background: rgba(40,167,69,0.13) !important;
    color: #28a745 !important;
    border-color: rgba(40,167,69,0.18) !important;
}
.status-cancelled, .cancelled {
    background: rgba(108,117,125,0.13) !important;
    color: #6c757d !important;
    border-color: rgba(108,117,125,0.18) !important;
}
.status-refunded, .refunded {
    background: rgba(23,162,184,0.13) !important;
    color: #17a2b8 !important;
    border-color: rgba(23,162,184,0.18) !important;
}
.status-collections, .collections {
    background: rgba(255,193,7,0.13) !important;
    color: #ffc107 !important;
    border-color: rgba(255,193,7,0.18) !important;
}
.status-draft, .draft {
    background: rgba(0,212,255,0.13) !important;
    color: #00d4ff !important;
    border-color: rgba(0,212,255,0.18) !important;
}

/* Тикеты */
.ticket-number {
    color: #00d4ff !important;
    font-weight: 700 !important;
    margin-right: 8px !important;
    font-size: 15px !important;
}
.ticket-subject {
    color: #e0e0e0 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: color 0.2s;
}
.ticket-subject.unread {
    color: #00d4ff !important;
    font-weight: 700 !important;
}

/* Карточки счетов и итоги */
.card.bg-default {
    background: rgba(255,255,255,0.04) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10) !important;
}
.card-subtitle {
    color: #00d4ff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.total-row {
    background: rgba(0,212,255,0.07) !important;
    color: #00d4ff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* Адаптивность для таблиц */
@media (max-width: 768px) {
    .table th, .table-list th, .table td, .table-list td {
        padding: 10px 8px !important;
        font-size: 14px !important;
    }
    .card-header, .card-body, .card-footer {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Современный минималистичный логин */
.login-modern-bg {
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.login-modern-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modern-card {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 40px 32px 32px 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.6s ease;
    border: 1px solid rgba(0,212,255,0.15);
    backdrop-filter: blur(20px);
    position: relative;
}

.login-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.login-modern-logo {
    margin-bottom: 24px;
}

.login-modern-logo img {
    height: 36px;
    filter: drop-shadow(0 2px 8px rgba(0,212,255,0.2));
    transition: transform 0.3s ease;
}

.login-modern-logo:hover img {
    transform: scale(1.05);
}

.login-modern-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: 0.3px;
}

.login-modern-subtitle {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 400;
    line-height: 1.5;
}

.login-modern-form {
    width: 100%;
    margin-bottom: 0;
}

.login-modern-form .form-group {
    margin-bottom: 24px;
    position: relative;
}

.login-modern-form .form-label {
    color: #b0b0b0;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-modern-form .form-label i {
    color: #00d4ff;
    font-size: 0.8rem;
}

.input-wrapper {
    position: relative;
}

.login-modern-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,212,255,0.05);
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-modern-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.login-modern-form .form-control:focus {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.15);
    outline: none;
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00a8cc);
    transition: width 0.3s ease;
    z-index: 2;
}

.login-modern-form .form-control:focus + .input-focus-border {
    width: 100%;
}

.login-modern-actions {
    width: 100%;
    margin-top: 8px;
}

.login-modern-actions .btn-primary {
    width: 100%;
    font-size: 1rem;
    padding: 14px 0;
    border-radius: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
    margin-bottom: 0;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-modern-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.login-modern-actions .btn-primary:hover::before {
    left: 100%;
}

.login-modern-actions .btn-primary:hover, 
.login-modern-actions .btn-primary:focus {
    background: linear-gradient(135deg, #00a8cc 0%, #00d4ff 100%);
    box-shadow: 0 6px 25px rgba(0,212,255,0.35);
    transform: translateY(-1px);
}

.login-modern-actions .btn-primary i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b0b0b0;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    position: relative;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
}

.remember-me input[type="checkbox"]:checked + .checkmark {
    background: #00d4ff;
    border-color: #00d4ff;
}

.remember-me input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
}

.forgot-password {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #00a8cc;
    text-decoration: underline;
}

.login-modern-bottom {
    width: 100%;
    margin-top: 24px;
    text-align: center;
}

.register-link p {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.register-link a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #00a8cc;
    text-decoration: underline;
}

.language-currency {
    margin-top: 16px;
}

.language-currency .btn-link {
    color: #a0a0a0;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.language-currency .btn-link:hover {
    color: #00d4ff;
    background: rgba(0,212,255,0.08);
    text-decoration: none;
}

.language-currency .btn-link i {
    font-size: 0.8rem;
}

.language-currency .iti-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .login-modern-container {
        max-width: 100vw;
        padding: 16px 12px;
    }
    
    .login-modern-card {
        padding: 32px 24px 24px 24px;
    }
    
    .login-modern-title {
        font-size: 1.3rem;
    }
    
    .login-modern-subtitle {
        font-size: 0.9rem;
    }
    
    .login-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
} 