.nginx-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.35rem 0.35rem 0 0;
    padding: 0;
    border-bottom: none;
    min-height: 4rem;
}

.nginx-header #databaseTabs {
    width: 100%;
    height: 100%;
    border-bottom: none;
    margin: 0;
    padding: 0;
    min-height: 4rem;
}

.nginx-header #databaseTabs .nav-item {
    flex: 1;
    margin: 0;
}

.nginx-header #databaseTabs .nav-link {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: none;
    margin: 0;
    min-height: 4rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 1rem 1.5rem;
}

.deployment-tab-primary {
    border-left: 4px solid #4e73df !important;
    background: rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deployment-tab-success {
    border-left: 4px solid #1cc88a !important;
    background: rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deployment-tab-info {
    border-left: 4px solid #36b9cc !important;
    background: rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deployment-tab-warning {
    border-left: 4px solid #f6c23e !important;
    background: rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deployment-tab-dark {
    border-left: 4px solid #5a5c69 !important;
    background: rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deployment-tab-secondary {
    border-left: 4px solid #858796 !important;
    background: rgba(255,255,255,0.1) !important;
    border-top: 1px solid rgba(255,255,255,0.2) !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.deployment-tab-primary:hover {
    background: rgba(78, 115, 223, 0.2) !important;
    border-left: 6px solid #4e73df !important;
    color: white !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.deployment-tab-success:hover {
    background: rgba(28, 200, 138, 0.2) !important;
    border-left: 6px solid #1cc88a !important;
    color: white !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.deployment-tab-info:hover {
    background: rgba(54, 185, 204, 0.2) !important;
    border-left: 6px solid #36b9cc !important;
    color: white !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.deployment-tab-warning:hover {
    background: rgba(246, 194, 62, 0.2) !important;
    border-left: 6px solid #f6c23e !important;
    color: white !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.deployment-tab-dark:hover {
    background: rgba(90, 92, 105, 0.2) !important;
    border-left: 6px solid #5a5c69 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.deployment-tab-secondary:hover {
    background: rgba(133, 135, 150, 0.2) !important;
    border-left: 6px solid #858796 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

.deployment-tab-primary.active {
    background: rgba(78, 115, 223, 0.3) !important;
    border-left: 8px solid #4e73df !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.3) !important;
    font-weight: 700 !important;
}

.deployment-tab-success.active {
    background: rgba(28, 200, 138, 0.3) !important;
    border-left: 8px solid #1cc88a !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(28, 200, 138, 0.3) !important;
    font-weight: 700 !important;
}

.deployment-tab-info.active {
    background: rgba(54, 185, 204, 0.3) !important;
    border-left: 8px solid #36b9cc !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(54, 185, 204, 0.3) !important;
    font-weight: 700 !important;
}

.deployment-tab-warning.active {
    background: rgba(246, 194, 62, 0.3) !important;
    border-left: 8px solid #f6c23e !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(246, 194, 62, 0.3) !important;
    font-weight: 700 !important;
}

.deployment-tab-dark.active {
    background: rgba(90, 92, 105, 0.3) !important;
    border-left: 8px solid #5a5c69 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(90, 92, 105, 0.3) !important;
    font-weight: 700 !important;
}

.deployment-tab-secondary.active {
    background: rgba(133, 135, 150, 0.3) !important;
    border-left: 8px solid #858796 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(133, 135, 150, 0.3) !important;
    font-weight: 700 !important;
}

.deployment-tab-primary i,
.deployment-tab-success i,
.deployment-tab-info i,
.deployment-tab-warning i,
.deployment-tab-dark i,
.deployment-tab-secondary i {
    color: inherit !important;
    margin-right: 0.75rem !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
}

.deployment-tab-primary.active i,
.deployment-tab-success.active i,
.deployment-tab-info.active i,
.deployment-tab-warning.active i,
.deployment-tab-dark.active i,
.deployment-tab-secondary.active i {
    color: white !important;
    transform: scale(1.1) !important;
}

.tab-content {
    background: white;
    border-radius: 0 0 0.375rem 0.375rem;
    padding: 0;
}

.tab-pane {
    padding: 1.5rem;
}

.nav-tabs {
    border-bottom: none !important;
}

.nav-tabs .nav-item {
    margin-bottom: 0 !important;
}

.nav-tabs .nav-link {
    border: none !important;
    margin-right: 0 !important;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    border: none !important;
    background-color: transparent !important;
}

.database-checkbox-group {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-check-sm {
    margin-bottom: 0 !important;
}

.form-check-sm .form-check-input {
    margin-top: 0.125rem;
    margin-left: -1rem;
}

.form-check-sm .form-check-label {
    font-size: 0.75rem;
    padding-left: 0.25rem;
    color: #5a5c69;
}

#mysqlTable th.id-column { width: 50px; min-width: 50px; max-width: 50px; }
#mysqlTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#mysqlTable th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#mysqlTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#mysqlTable th.version-column { width: 100px; min-width: 100px; max-width: 100px; }
#mysqlTable th.container-column { width: 100px; min-width: 100px; max-width: 100px; }
#mysqlTable th.size-column { width: 80px; min-width: 80px; max-width: 80px; }
#mysqlTable th.ram-column { width: 70px; min-width: 70px; max-width: 70px; }
#mysqlTable th.backup-column { width: 110px; min-width: 110px; max-width: 110px; }
#mysqlTable th.monitor-column { width: 70px; min-width: 70px; max-width: 70px; }
#mysqlTable th.actions-column { width: 80px; min-width: 80px; max-width: 80px; }

#mysqlTable .id-column,
#mysqlTable td:nth-child(1),
#mysqlTable .app-column,
#mysqlTable td:nth-child(3),
#mysqlTable .environment-column,
#mysqlTable td:nth-child(4),
#mysqlTable .version-column,
#mysqlTable td:nth-child(5),
#mysqlTable .container-column,
#mysqlTable td:nth-child(6),
#mysqlTable .size-column,
#mysqlTable td:nth-child(7),
#mysqlTable .ram-column,
#mysqlTable td:nth-child(8),
#mysqlTable .backup-column,
#mysqlTable td:nth-child(9),
#mysqlTable .monitor-column,
#mysqlTable td:nth-child(10),
#mysqlTable .actions-column,
#mysqlTable td:nth-child(11) {
    text-align: center !important;
}

.environment-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.environment-badge.produccion {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.environment-badge.desarrollo {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.mysql-version-badge {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mysql-version-badge.v57 {
    background-color: #17a2b8;
    color: white;
}

.mysql-version-badge.v80 {
    background-color: #28a745;
    color: white;
}

.mysql-version-badge.v56 {
    background-color: #ffc107;
    color: #212529;
}

.container-runtime-badge {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container-runtime-badge.docker {
    background-color: #0db7ed;
    color: white;
}

.container-runtime-badge.podman {
    background-color: #892ca0;
    color: white;
}

.container-runtime-badge.lxc {
    background-color: #f97316;
    color: white;
}

.container-runtime-badge.baremetal {
    background-color: #6b7280;
    color: white;
}

.container-runtime-badge.nerdctl {
    background-color: #ff6b35;
    color: white;
}

.backup-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0.1rem;
    white-space: nowrap;
}

.backup-badge.dump {
    background-color: #007bff;
    color: white;
}

.backup-badge.mysqlbackup {
    background-color: #28a745;
    color: white;
}

.backup-badge.sin-respaldo {
    background-color: #dc3545;
    color: white;
}

.badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
}

#mysqlTable {
    width: 100% !important;
    table-layout: fixed;
}

#mysqlTable th,
#mysqlTable td {
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem 0.3rem;
}

.btn-circle {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.75rem;
    line-height: 28px;
}

.monitor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
}

.monitor-badge.si {
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(28, 200, 138, 0.3);
}

.monitor-badge.no {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(231, 74, 59, 0.3);
}

.btn-outline-secondary.edit-database {
    color: #4e73df;
    border-color: #4e73df;
}

.btn-outline-secondary.edit-database:hover {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-outline-secondary.edit-database:focus {
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
}

@media (max-width: 992px) {
    .nginx-header #databaseTabs .nav-link {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.95rem !important;
        min-height: 3rem !important;
    }
    
    .deployment-tab-primary i,
    .deployment-tab-success i,
    .deployment-tab-info i,
    .deployment-tab-warning i,
    .deployment-tab-dark i,
    .deployment-tab-secondary i {
        margin-right: 0.5rem !important;
        font-size: 1rem !important;
    }
    
    .nginx-header #databaseTabs {
        min-height: 3rem !important;
    }
    
    .row.mb-3 .col-md-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 768px) {
    .row.mb-3 .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .database-header #databaseTabs .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem !important;
        min-height: 2.25rem !important;
    }
    
    .deployment-tab-primary i,
    .deployment-tab-success i,
    .deployment-tab_info i,
    .deployment-tab-warning i,
    .deployment-tab-dark i,
    .deployment-tab-secondary i {
        margin-right: 0.3rem !important;
        font-size: 0.9rem !important;
    }
    
    .database-header #databaseTabs {
        min-height: 2.25rem !important;
    }
    
    .database-header {
        min-height: 2.25rem !important;
    }
}

#mysqlTable tbody tr:hover {
    background-color: #f8f9fc;
}

.btn-circle:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.database-detail-section {
    margin-bottom: 1.5rem;
}

.database-detail-section h6 {
    color: #5a5c69;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.database-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eaecf4;
}

.database-detail-item:last-child {
    border-bottom: none;
}

.database-detail-label {
    font-weight: 600;
    color: #5a5c69;
    font-size: 0.8rem;
    min-width: 120px;
}

.database-detail-value {
    font-size: 0.8rem;
    color: #858796;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-link:hover {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-link.active {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-primary.view-details {
    color: #4e73df;
    border-color: #4e73df;
}

.btn-outline-primary.view-details:hover {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df;
}

.btn-outline-primary.view-details:focus {
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.5);
}

.breadcrumb {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.breadcrumb > div:first-child {
    display: flex;
    align-items: center;
}

.breadcrumb > div:last-child {
    display: flex;
    align-items: center;
    margin-left: auto;
}

#databaseDetailsModal .modal-dialog {
    max-width: 1200px;
}

#databaseDetailsModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

#databaseDetailsModal .modal-header .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
}

#databaseDetailsModal .modal-header .close {
    color: white;
    opacity: 0.9;
    text-shadow: none;
    font-size: 1.75rem;
}

#databaseDetailsModal .modal-header .close:hover {
    opacity: 1;
    color: white;
}

#databaseDetailsModal .modal-body {
    padding: 1.5rem;
    background-color: #f8f9fc;
}

.db-detail-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #4e73df;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.db-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.db-detail-card.server-card {
    border-left-color: #4e73df;
}

