/* Стили панели управления - Минимализм */
:root {
    --cp-primary: #1e40af;
    --cp-primary-light: #3b82f6;
    --cp-primary-dark: #1e3a8a;
    --cp-secondary: #7c3aed;
    --cp-dark: #0f172a;
    --cp-light: #f8fafc;
    --cp-gray: #64748b;
    --cp-gray-light: #e2e8f0;
    --cp-success: #10b981;
    --cp-danger: #ef4444;
    --cp-warning: #f59e0b;
    --cp-border: #cbd5e1;
    --cp-border-radius: 6px;
    --cp-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --cp-shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --cp-transition: all 0.15s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--cp-light);
    color: var(--cp-dark);
    line-height: 1.5;
    font-size: 14px;
}

/* Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Упрощенный */
.admin-sidebar {
    width: 220px;
    background: white;
    border-right: 1px solid var(--cp-border);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: var(--cp-transition);
    z-index: 1000;
    padding: 1rem 0;
}

.sidebar-header {
    padding: 0 1rem 1rem;
    border-bottom: 1px solid var(--cp-border);
    margin-bottom: 1rem;
}

.sidebar-header h1 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cp-dark);
}

.sidebar-header p {
    font-size: 0.8rem;
    color: var(--cp-gray);
    margin-top: 0.25rem;
}

.sidebar-nav {
    padding: 0 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--cp-dark);
    text-decoration: none;
    transition: var(--cp-transition);
    border-radius: var(--cp-border-radius);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.sidebar-link:hover {
    background: var(--cp-light);
    color: var(--cp-primary);
}

.sidebar-link.active {
    background: var(--cp-primary);
    color: white;
}

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

.sidebar-section {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
}

.sidebar-section h3 {
    padding: 0 0.5rem 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cp-gray);
    font-weight: 600;
}

/* Main content */
.admin-main {
    flex: 1;
    margin-left: 220px;
    padding: 1.5rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cp-border);
}

.header-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cp-dark);
}

.header-title p {
    color: var(--cp-gray);
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-border-radius);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: var(--cp-transition);
    font-size: 0.875rem;
}

.user-btn:hover {
    border-color: var(--cp-primary);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: var(--cp-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-border-radius);
    box-shadow: var(--cp-shadow-lg);
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.user-dropdown.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--cp-dark);
    text-decoration: none;
    transition: var(--cp-transition);
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: var(--cp-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--cp-border);
    margin: 0.25rem 0;
}

/* Cards - Упрощенные */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--cp-border-radius);
    padding: 1.25rem;
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--cp-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.stat-icon.users {
    background: #dbeafe;
    color: var(--cp-primary);
}

.stat-icon.helper {
    background: #dcfce7;
    color: var(--cp-success);
}

.stat-icon.extension {
    background: #f3e8ff;
    color: var(--cp-secondary);
}

.stat-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cp-gray);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cp-dark);
    line-height: 1.2;
}

.stat-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.stat-change.positive {
    color: var(--cp-success);
}

.stat-change.negative {
    color: var(--cp-danger);
}

/* Tables */
.table-container {
    background: white;
    border-radius: var(--cp-border-radius);
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--cp-border);
    background: var(--cp-light);
}

.table-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 0.75rem;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.375rem 0.75rem 0.375rem 2rem;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-border-radius);
    width: 200px;
    font-size: 0.875rem;
    background: white;
}

.search-box i {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cp-gray);
    font-size: 0.875rem;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table th {
    background: var(--cp-light);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cp-gray);
    border-bottom: 1px solid var(--cp-border);
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cp-border);
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover {
    background: var(--cp-light);
}

.table-actions-cell {
    display: flex;
    gap: 0.25rem;
}

/* Buttons - Упрощенные */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--cp-border-radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--cp-transition);
    text-decoration: none;
    line-height: 1;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-primary {
    background: var(--cp-primary);
    color: white;
    border-color: var(--cp-primary);
}

