/* ===================== COMMON PAGE STYLES ===================== */
/* Wspólne style dla wszystkich stron w stylu premium */

/* Page Container */
.page-content {
    padding: 0;
}

/* Page Header - Premium Style */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header h1 i {
    color: #3b82f6;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* ===================== STAT CARDS (HOME) ===================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card .icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card .icon-wrap.blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: white; }
.stat-card .icon-wrap.green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: white; }
.stat-card .icon-wrap.purple { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); color: white; }
.stat-card .icon-wrap.orange { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: white; }
.stat-card .icon-wrap.red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; }
.stat-card .icon-wrap.cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); color: white; }

.stat-card .content {
    flex: 1;
}

.stat-card .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.stat-card .value {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.stat-card .value span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 5px;
}

.stat-card .badge {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
}

/* ===================== WELCOME SECTION (HOME) ===================== */
.welcome-card {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.welcome-card .welcome-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.welcome-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.welcome-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================== SUBSCRIPTION BANNER ===================== */
.subscription-banner {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.subscription-banner.active {
    border-color: rgba(16, 185, 129, 0.3);
}

.subscription-banner.trial {
    border-color: rgba(245, 158, 11, 0.3);
}

.subscription-banner.expired {
    border-color: rgba(239, 68, 68, 0.3);
}

.subscription-banner .sub-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.subscription-banner.active .sub-icon { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.subscription-banner.trial .sub-icon { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.subscription-banner.expired .sub-icon { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.subscription-banner .sub-content {
    flex: 1;
}

.subscription-banner h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.subscription-banner p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================== QUICK ACTIONS ===================== */
.quick-actions {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.quick-actions h3 {
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-actions h3 i {
    color: #f59e0b;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.action-card {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.action-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.action-card i {
    font-size: 28px;
    color: #3b82f6;
    margin-bottom: 10px;
    display: block;
}

.action-card span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================== INFO CARDS ===================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.info-card {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 25px;
}

.info-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h4 i {
    color: #3b82f6;
}

.info-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    line-height: 1.5;
}

.info-card a {
    color: #3b82f6;
    font-size: 13px;
    font-weight: 500;
}

/* ===================== DATA CARDS (Databases, Mail, etc.) ===================== */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
}

.data-card {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s;
}

.data-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.data-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-card-header .icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.data-card-header .icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.data-card-header .icon.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.data-card-header .icon.orange { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.data-card-header .icon.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.data-card-header .info {
    flex: 1;
}

.data-card-header .info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.data-card-header .info span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.data-card-header .badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.data-card-header .badge.mysql { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.data-card-header .badge.postgresql { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.data-card-header .badge.mongodb { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.data-card-header .badge.online { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.data-card-header .badge.offline { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.data-card-body {
    padding: 15px 20px;
}

.data-card-body .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-card-body .detail-row:last-child {
    border-bottom: none;
}

.data-card-body .detail-row .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.data-card-body .detail-row .value {
    font-size: 12px;
    color: white;
    font-weight: 500;
}

.data-card-footer {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.data-card-footer .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
}

/* ===================== TABLE STYLES ===================== */
.data-table-wrap {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

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

.data-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

/* ===================== EMPTY STATE ===================== */
.empty-state {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-state i {
    font-size: 64px;
    color: rgba(59, 130, 246, 0.3);
    margin-bottom: 20px;
    display: block;
}

.empty-state p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
}

.empty-state .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 12px 24px;
}

/* ===================== FORM CARDS ===================== */
.form-card {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-card h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-card h3 i {
    color: #3b82f6;
}

/* ===================== BILLING/PACKAGES ===================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.package-card {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

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

.package-card.featured {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, #0a0f1a 100%);
}

.package-card.featured::before {
    content: 'Polecany';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.package-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.package-card .price {
    font-size: 36px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 20px;
}

.package-card .price span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.package-card .limits-summary {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-card .limits-summary span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.package-card .limits-summary span i {
    color: #3b82f6;
    font-size: 12px;
}

.package-card .features {
    text-align: left;
    margin-bottom: 25px;
}

.package-card .features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-card .features li i {
    color: #10b981;
}

.package-card .btn {
    width: 100%;
}

/* ===================== WALLET ===================== */
.wallet-balance {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
}

.wallet-balance .amount {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.wallet-balance .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================== FAQ ===================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: linear-gradient(135deg, #111827 0%, #0a0f1a 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.05);
}

.faq-question i {
    color: #3b82f6;
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.open .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================== SUBSCRIPTION BLOCKED ===================== */
.subscription-blocked {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
    min-height: 60vh;
}

.subscription-blocked .blocked-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.subscription-blocked .blocked-icon i {
    font-size: 40px;
    color: #ef4444;
}

.subscription-blocked h2 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.subscription-blocked .blocked-message {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.subscription-blocked .blocked-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 30px;
    max-width: 550px;
}

.subscription-blocked .blocked-warning i {
    font-size: 24px;
    color: #f59e0b;
    flex-shrink: 0;
}

.subscription-blocked .blocked-warning span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    line-height: 1.5;
}

.subscription-blocked .blocked-warning strong {
    color: #f59e0b;
}

.subscription-blocked .blocked-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.subscription-blocked .btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}


/* ===================== DATABASE EDITOR ===================== */
.modal-fullscreen {
    width: 98vw !important;
    max-width: 98vw !important;
    height: 96vh !important;
    max-height: 96vh !important;
    margin: 2vh auto !important;
    border-radius: 12px !important;
}

.modal-fullscreen .modal-header {
    padding: 15px 25px !important;
}

.modal-fullscreen .modal-body {
    padding: 0 !important;
    height: calc(96vh - 60px) !important;
}

.db-editor-sidebar {
    width: 280px;
    min-width: 280px;
    background: rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.db-editor-sidebar .sidebar-header {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-editor-sidebar .sidebar-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tables-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.tables-list .table-item {
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.tables-list .table-item:hover {
    background: rgba(59, 130, 246, 0.15);
}

.tables-list .table-item.active {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    font-weight: 500;
}

.tables-list .table-item i {
    opacity: 0.6;
    font-size: 13px;
}

.db-editor-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.editor-content {
    flex: 1;
    overflow: auto;
    padding: 25px;
}

.editor-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.5);
}

.editor-welcome i {
    font-size: 64px !important;
    margin-bottom: 25px !important;
}

.editor-welcome h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.loading-center, .error-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.error-center {
    color: #ef4444;
}

/* Table Editor */
.table-editor {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: calc(96vh - 150px);
}

.table-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.table-editor-header .table-info h3 {
    margin: 0;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-editor-header .record-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 15px;
}

.table-editor-header .table-actions {
    display: flex;
    gap: 10px;
}

.table-editor-header .table-actions .btn {
    padding: 10px 18px;
}

.table-editor-data {
    flex: 1;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-height: 400px;
}

.editor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.editor-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.editor-table th {
    background: rgba(59, 130, 246, 0.15);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    font-size: 13px;
}

.editor-table th.sortable {
    cursor: pointer;
}

.editor-table th.sortable:hover {
    background: rgba(59, 130, 246, 0.25);
}

.editor-table th.actions-col {
    width: 100px;
    text-align: center;
}

.editor-table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.08);
}

.editor-table td.actions-col {
    text-align: center;
    white-space: nowrap;
}

.editor-table .icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
    font-size: 13px;
    margin: 0 2px;
}

.editor-table .icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.editor-table .icon-btn.edit:hover {
    background: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.editor-table .icon-btn.delete:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.null-value {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    font-size: 12px;
}

.empty-value {
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
    font-size: 12px;
}

.empty-row {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 50px !important;
    font-size: 15px;
}

/* Pagination */
.table-editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.pagination-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-controls .btn {
    padding: 8px 14px;
}

.pagination-controls .page-number {
    padding: 0 20px;
    font-weight: 600;
    font-size: 15px;
}

/* Structure Table */
.structure-table td {
    padding: 14px 18px !important;
}

.structure-table td code {
    background: rgba(59, 130, 246, 0.15);
    padding: 5px 12px;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
}

/* Empty messages */
.empty-msg, .error-msg {
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
}

.error-msg {
    color: #ef4444;
}