.db-detail-card.database-card {
    border-left-color: #1cc88a;
}

.db-detail-card.resources-card {
    border-left-color: #f6c23e;
}

.db-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e3e6f0;
}

.db-card-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.db-card-header-icon.server-icon {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
}

.db-card-header-icon.database-icon {
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    color: white;
}

.db-card-header-icon.resources-icon {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
    color: white;
}

.db-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #5a5c69;
    margin: 0;
}

.db-info-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.db-info-item {
    background: #f8f9fc;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.db-info-item:hover {
    background: #e9ecf4;
}

.db-info-label {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #858796;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.db-info-label i {
    margin-right: 0.4rem;
    color: #4e73df;
    font-size: 0.75rem;
}

.db-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5a5c69;
    word-break: break-word;
}

.ip-value-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ip-value {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    flex: 1;
}

.copy-ip-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.copy-ip-btn:hover {
    transform: scale(1.05);
}

.copy-ip-btn i {
    font-size: 0.75rem;
}

.db-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.4rem;
}

.db-badge.produccion {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.db-badge.desarrollo {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.db-badge.monitor-si {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.db-badge.monitor-no {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

#databaseDetailsModal .modal-footer {
    background-color: #f8f9fc;
    border-top: 1px solid #e3e6f0;
    padding: 1rem 1.5rem;
}

.ips-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: #f8f9fc;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #e3e6f0;
}

.ip-item .ip-value {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #5a5c69;
    font-weight: 600;
    flex: 1;
}

.ip-item .copy-ip-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.ip-item .copy-ip-btn:hover {
    transform: scale(1.05);
}

.databases-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.database-item {
    display: flex;
    align-items: center;
}

.database-item .badge {
    padding: 0.4rem 0.6rem;
}

.backups-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.backup-item {
    background: #f8f9fc;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid #4e73df;
}

.backup-type-badge {
    margin-bottom: 0.5rem;
}

.backup-type-badge .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.backup-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.backup-details small {
    font-size: 0.75rem;
    line-height: 1.5;
}

.backups-list .text-muted {
    text-align: center;
    padding: 1rem;
    font-style: italic;
}

.ip-item-clickable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.6rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e3e6f0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.ip-item-clickable:hover {
    background: #f0f3ff;
    border-color: #4e73df;
    transform: translateX(2px);
    box-shadow: 0 2px 4px rgba(78, 115, 223, 0.1);
}

.ip-item-clickable:active {
    transform: scale(0.98);
}

.ip-item-clickable.copied {
    background: #d4edda;
    border-color: #28a745;
    animation: pulse 0.3s ease;
}

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

.ip-item-clickable .ip-value {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #5a5c69;
    font-weight: 600;
    flex: 1;
}

.ip-item-clickable .copy-icon {
    color: #858796;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.ip-item-clickable:hover .copy-icon {
    color: #4e73df;
    transform: scale(1.2);
}

.copy-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.copy-toast i {
    font-size: 1.1rem;
}

.copy-toast strong {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

.backups-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
}

.backup-card {
    background: #ffffff;
    border: 1px solid #e3e6f0;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.backup-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.backup-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f8f9fc;
}

.backup-type-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.backup-type-badge i {
    margin-right: 0.4rem;
}

.backup-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.backup-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.backup-info-label {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #858796;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.backup-info-label i {
    margin-right: 0.4rem;
    color: #4e73df;
    font-size: 0.8rem;
}

.backup-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a5c69;
}

.backups-container .text-muted {
    text-align: center;
    padding: 2rem 1rem;
    font-style: italic;
}

.backups-container .text-muted i {
    font-size: 2rem;
    color: #e74a3b;
}

.db-detail-card.resources-card .db-info-grid-vertical {
    padding: 0;
}

.resources-card .db-card-header-icon {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
}

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

.backup-card {
    animation: fadeInUp 0.3s ease;
}

.backup-card:nth-child(2) {
    animation-delay: 0.1s;
}

.backup-card:nth-child(3) {
    animation-delay: 0.2s;
}

.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

input.autocomplete-input,
select.autocomplete-select {
    background-color: white !important;
    border: 2px solid #d1d3e2 !important;
    border-radius: 0.35rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 0.875rem;
    height: calc(1.5em + 0.75rem + 2px);
}

input.autocomplete-input:hover,
select.autocomplete-select:hover {
    border-color: #4e73df !important;
    box-shadow: 0 0 0 0.15rem rgba(78, 115, 223, 0.15);
}

input.autocomplete-input:focus,
select.autocomplete-select:focus {
    background-color: white !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
    outline: none;
}

.autocomplete-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4e73df;
    pointer-events: none;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

input.autocomplete-input:focus + .autocomplete-icon,
select.autocomplete-select:focus + .autocomplete-icon {
    color: #667eea;
    transform: translateY(-50%) rotate(180deg);
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #667eea;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
    animation: slideDownFade 0.2s ease;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autocomplete-item {
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f1f3f5;
    color: #5a5c69;
    font-size: 0.85rem;
}

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

.autocomplete-item:hover {
    background: linear-gradient(135deg, #e7f3ff 0%, #d6ebff 100%);
    color: #2c5aa0;
    padding-left: 1.5rem;
    font-weight: 600;
}

.autocomplete-item.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 700;
}

.autocomplete-empty {
    padding: 1rem;
    text-align: center;
    color: #858796;
    font-style: italic;
    font-size: 0.8rem;
}

.autocomplete-dropdown::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: #f8f9fc;
    border-radius: 0 0.5rem 0.5rem 0;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

input.autocomplete-input.has-value,
select.autocomplete-select.has-value {
    background-color: #f8f9fc !important;
    border-color: #1cc88a !important;
    font-weight: 600;
}

input.autocomplete-input.has-partial-match {
    background-color: #fff9e6 !important;
    border-color: #f6c23e !important;
    color: #856404 !important;
    font-weight: 600;
}

input.autocomplete-input::placeholder {
    color: #a0a0a0;
    font-style: italic;
    opacity: 0.8;
}

input.autocomplete-input.has-error {
    background-color: #fff5f5 !important;
    border-color: #e74a3b !important;
    color: #e74a3b !important;
    font-weight: 600;
    animation: shake 0.3s ease;
}

input.autocomplete-input.has-error::placeholder {
    color: #e74a3b;
}

.autocomplete-wrapper.has-partial-match::after {
    content: 'Buscando coincidencias...';
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.7rem;
    color: #f6c23e;
    font-weight: 600;
    white-space: nowrap;
    animation: fadeIn 0.3s ease;
}

.autocomplete-wrapper.has-error::after {
    content: 'Valor no encontrado - Sin resultados';
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.7rem;
    color: #e74a3b;
    font-weight: 600;
    white-space: nowrap;
    animation: fadeIn 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.autocomplete-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem; 
}

.column-filter.autocomplete-input {
    font-size: 0.875rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
}

.column-filter.autocomplete-select {
    font-size: 0.875rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

.form-label.text-sm {
    font-size: 0.8rem;
}

/*mariadb */

.mariadb-version-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mariadb-version-badge.v5 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.mariadb-version-badge.v10 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.mariadb-version-badge.v11 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.backup-badge.mariabackup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

#mariadbTable th.id-column { width: 50px; min-width: 50px; max-width: 50px; }
#mariadbTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#mariadbTable th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#mariadbTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#mariadbTable th.version-column { width: 100px; min-width: 100px; max-width: 100px; }
#mariadbTable th.container-column { width: 100px; min-width: 100px; max-width: 100px; }
#mariadbTable th.ram-column { width: 70px; min-width: 70px; max-width: 70px; }
#mariadbTable th.backup-column { width: 110px; min-width: 110px; max-width: 110px; }
#mariadbTable th.monitor-column { width: 70px; min-width: 70px; max-width: 70px; }
#mariadbTable th.actions-column { width: 80px; min-width: 80px; max-width: 80px; }

/* Oracle styles */
.oracle-version-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oracle-version-badge.v11 {
    background: linear-gradient(135deg, #f6c23e 0%, #f4a942 100%);
    color: white;
}

.oracle-version-badge.v12 {
    background: linear-gradient(135deg, #e74a3b 0%, #d43a2b 100%);
    color: white;
}

.oracle-version-badge.v18 {
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    color: white;
}

.oracle-version-badge.v19 {
    background: linear-gradient(135deg, #36b9cc 0%, #2c9faf 100%);
    color: white;
}

.oracle-version-badge.v21 {
    background: linear-gradient(135deg, #5a5c69 0%, #484a54 100%);
    color: white;
}

.oracle-sid-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oracle-os-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.oracle-os-badge.linux {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
}

.oracle-os-badge.solaris {
    background: linear-gradient(135deg, #ff5722 0%, #f44336 100%);
    color: white;
}

.oracle-os-badge.aix {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
}

.oracle-os-badge.windows {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
}

.backup-badge.rman {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
    color: white;
}

.backup-badge.expdp {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
    color: white;
}

.backup-badge.datapump {
    background: linear-gradient(135deg, #36b9cc 0%, #2c9faf 100%);
    color: white;
}

#oracleTable th.id-column { width: 45px; min-width: 45px; max-width: 45px; }
#oracleTable th.server-column { width: 125px; min-width: 125px; max-width: 125px; }
#oracleTable th.app-column { width: 90px; min-width: 90px; max-width: 90px; }
#oracleTable th.environment-column { width: 85px; min-width: 85px; max-width: 85px; }
#oracleTable th.sid-column { width: 80px; min-width: 80px; max-width: 80px; }
#oracleTable th.version-column { width: 90px; min-width: 90px; max-width: 90px; }
#oracleTable th.os-column { width: 85px; min-width: 85px; max-width: 85px; }
#oracleTable th.ram-column { width: 65px; min-width: 65px; max-width: 65px; }
#oracleTable th.backup-column { width: 75px; min-width: 75px; max-width: 75px; }
#oracleTable th.monitor-column { width: 60px; min-width: 60px; max-width: 60px; }
#oracleTable th.actions-column { width: 75px; min-width: 75px; max-width: 75px; }

/* DB2 styles */
.db2-version-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%);
    color: white;
}

.db2-version-badge.v115 {
    background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%);
}

.db2-version-badge.v111 {
    background: linear-gradient(135deg, #198038 0%, #0e6027 100%);
}

.db2-version-badge.v105 {
    background: linear-gradient(135deg, #6929c4 0%, #491d8b 100%);
}

.db2-version-badge.v101 {
    background: linear-gradient(135deg, #1192e8 0%, #0072c3 100%);
}

.db2-version-badge.v-other {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.db2-instance-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #e8f4fd;
    color: #0f62fe;
    border: 1px solid #a6c8ff;
}

.backup-badge.db2backup {
    background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%);
    color: white;
}

.backup-badge.archive {
    background: linear-gradient(135deg, #6929c4 0%, #491d8b 100%);
    color: white;
}

#db2Table th.id-column { width: 45px; min-width: 45px; max-width: 45px; }
#db2Table th.server-column { width: 130px; min-width: 130px; max-width: 130px; }
#db2Table th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#db2Table th.environment-column { width: 85px; min-width: 85px; max-width: 85px; }
#db2Table th.instance-column { width: 90px; min-width: 90px; max-width: 90px; }
#db2Table th.version-column { width: 100px; min-width: 100px; max-width: 100px; }
#db2Table th.os-column { width: 100px; min-width: 100px; max-width: 100px; }
#db2Table th.ram-column { width: 70px; min-width: 70px; max-width: 70px; }
#db2Table th.backup-column { width: 80px; min-width: 80px; max-width: 80px; }
#db2Table th.size-column { width: 90px; min-width: 90px; max-width: 90px; }
#db2Table th.actions-column { width: 75px; min-width: 75px; max-width: 75px; }

/* PostgreSQL styles */
.postgresql-version-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.postgresql-version-badge.v16 {
    background: linear-gradient(135deg, #336791 0%, #1e4a6e 100%);
    color: white;
}

.postgresql-version-badge.v15 {
    background: linear-gradient(135deg, #4e9bd0 0%, #336791 100%);
    color: white;
}

.postgresql-version-badge.v14 {
    background: linear-gradient(135deg, #6fb3e0 0%, #4e9bd0 100%);
    color: white;
}

.postgresql-version-badge.v13 {
    background: linear-gradient(135deg, #8ecae6 0%, #6fb3e0 100%);
    color: #1e4a6e;
}

.postgresql-version-badge.v-other {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.backup-badge.pgdump {
    background: linear-gradient(135deg, #336791 0%, #1e4a6e 100%);
    color: white;
}

.backup-badge.pgbasebackup {
    background: linear-gradient(135deg, #1cc88a 0%, #17a673 100%);
    color: white;
}

.backup-badge.barman {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
    color: white;
}

#postgresqlTable th.id-column { width: 50px; min-width: 50px; max-width: 50px; }
#postgresqlTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#postgresqlTable th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#postgresqlTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#postgresqlTable th.version-column { width: 110px; min-width: 110px; max-width: 110px; }
#postgresqlTable th.container-column { width: 100px; min-width: 100px; max-width: 100px; }
#postgresqlTable th.size-column { width: 80px; min-width: 80px; max-width: 80px; }
#postgresqlTable th.ram-column { width: 100px; min-width: 100px; max-width: 100px; }
#postgresqlTable th.backup-column { width: 110px; min-width: 110px; max-width: 110px; }
#postgresqlTable th.cache-column { width: 110px; min-width: 110px; max-width: 110px; }
#postgresqlTable th.actions-column { width: 80px; min-width: 80px; max-width: 80px; }

/* Redis styles */
.redis-version-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.redis-version-badge.v7 {
    background: linear-gradient(135deg, #dc382d 0%, #a41e1e 100%);
    color: white;
}

.redis-version-badge.v6 {
    background: linear-gradient(135deg, #ff6b6b 0%, #dc382d 100%);
    color: white;
}

.redis-version-badge.v5 {
    background: linear-gradient(135deg, #ff8787 0%, #ff6b6b 100%);
    color: white;
}

.redis-version-badge.v-other {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.redis-mode-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
}

.redis-mode-badge.standalone {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
}

.redis-mode-badge.cluster {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.redis-mode-badge.sentinel {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
}

.backup-badge.rdb {
    background: linear-gradient(135deg, #dc382d 0%, #a41e1e 100%);
    color: white;
}

.backup-badge.aof {
    background: linear-gradient(135deg, #fd7e14 0%, #dc6502 100%);
    color: white;
}

#redisTable th.id-column { width: 45px; min-width: 45px; max-width: 45px; }
#redisTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#redisTable th.app-column { width: 110px; min-width: 110px; max-width: 110px; }
#redisTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#redisTable th.version-column { width: 85px; min-width: 85px; max-width: 85px; }
#redisTable th.port-column { width: 70px; min-width: 70px; max-width: 70px; }
#redisTable th.mode-column { width: 90px; min-width: 90px; max-width: 90px; }
#redisTable th.container-column { width: 95px; min-width: 95px; max-width: 95px; }
#redisTable th.ram-column { width: 95px; min-width: 95px; max-width: 95px; }
#redisTable th.backup-column { width: 80px; min-width: 80px; max-width: 80px; }
#redisTable th.actions-column { width: 75px; min-width: 75px; max-width: 75px; }

/* Cassandra Styles */
.cassandra-version-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cassandra-version-badge.v4 {
    background: linear-gradient(135deg, #1287b1 0%, #0d6986 100%);
    color: white;
}

.cassandra-version-badge.v3 {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    color: white;
}

.cassandra-version-badge.v2 {
    background: linear-gradient(135deg, #20c997 0%, #199d76 100%);
    color: white;
}

.cassandra-version-badge.v-other {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.backup-badge.snapshot {
    background: linear-gradient(135deg, #1287b1 0%, #0d6986 100%);
    color: white;
}

.backup-badge.incremental {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    color: white;
}

#cassandraTable th.id-column { width: 45px; min-width: 45px; max-width: 45px; }
#cassandraTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#cassandraTable th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#cassandraTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#cassandraTable th.version-column { width: 95px; min-width: 95px; max-width: 95px; }
#cassandraTable th.cluster-column { width: 150px; min-width: 150px; max-width: 150px; }
#cassandraTable th.nodes-column { width: 60px; min-width: 60px; max-width: 60px; }
#cassandraTable th.bds-column { width: 80px; min-width: 80px; max-width: 80px; }
#cassandraTable th.size-column { width: 90px; min-width: 90px; max-width: 90px; }
#cassandraTable th.backup-column { width: 85px; min-width: 85px; max-width: 85px; }
#cassandraTable th.actions-column { width: 75px; min-width: 75px; max-width: 75px; }

/* Elasticsearch Styles */
.elasticsearch-version-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.elasticsearch-version-badge.v8 {
    background: linear-gradient(135deg, #fed10a 0%, #f5b800 100%);
    color: #1a1a1a;
}

.elasticsearch-version-badge.v7 {
    background: linear-gradient(135deg, #00bfb3 0%, #009688 100%);
    color: white;
}

.elasticsearch-version-badge.v6 {
    background: linear-gradient(135deg, #f04e98 0%, #d4357d 100%);
    color: white;
}

.elasticsearch-version-badge.v-other {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

#elasticsearchTable th.id-column { width: 45px; min-width: 45px; max-width: 45px; }
#elasticsearchTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#elasticsearchTable th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#elasticsearchTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#elasticsearchTable th.version-column { width: 95px; min-width: 95px; max-width: 95px; }
#elasticsearchTable th.cluster-column { width: 150px; min-width: 150px; max-width: 150px; }
#elasticsearchTable th.nodes-column { width: 60px; min-width: 60px; max-width: 60px; }
#elasticsearchTable th.indices-column { width: 70px; min-width: 70px; max-width: 70px; }
#elasticsearchTable th.docs-column { width: 100px; min-width: 100px; max-width: 100px; }
#elasticsearchTable th.backup-column { width: 85px; min-width: 85px; max-width: 85px; }
#elasticsearchTable th.actions-column { width: 75px; min-width: 75px; max-width: 75px; }

/* MongoDB Styles */
.mongodb-version-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.mongodb-version-badge.v7 {
    background: linear-gradient(135deg, #00ed64 0%, #00c853 100%);
    color: white;
}

.mongodb-version-badge.v6 {
    background: linear-gradient(135deg, #4db33d 0%, #3d8c30 100%);
    color: white;
}

.mongodb-version-badge.v5 {
    background: linear-gradient(135deg, #589636 0%, #4a7c2e 100%);
    color: white;
}

.mongodb-version-badge.v4 {
    background: linear-gradient(135deg, #6c9c3d 0%, #5a8333 100%);
    color: white;
}

.mongodb-version-badge.v-other {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

#mongodbTable th.id-column { width: 45px; min-width: 45px; max-width: 45px; }
#mongodbTable th.server-column { width: 140px; min-width: 140px; max-width: 140px; }
#mongodbTable th.app-column { width: 100px; min-width: 100px; max-width: 100px; }
#mongodbTable th.environment-column { width: 90px; min-width: 90px; max-width: 90px; }
#mongodbTable th.version-column { width: 95px; min-width: 95px; max-width: 95px; }
#mongodbTable th.container-column { width: 95px; min-width: 95px; max-width: 95px; }
#mongodbTable th.bds-column { width: 60px; min-width: 60px; max-width: 60px; }
#mongodbTable th.size-column { width: 90px; min-width: 90px; max-width: 90px; }
#mongodbTable th.backup-column { width: 85px; min-width: 85px; max-width: 85px; }
#mongodbTable th.monitor-column { width: 65px; min-width: 65px; max-width: 65px; }
#mongodbTable th.actions-column { width: 75px; min-width: 75px; max-width: 75px; }