/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --success-color: #27ae60;
    --info-color: #3498db;
    
    --sidebar-width: 280px;
    --topbar-height: 70px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    max-width: 400px;
    padding: 40px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: var(--border-radius);
    border: 1px solid #334155;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes sk-bounce {
    0%, 100% { transform: scale(0.0); }
    50% { transform: scale(1.0); }
}

.loading-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-content p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.loading-steps {
    text-align: left;
}

.step {
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step.active {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid var(--primary-color);
}

.step i {
    width: 20px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-right: 1px solid #334155;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #e2e8f0, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.enterprise-badge {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.system-status-mini {
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    border: 1px solid #334155;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-size: 14px;
    color: #94a3b8;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
}

.status-dot.healthy { background: #10b981; box-shadow: 0 0 10px #10b981; }
.status-dot.unhealthy { background: #ef4444; box-shadow: 0 0 10px #ef4444; animation: pulse 1s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    transform: translateX(5px);
}

.menu-item.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
    border-left: 3px solid #3b82f6;
}

.menu-item i {
    width: 20px;
    font-size: 18px;
}

.menu-badge {
    background: #3b82f6;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.menu-badge.live {
    background: linear-gradient(90deg, #ef4444, #f87171);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.uptime-display {
    background: rgba(30, 41, 59, 0.8);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #94a3b8;
}

.uptime-display i {
    color: #3b82f6;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px;
    border: 1px solid #334155;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.user-details {
    flex: 1;
}

.user-details strong {
    display: block;
    font-size: 14px;
    color: #e2e8f0;
}

.user-details small {
    font-size: 12px;
    color: #94a3b8;
}

#system-mode {
    color: #10b981;
    font-weight: 600;
}

/* ===== TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--topbar-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #334155;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb .active {
    color: #3b82f6;
    font-weight: 600;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.real-time-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.last-update {
    color: #94a3b8;
    font-weight: 400;
}

.btn-alert {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.btn-alert:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.alert-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.btn-refresh {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.datetime {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
}

.datetime i {
    color: #3b82f6;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--topbar-height);
    padding: 30px;
    min-height: calc(100vh - var(--topbar-height));
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #e2e8f0, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header h2 i {
    color: #3b82f6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.interval-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
}

.interval-selector select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.interval-selector select:focus {
    border-color: #3b82f6;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #334155;
    color: #e2e8f0;
    border: 1px solid #475569;
}

.btn-secondary:hover {
    background: #475569;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1e293b;
}

.btn-small {
    padding: 8px 15px;
    font-size: 12px;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: #475569;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.status-card::before { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.sales-card::before { background: linear-gradient(90deg, #10b981, #34d399); }
.customers-card::before { background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.uptime-card::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: #3b82f6;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.healthy { background: #10b981; box-shadow: 0 0 10px #10b981; }
.status-indicator.unhealthy { background: #ef4444; box-shadow: 0 0 10px #ef4444; animation: pulse 1s infinite; }

.card-body {
    margin-bottom: 20px;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #e2e8f0, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 15px;
}

.stat-amount {
    font-size: 28px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: #334155;
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
}

.detail .value {
    color: #e2e8f0;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 13px;
    color: #94a3b8;
}

/* ===== CHARTS ROW ===== */
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.chart-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 25px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-header h3 i {
    color: #3b82f6;
}

.chart-header select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.chart-wrapper {
    height: 250px;
    position: relative;
}

.legend {
    display: flex;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #94a3b8;
}

.legend-item.visa i { color: #3b82f6; }
.legend-item.mastercard i { color: #ef4444; }

/* ===== ACTIVITY CONTAINER ===== */
.activity-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 25px;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activity-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-header h3 i {
    color: #3b82f6;
}

.activity-badge {
    background: linear-gradient(90deg, #ef4444, #f87171);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse-live 2s infinite;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
    transition: var(--transition);
}

.activity-item:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateX(5px);
}

.activity-item.new {
    border-left-color: #10b981;
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% { background: rgba(16, 185, 129, 0.2); }
    100% { background: rgba(30, 41, 59, 0.8); }
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.activity-content {
    flex: 1;
}

.activity-content strong {
    display: block;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.activity-content p {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 5px;
}

.activity-content small {
    color: #64748b;
    font-size: 12px;
}

.activity-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.activity-status.completed { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.activity-status.success { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.service-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #475569;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.service-info p {
    font-size: 13px;
    color: #94a3b8;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-status .status-dot {
    width: 10px;
    height: 10px;
}

.service-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.metric-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
}

.service-actions {
    display: flex;
    gap: 10px;
}

.btn-test, .btn-details {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.btn-test {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.btn-details {
    background: #334155;
    color: #e2e8f0;
    border: 1px solid #475569;
}

.btn-test:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-details:hover {
    background: #475569;
}

/* ===== LOGS ===== */
.monitor-logs {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 25px;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logs-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logs-header h3 i {
    color: #3b82f6;
}

.logs-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-clear {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    transition: var(--transition);
}

.btn-clear:hover {
    background: rgba(239, 68, 68, 0.3);
}

.log-level-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.log-level-filter select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.toggle-auto {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
}

.logs-container {
    max-height: 300px;
    overflow-y: auto;
    background: #0f172a;
    border-radius: 8px;
    padding: 15px;
}

/* ===== PAYMENTS SECTION ===== */
.payments-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-content h4 {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
}

.stat-change.positive { color: #10b981; }
.stat-change.negative { color: #ef4444; }

.payments-table-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 25px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
}

.table-filters {
    display: flex;
    gap: 15px;
}

.table-filters input,
.table-filters select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
}

.table-responsive {
    overflow-x: auto;
}

.payments-table {
    width: 100%;
    border-collapse: collapse;
}

.payments-table th {
    background: rgba(30, 41, 59, 0.8);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #94a3b8;
    border-bottom: 1px solid #334155;
}

.payments-table td {
    padding: 15px;
    border-bottom: 1px solid #334155;
    color: #e2e8f0;
}

.payments-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ===== LOGS SECTION ===== */
.logs-container-full {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
}

.logs-sidebar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 20px;
}

.logs-stats h4,
.logs-filters h4 {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #334155;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat:last-child {
    border-bottom: none;
}

.stat .value {
    font-weight: 700;
    font-size: 18px;
}

.stat .value.error { color: #ef4444; }
.stat .value.warning { color: #f59e0b; }
.stat .value.info { color: #3b82f6; }

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 5px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.logs-main {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    padding: 20px;
}

.logs-toolbar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.logs-toolbar input {
    flex: 1;
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

.logs-viewer {
    background: #0f172a;
    border-radius: 8px;
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 13px;
}

/* ===== TOAST NOTIFICATIONS ===== */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
    backdrop-filter: blur(10px);
}

.toast.success { border-left: 4px solid #10b981; }
.toast.error { border-left: 4px solid #ef4444; }
.toast.warning { border-left: 4px solid #f59e0b; }
.toast.info { border-left: 4px solid #3b82f6; }

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #334155;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
}

.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.modal-body {
    padding: 25px;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
}

/* ===== ESTILOS PARA MONITOREO EN TIEMPO REAL ===== */
.real-time-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% { 
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.5);
        opacity: 0.7;
    }
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
}

.service-status.healthy {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.service-status.unhealthy {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    animation: shake-alert 0.5s ease;
}

@keyframes shake-alert {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-banner {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ef4444, #f87171);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    animation: slide-down 0.3s ease;
}

@keyframes slide-down {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.realtime-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 10px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.realtime-metric:hover {
    border-color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 5px;
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.trend-up {
    color: #10b981;
}

.trend-down {
    color: #ef4444;
}

.counter {
    font-size: 32px;
    font-weight: 800;
    color: #e2e8f0;
    position: relative;
}

.counter::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.updating {
    position: relative;
    overflow: hidden;
}

.updating::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.log-stream {
    max-height: 400px;
    overflow-y: auto;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 13px;
    line-height: 1.6;
    background: #0f172a;
    border-radius: 8px;
    padding: 15px;
}

.log-entry {
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
    background: rgba(30, 41, 59, 0.5);
    animation: log-fade 0.3s ease;
}

@keyframes log-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.log-entry.info { border-left-color: #3b82f6; }
.log-entry.success { border-left-color: #10b981; }
.log-entry.warning { border-left-color: #f59e0b; }
.log-entry.error { 
    border-left-color: #ef4444;
    animation: log-error 0.5s ease;
}

@keyframes log-error {
    0%, 100% { background: rgba(239, 68, 68, 0.1); }
    50% { background: rgba(239, 68, 68, 0.2); }
}

.activity-stream {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateX(5px);
}

.activity-item.new {
    border-left-color: #10b981;
    animation: highlight-new 2s ease;
}

@keyframes highlight-new {
    0% { background: rgba(16, 185, 129, 0.2); }
    100% { background: rgba(30, 41, 59, 0.8); }
}

.activity-timestamp {
    font-size: 12px;
    color: #64748b;
    min-width: 80px;
}

.realtime-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.realtime-loader .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    animation: loader-dots 1.4s infinite ease-in-out both;
}

.realtime-loader .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.realtime-loader .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loader-dots {
    0%, 80%, 100% { 
        transform: scale(0);
    } 
    40% { 
        transform: scale(1.0);
    }
}

/* ===== RESPONSIVE COMPLETO HASTA 360px ===== */
@media (max-width: 1200px) {
    .charts-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 100%;
        max-width: 320px;
    }
    
    .sidebar.active {
        transform: translateX(0);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .top-bar {
        left: 0;
        padding: 0 20px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-bottom: 15px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .real-time-indicator {
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .services-grid,
    .payments-stats {
        grid-template-columns: 1fr;
    }
    
    .charts-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .top-bar {
        padding: 0 15px;
        height: 60px;
    }
    
    .top-left {
        gap: 10px;
    }
    
    .top-right {
        gap: 10px;
    }
    
    .real-time-indicator {
        display: none;
    }
    
    .datetime {
        display: none;
    }
    
    .btn-refresh span {
        display: none;
    }
    
    .btn-refresh {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .breadcrumb {
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .table-filters {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    .table-filters input,
    .table-filters select {
        min-width: 100%;
        width: 100%;
    }
    
    .payments-table th,
    .payments-table td {
        padding: 10px;
        font-size: 12px;
    }
    
    .logs-container-full {
        grid-template-columns: 1fr;
    }
    
    .toast {
        min-width: auto;
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .stat-amount {
        font-size: 24px;
    }
    
    .chart-wrapper {
        height: 200px;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .activity-content {
        width: 100%;
    }
    
    .activity-status {
        align-self: flex-start;
    }
    
    .activity-timestamp {
        align-self: flex-end;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .service-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .realtime-metric {
        flex-direction: column;
        text-align: center;
    }
    
    .metric-value {
        font-size: 24px;
    }
    
    .counter {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    :root {
        --topbar-height: 60px;
    }
    
    .loading-content {
        padding: 25px 20px;
        margin: 20px;
        max-width: 90%;
    }
    
    .loading-content h2 {
        font-size: 22px;
    }
    
    .spinner {
        width: 60px;
        height: 60px;
    }
    
    .menu-item {
        padding: 12px;
        font-size: 14px;
    }
    
    .menu-item i {
        font-size: 16px;
    }
    
    .user-info {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }
    
    .user-details {
        width: 100%;
    }
    
    .system-status-mini {
        padding: 12px;
    }
    
    .status-item {
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .btn-small {
        padding: 7px 12px;
        font-size: 11px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .logs-toolbar {
        flex-direction: column;
    }
    
    .logs-toolbar input {
        width: 100%;
    }
    
    .logs-header h3,
    .activity-header h3,
    .chart-header h3,
    .table-header h3 {
        font-size: 16px;
    }
    
    #toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .toast {
        width: 100%;
        right: 0;
        left: 0;
    }
    
    .alert-banner {
        width: 90%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .log-stream {
        max-height: 300px;
        font-size: 11px;
    }
    
    .activity-stream {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 12px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .top-bar {
        padding: 0 12px;
    }
    
    .menu-toggle {
        padding: 8px;
    }
    
    .btn-alert {
        padding: 8px;
    }
    
    .stat-card {
        padding: 18px 15px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .chart-container,
    .activity-container,
    .monitor-logs {
        padding: 18px 15px;
    }
    
    .logs-controls {
        flex-wrap: wrap;
    }
    
    .stat-box {
        padding: 15px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .stat-content h4 {
        font-size: 13px;
    }
    
    .logs-sidebar,
    .logs-main {
        padding: 15px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .metric-value {
        font-size: 20px;
    }
    
    .counter {
        font-size: 24px;
    }
    
    .realtime-loader .dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 360px) {
    :root {
        --topbar-height: 55px;
    }
    
    body {
        font-size: 14px;
    }
    
    .top-bar {
        height: 55px;
        padding: 0 10px;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .section-header h2 {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .btn-refresh {
        width: 35px;
        height: 35px;
        padding: 8px;
    }
    
    .stat-card {
        padding: 15px 12px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .chart-wrapper {
        height: 180px;
    }
    
    .legend {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .activity-feed {
        gap: 12px;
    }
    
    .activity-item {
        padding: 12px;
    }
    
    .activity-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .metric-value {
        font-size: 16px;
    }
    
    .payments-table {
        font-size: 12px;
    }
    
    .payments-table th,
    .payments-table td {
        padding: 8px;
        font-size: 11px;
    }
    
    .logs-viewer {
        font-size: 11px;
        padding: 12px;
    }
    
    .filter-group label {
        font-size: 12px;
    }
    
    .filter-group select,
    .filter-group input {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .sidebar {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .menu-item {
        padding: 10px;
        font-size: 13px;
    }
    
    .menu-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .uptime-display,
    .user-info {
        font-size: 12px;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    #toast-container {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .modal-content {
        margin: 5px;
        width: calc(100% - 10px);
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .enterprise-badge,
    .last-update,
    .breadcrumb i:not(.active) {
        display: none;
    }
    
    .interval-selector span {
        display: none;
    }
    
    .interval-selector select {
        width: 100%;
    }
    
    .alert-banner {
        width: 95%;
        padding: 10px 15px;
        font-size: 12px;
        top: 70px;
    }
    
    .status-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .realtime-metric {
        padding: 12px;
    }
}

/* Touch-friendly enhancements for mobile */
@media (hover: none) and (pointer: coarse) {
    .menu-item,
    .btn,
    .btn-test,
    .btn-details,
    .btn-alert,
    .menu-toggle,
    .service-status,
    .realtime-metric {
        min-height: 44px;
        min-width: 44px;
    }
    
    .menu-item {
        padding: 15px;
    }
    
    .activity-item {
        padding: 15px;
    }
    
    select,
    input {
        font-size: 16px !important;
    }
    
    .table-filters select,
    .table-filters input {
        height: 44px;
    }
    
    .btn-test,
    .btn-details {
        height: 44px;
    }
    
    .status-badge {
        min-height: 32px;
        display: inline-flex;
        align-items: center;
    }
}

/* Dark mode adjustments */
@media (max-width: 360px) {
    body {
        background: #0f172a;
    }
    
    .stat-card,
    .chart-container,
    .activity-container,
    .service-card {
        background: #1e293b;
        border: 1px solid #334155;
    }
}

/* Print styles */
@media print {
    .sidebar,
    .top-bar,
    .btn,
    .menu-toggle,
    .btn-alert,
    .btn-refresh,
    .header-actions,
    .logs-controls,
    .service-actions,
    .table-filters,
    .real-time-indicator,
    .alert-banner,
    .realtime-loader {
        display: none !important;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .stat-card,
    .chart-container,
    .activity-container,
    .monitor-logs,
    .service-card,
    .payments-table-container {
        border: 1px solid #ddd;
        box-shadow: none;
        break-inside: avoid;
    }
}