.btn-primary:hover {
    background: var(--cp-primary-dark);
    border-color: var(--cp-primary-dark);
}

.btn-success {
    background: var(--cp-success);
    color: white;
    border-color: var(--cp-success);
}

.btn-danger {
    background: var(--cp-danger);
    color: white;
    border-color: var(--cp-danger);
}

.btn-warning {
    background: var(--cp-warning);
    color: white;
    border-color: var(--cp-warning);
}

.btn-outline {
    background: transparent;
    border-color: var(--cp-border);
    color: var(--cp-dark);
}

.btn-outline:hover {
    border-color: var(--cp-primary);
    color: var(--cp-primary);
}

.btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: var(--cp-border-radius);
}

/* Forms */
.form-container {
    background: white;
    border-radius: var(--cp-border-radius);
    padding: 1.5rem;
    box-shadow: var(--cp-shadow);
    border: 1px solid var(--cp-border);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--cp-dark);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-border-radius);
    font-size: 0.875rem;
    transition: var(--cp-transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--cp-primary);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.form-text {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--cp-gray);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
}

/* File upload */
.file-upload {
    border: 1px dashed var(--cp-border);
    border-radius: var(--cp-border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--cp-transition);
    cursor: pointer;
    background: var(--cp-light);
}

.file-upload:hover {
    border-color: var(--cp-primary);
    background: #f1f5f9;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.file-upload-label i {
    font-size: 1.5rem;
    color: var(--cp-gray);
}

.file-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--cp-border-radius);
    border: 1px solid var(--cp-border);
    display: none;
    font-size: 0.875rem;
}

.file-info.show {
    display: block;
}

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--cp-border-radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-success {
    background: var(--cp-success);
    color: white;
}

.badge-danger {
    background: var(--cp-danger);
    color: white;
}

.badge-warning {
    background: var(--cp-warning);
    color: white;
}

.badge-info {
    background: var(--cp-primary);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    padding: 1rem;
    border-top: 1px solid var(--cp-border);
}

.pagination .btn {
    min-width: 32px;
    padding: 0.25rem 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-sidebar {
        width: 60px;
    }
    
    .admin-sidebar .sidebar-text {
        display: none;
    }
    
    .admin-sidebar .sidebar-section h3 {
        display: none;
    }
    
    .admin-main {
        margin-left: 60px;
        padding: 1rem;
    }
    
    .header-title h2 {
        font-size: 1.25rem;
    }
    
    .table-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .table-actions {
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--cp-border-radius);
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--cp-shadow-lg);
}

.modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--cp-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--cp-gray);
    line-height: 1;
}

.modal-body {
    padding: 1.25rem;
    font-size: 0.875rem;
}

.modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--cp-border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Loader */
.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--cp-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utilities */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.w-100 { width: 100%; }

