/* JC Cockpit Styling */
.jc-cockpit-container {
    max-width: 1140px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1F2421;
}

.jc-cockpit-topbar {
    background: #1B4945;
    color: #ffffff;
    padding: 20px 28px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(27,73,69,0.18);
    margin-bottom: 24px;
}

.jc-cockpit-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jc-btn-gold {
    background: #EEBA31;
    color: #123633;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}
.jc-btn-gold:hover {
    background: #f0bc35;
    transform: translateY(-1px);
}

.jc-btn-logout {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s;
}
.jc-btn-logout:hover {
    background: rgba(255,255,255,0.25);
}

/* KPIS */
.jc-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.jc-kpi-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jc-kpi-card h4 {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jc-kpi-value {
    font-size: 26px;
    font-weight: 800;
    color: #1B4945;
    line-height: 1.2;
}

.jc-kpi-note {
    font-size: 11px;
    color: #9CA3AF;
    display: block;
    margin-top: 4px;
}

/* SECCIONES */
.jc-section-box {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.jc-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.jc-box-header h3 {
    margin: 0;
    font-size: 17px;
    color: #123633;
}

.jc-badge-live {
    background: #DCFCE7;
    color: #15803D;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

/* SETTINGS */
.jc-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #F3F4F6;
}
.jc-setting-row:last-child {
    border-bottom: none;
}

.jc-setting-desc strong {
    font-size: 14px;
    color: #1F2421;
}

.jc-setting-desc p {
    font-size: 12px;
    color: #6B7280;
    margin: 4px 0 0 0;
}

.jc-setting-ctrls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jc-toggle-btn {
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.jc-toggle-btn.is-on {
    background: #10B981;
    color: #ffffff;
}
.jc-toggle-btn.is-off {
    background: #EF4444;
    color: #ffffff;
}

.jc-input-num {
    width: 65px;
    padding: 7px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
}

.jc-unit {
    font-weight: 700;
    font-size: 14px;
    color: #4B5563;
}

/* TABLAS */
.jc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.jc-table th {
    padding: 10px 12px;
    color: #6B7280;
    font-weight: 600;
    border-bottom: 2px solid #E5E7EB;
}

.jc-table td {
    padding: 12px;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
}

.jc-status-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}
.jc-status-badge.refunded {
    background: #DCFCE7;
    color: #15803D;
}
.jc-status-badge.held {
    background: #FEF3C7;
    color: #B45309;
}

.jc-btn-refund {
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s;
}
.jc-btn-refund:hover {
    background: #10B981;
    color: #fff;
    border-color: #10B981;
}