/* Changelog styles */
.changelog-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.changelog-btn {
    background: var(--cp-primary-light);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.125rem 0.375rem;
    font-size: 0.7rem;
    cursor: help;
    margin-left: 0.25rem;
    transition: var(--cp-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.changelog-btn:hover {
    background: var(--cp-primary);
}

.changelog-content {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-border-radius);
    padding: 0.75rem;
    min-width: 250px;
    max-width: 350px;
    box-shadow: var(--cp-shadow-lg);
    z-index: 1000;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.changelog-content.show {
    display: block;
}

.changelog-content h4 {
    margin-bottom: 0.5rem;
    color: var(--cp-dark);
    font-size: 0.8rem;
    font-weight: 600;
}

.changelog-text {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.changelog-text::-webkit-scrollbar {
    width: 4px;
}

.changelog-text::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.changelog-text::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

/* For main site */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Компактный вид версии с changelog */
.version-with-changelog {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--cp-light);
    border-radius: var(--cp-border-radius);
    padding: 0.25rem 0.5rem;
}

/* Action buttons group */
.action-buttons {
    display: flex;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

/* Compact table cells */
.compact-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.changelog-preview {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cp-gray);
    font-size: 0.8rem;
}

/* Progress bar */
.progress-container {
    display: none;
    margin-top: 1rem;
    background: #f1f5f9;
    border-radius: var(--cp-border-radius);
    padding: 0.75rem;
}

.progress-bar {
    height: 16px;
    background: #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--cp-primary);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--cp-gray);
    text-align: center;
}

.char-counter {
    font-size: 0.75rem;
    color: var(--cp-gray);
}

.char-counter.warning {
    color: var(--cp-warning);
}

.char-counter.danger {
    color: var(--cp-danger);
}

/* Дополнительные стили для лицензий */

/* Лицензионный ключ */
.license-key {
    font-family: 'Courier New', monospace;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--cp-primary);
    display: inline-block;
}

/* Статусы лицензий */
.license-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.license-status.active {
    background: var(--cp-success);
    color: white;
}

.license-status.blocked {
    background: var(--cp-danger);
    color: white;
}

.license-status.permanent {
    background: var(--cp-warning);
    color: white;
}

/* Карточки лицензий */
.license-card {
    background: white;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.license-card:hover {
    border-color: var(--cp-primary);
    box-shadow: var(--cp-shadow);
}

.license-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.license-card-title {
    font-weight: 600;
    font-size: 1rem;
}

.license-card-actions {
    display: flex;
    gap: 0.5rem;
}

.license-card-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    font-size: 0.875rem;
}

.license-detail {
    display: flex;
    flex-direction: column;
}

.license-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cp-gray);
    margin-bottom: 0.25rem;
}

.license-detail-value {
    font-weight: 500;
    color: var(--cp-dark);
}

/* Формы для лицензий */
.license-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.license-form-tabs {
    display: flex;
    border-bottom: 1px solid var(--cp-border);
    margin-bottom: 2rem;
}

.license-form-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--cp-gray);
    transition: all 0.3s ease;
}

.license-form-tab:hover {
    color: var(--cp-primary);
}

.license-form-tab.active {
    color: var(--cp-primary);
    border-bottom-color: var(--cp-primary);
}

.license-form-content {
    display: none;
}

.license-form-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Предпросмотр лицензии */
.license-preview {
    background: white;
    border: 2px solid var(--cp-primary);
    border-radius: var(--cp-border-radius);
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: var(--cp-shadow-lg);
}

.license-preview-key {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cp-primary);
    background: #f1f5f9;
    padding: 1rem;
    border-radius: var(--cp-border-radius);
    margin: 1rem 0;
    word-break: break-all;
}

/* Кнопки для лицензий */
.btn-license {
    background: linear-gradient(135deg, var(--cp-primary), var(--cp-primary-dark));
    color: white;
    border: none;
    border-radius: var(--cp-border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-license:hover {
    transform: translateY(-2px);
    box-shadow: var(--cp-shadow-lg);
}

.btn-license-copy {
    background: var(--cp-success);
}

.btn-license-copy:hover {
    background: var(--cp-success-dark);
}

.btn-license-block {
    background: var(--cp-danger);
}

.btn-license-block:hover {
    background: var(--cp-danger-dark);
}

.btn-license-unblock {
    background: var(--cp-warning);
}

.btn-license-unblock:hover {
    background: var(--cp-warning-dark);
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Утилиты */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.ml-1 { margin-left: 0.5rem; }
.ml-2 { margin-left: 1rem; }
.ml-3 { margin-left: 1.5rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.w-100 { width: 100%; }
.w-50 { width: 50%; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Для мобильных устройств */
@media (max-width: 768px) {
    .license-card-details {
        grid-template-columns: 1fr;
    }
    
    .license-form-tabs {
        flex-direction: column;
    }
    
    .license-form-tab {
        text-align: left;
        border-bottom: none;
        border-left: 2px solid transparent;
    }
    
    .license-form-tab.active {
        border-left-color: var(--cp-primary);
        border-bottom: none;
    }
    
    .license-preview-key {
        font-size: 1.2rem;
        padding: 0.75rem;
    }
}