/* IGNY8 UNIFIED CORE CSS – A-Z COMPACT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

.is-dismissible {display: none}
#wpcontent{padding-left: 0px}

/* === 1. TOKENS === */
:root {
    /* Primary Brand Blue (Rocket Cyan-based) */
    --blue:       #0693e3; /* Rocket vivid cyan blue – primary brand & main CTA */
    --blue-dark:  #0472b8; /* Darkened cyan for hover / active / gradient depth */
  
    /* Success Green (cooler to match cyan) */
    --green:      #0bbf87; /* Slightly cooler teal-green for success states */
    --green-dark: #08966b; /* Deeper teal-green for hover / active */
  
    /* Amber / Warning (warmed up to complement cyan) */
    --amber:      #ff7a00; /* Rocket's vivid orange for highlight / warning */
    --amber-dark: #cc5f00; /* Darker orange for hover / strong warning */
  
    /* Danger / Destructive */
    --red-dark:   #d13333; /* Refreshed red with better contrast against cyan */

    --purple:     #5d4ae3; /* Purple for highlighting / special emphasis */
    --purple-dark:#3a2f94; /* Darker purple for hover / active */

    --navy-bg:   #0d1b2a;  /* Sidebar background */
    --navy-bg-2: #142b3f;  /* Slightly lighter navy, hover/active */
    --surface:   #f8fafc;  /* Page background (soft gray-white) */
    --panel:     #ffffff;  /* Cards / panel foreground */
    --panel-2:   #f1f5f9;  /* Sub-panel / hover card background */

    --text:       #555a68;   /* main headings/body text */
    --text-dim:   #64748b;   /* secondary/subtext */
    --text-light: #e5eaf0;   /* text on dark sidebar */
    --stroke:     #e2e8f0;   /* table/grid borders and dividers */
    
    --radius:6px;--sidebar-width:220px;--header-height:75px

    /* === UNIFIED GRADIENTS === */
    --igny8-gradient-blue: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    --igny8-gradient-panel: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    --igny8-gradient-success: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    --igny8-gradient-warning: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
    --igny8-gradient-danger: linear-gradient(135deg, #ef4444 0%, var(--red-dark) 100%);
    --igny8-gradient-info: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --igny8-gradient-purple: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    --igny8-gradient-gray: linear-gradient(135deg, #6b7280 0%, #374151 100%);
    --igny8-gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --igny8-gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    
    /* === UNIFIED BACKGROUNDS === */
    --igny8-bg-success: #d4edda;
    --igny8-bg-success-border: #c3e6cb;
    --igny8-bg-success-text: #155724;
    --igny8-bg-warning: #fff3cd;
    --igny8-bg-warning-border: #ffeaa7;
    --igny8-bg-warning-text: #856404;
    --igny8-bg-danger: #f8d7da;
    --igny8-bg-danger-border: #f5c6cb;
    --igny8-bg-danger-text: #721c24;
    --igny8-bg-info: #d1ecf1;
    --igny8-bg-info-border: #bee5eb;
    --igny8-bg-info-text: #0c5460;
    --igny8-bg-light: #f8f9fa;
    --igny8-bg-light-border: #e9ecef;
    --igny8-bg-light-text: #495057;
  }

  .igny8-card-header.gradient { background: var(--igny8-gradient-panel); padding:10px 14px; border-radius: var(--radius) var(--radius) 0 0; }

/* === 1.5. UNIFIED BACKGROUNDS, BADGES & GRADIENTS === */
/* Background Utilities */
.igny8-bg-success { background: var(--igny8-bg-success); border: 1px solid var(--igny8-bg-success-border); color: var(--igny8-bg-success-text); }
.igny8-bg-warning { background: var(--igny8-bg-warning); border: 1px solid var(--igny8-bg-warning-border); color: var(--igny8-bg-warning-text); }
.igny8-bg-danger { background: var(--igny8-bg-danger); border: 1px solid var(--igny8-bg-danger-border); color: var(--igny8-bg-danger-text); }
.igny8-bg-info { background: var(--igny8-bg-info); border: 1px solid var(--igny8-bg-info-border); color: var(--igny8-bg-info-text); }
.igny8-bg-light { background: var(--igny8-bg-light); border: 1px solid var(--igny8-bg-light-border); color: var(--igny8-bg-light-text); }

/* Gradient Backgrounds */
.igny8-gradient-blue { background: var(--igny8-gradient-blue); }
.igny8-gradient-success { background: var(--igny8-gradient-success); }
.igny8-gradient-warning { background: var(--igny8-gradient-warning); }
.igny8-gradient-danger { background: var(--igny8-gradient-danger); }
.igny8-gradient-info { background: var(--igny8-gradient-info); }
.igny8-gradient-purple { background: var(--igny8-gradient-purple); }
.igny8-gradient-gray { background: var(--igny8-gradient-gray); }
.igny8-gradient-light { background: var(--igny8-gradient-light); }
.igny8-gradient-dark { background: var(--igny8-gradient-dark); }

/* Unified Badge System */
.igny8-badge { padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; color: #fff; white-space: nowrap; display: inline-block; }
.igny8-badge-primary { background: var(--blue); }
.igny8-badge-success { background: var(--green); }
.igny8-badge-warning { background: var(--amber); }
.igny8-badge-danger { background: #ef4444; }
.igny8-badge-info { background: #3b82f6; }
.igny8-badge-purple { background: var(--purple); }
.igny8-badge-gray { background: #6b7280; }
.igny8-badge-dark-red { background: var(--red-dark); }
.igny8-badge-outline { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); }

/* Badge with Gradients */
.igny8-badge-gradient-blue { background: var(--igny8-gradient-blue); }
.igny8-badge-gradient-success { background: var(--igny8-gradient-success); }
.igny8-badge-gradient-warning { background: var(--igny8-gradient-warning); }
.igny8-badge-gradient-danger { background: var(--igny8-gradient-danger); }
.igny8-badge-gradient-info { background: var(--igny8-gradient-info); }
.igny8-badge-gradient-purple { background: var(--igny8-gradient-purple); }

/* Badge Sizes */
.igny8-badge-sm { padding: 2px 6px; font-size: 10px; }
.igny8-badge-lg { padding: 6px 14px; font-size: 14px; }

/* Badge with Icons */
.igny8-badge-icon { display: inline-flex; align-items: center; gap: 4px; }
.igny8-badge-icon .dashicons { font-size: 12px; }

/* Title and Status with Badge Layouts */
.igny8-title-with-badge, .igny8-status-with-badge { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.igny8-title-text, .igny8-status-text { flex: 1; }
.igny8-title-actions, .igny8-status-actions { display: flex; align-items: center; gap: 4px; }

/* Progress Bar Gradients */
.igny8-progress-bar { background: var(--panel-2); border-radius: 10px; height: 24px; overflow: hidden; position: relative; }
.igny8-progress-fill { background: var(--igny8-gradient-blue); transition: width 0.5s ease; position: relative; height: 100%; }
.igny8-progress-fill-success { background: var(--igny8-gradient-success); }
.igny8-progress-fill-warning { background: var(--igny8-gradient-warning); }
.igny8-progress-fill-danger { background: var(--igny8-gradient-danger); }

/* Button Gradients */
.igny8-btn-gradient-blue { background: var(--igny8-gradient-blue); }
.igny8-btn-gradient-success { background: var(--igny8-gradient-success); }
.igny8-btn-gradient-warning { background: var(--igny8-gradient-warning); }
.igny8-btn-gradient-danger { background: var(--igny8-gradient-danger); }
.igny8-btn-gradient-info { background: var(--igny8-gradient-info); }
.igny8-btn-gradient-purple { background: var(--igny8-gradient-purple); }
.igny8-btn-gradient-gray { background: var(--igny8-gradient-gray); }

/* Card Gradients */
.igny8-card-gradient { background: var(--igny8-gradient-panel); }
.igny8-card-gradient-blue { background: var(--igny8-gradient-blue); color: white; }
.igny8-card-gradient-success { background: var(--igny8-gradient-success); color: white; }
.igny8-card-gradient-warning { background: var(--igny8-gradient-warning); color: white; }
.igny8-card-gradient-danger { background: var(--igny8-gradient-danger); color: white; }

/* Modal and Overlay Backgrounds */
.igny8-modal-bg { background: rgba(0,0,0,0.5); }
.igny8-overlay-light { background: rgba(255,255,255,0.9); }
.igny8-overlay-dark { background: rgba(0,0,0,0.8); }

/* Status Indicators */
.igny8-status-success { background: var(--igny8-bg-success); border-left: 4px solid var(--green); }
.igny8-status-warning { background: var(--igny8-bg-warning); border-left: 4px solid var(--amber); }
.igny8-status-danger { background: var(--igny8-bg-danger); border-left: 4px solid #ef4444; }
.igny8-status-info { background: var(--igny8-bg-info); border-left: 4px solid #3b82f6; }
  
/* === 2. RESET & BASE === */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--surface);color:var(--text);line-height:1.4;font-size:14px;font-weight:600;}
a{text-decoration:none;color:inherit}

/* === 3. LAYOUT === */
.igny8-page-wrapper{display:flex;min-height:100vh;width: 100%;margin: auto;}
.igny8-main-area{flex:1;display:flex;flex-direction:column;background:var(--surface)}
.igny8-content{flex:1;padding:20px;background: #fff;box-shadow: 0 2px 6px 3px rgba(0, 0, 0, .08)}
.igny8-footer{background:var(--navy-bg-2);padding:10px 20px;text-align:center;color:var(--text-light);font-size:13px;border-top:1px solid rgba(255,255,255,.1)}


/* === 4. SIDEBAR === */
.igny8-sidebar{width:var(--sidebar-width);background:var(--navy-bg-2);color:var(--text-light);display:flex;flex-direction:column;padding:16px 12px}
.igny8-sidebar-logo{font-size:20px;font-weight:600;text-align:center;margin-bottom:16px}
.igny8-version-badge{text-align:center;margin-bottom:16px}
.igny8-version-badge .igny8-badge{font-size:11px;font-weight:600;letter-spacing:0.5px}
.igny8-breadcrumb{font-size:12px;color:rgba(255,255,255,0.7);margin-bottom:20px;text-align:center;line-height:1.4}
.igny8-breadcrumb-link{color:#f59e0b;text-decoration:none;transition:color .2s}
.igny8-breadcrumb-link:hover{color:#fff}
.igny8-breadcrumb-separator{margin:0 6px;opacity:0.6}
.igny8-breadcrumb-current{color:rgba(255,255,255,0.9);font-weight:500}
.igny8-sidebar-nav{display:flex;flex-direction:column;gap:8px}
.igny8-sidebar-link{display:flex;align-items:center;gap:10px;font-size:14px;padding:8px 12px;border-radius:var(--radius);color:var(--text-light);transition:background .2s}
.igny8-sidebar-link:hover{background:rgba(255,255,255,.08);color: #fff;}
.igny8-sidebar-link.active{background:var(--blue);color:#fff}
.igny8-sidebar-metrics{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}
.igny8-sidebar-metric{display:flex;justify-content:space-between;font-size:13px}
.igny8-sidebar-metric .label{opacity:.8}
.igny8-sidebar-footer-container{position:relative;width:100%;margin-top:auto;padding:16px 12px 16px 12px}
.igny8-sidebar-footer{border-top:1px solid rgba(255,255,255,.1);padding-top:12px;display:flex;flex-direction:column;gap:6px}

/* === 5. HEADER === */
.igny8-header{display:flex;align-items:center;justify-content:space-between;background:var(--navy-bg-2);height:var(--header-height);padding:0 20px;border-bottom:1px solid rgba(255,255,255,.1);color:var(--text-light)}
.igny8-header-left{display:flex;align-items:center;gap:20px}
.igny8-page-title h1{font-size:22px;font-weight:600;color:#fff;margin:0 0 4px 0;gap:20px}
.igny8-page-description{font-size:13px;color:rgba(255,255,255,0.8);margin:0;line-height:1.3}
.igny8-breadcrumbs{font-size:13px;color:var(--text-light);opacity:.8}
.igny8-breadcrumbs a{color:var(--blue);font-weight:500}
.igny8-header-center{display:flex;align-items:center;justify-content:center;flex:1;text-align:center}
.igny8-marquee-ticker{font-size:13px;color:var(--text-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.igny8-header-right{display:flex;align-items:center;gap:20px}
.igny8-metrics{display:flex;align-items:center;gap:8px}
.igny8-badge{padding:4px 10px;border-radius:4px;font-size:12px;font-weight:500;color:#fff;white-space:nowrap}
.igny8-badge.igny8-btn-primary{background:var(--blue)}
.igny8-badge.igny8-btn-success{background:var(--green)}
.igny8-badge.igny8-btn-warning{background:var(--amber)}
.igny8-badge.igny8-btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.3);color:rgba(255,255,255,0.9)}
.igny8-header-icons{display: flex;
        align-items: center;
        gap: 14px;
        margin: 0 20px 10px 0;
        align-content: center;
    }
.igny8-header-icons .dashicons{font-size:26px;cursor:pointer;color:var(--text-light);transition:color .2s}
.igny8-header-icons .dashicons:hover{color:var(--blue)}

/* Fix for dashicons in buttons */
.igny8-btn .dashicons { font-family: dashicons !important; font-size: 16px; line-height: 1; text-decoration: none; font-weight: normal; font-style: normal; vertical-align: top; margin-right: 6px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.igny8-icon-only svg { font-family: inherit !important; font-style: normal !important; font-weight: normal !important; }
.igny8-actions-cell button { font-family: inherit !important; }
.igny8-actions-cell button svg { font-family: inherit !important; }
.dashicons { font-variant: normal; text-transform: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* === 6. BUTTONS === */
.igny8-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 12px;font-size:13px;font-weight:500;line-height:1.3;border:none;border-radius:var(--radius,6px);cursor:pointer;transition:all .2s ease-in-out;color:#fff;text-decoration:none;white-space:nowrap;margin: 0 5px}
.igny8-btn:disabled,.igny8-btn.disabled{opacity:.5;cursor:not-allowed}
.igny8-btn-primary{background:var(--blue,#3b82f6)}
.igny8-btn-primary:hover{background:var(--blue-dark,#2563eb)}
.igny8-btn-secondary{background:var(--text-dim,#64748b);color:#fff}
.igny8-btn-secondary:hover{background:#475569}
.igny8-btn-outline{background:transparent;border:1px solid var(--stroke,#e2e8f0);color:var(--text,#0f172a)}
.igny8-btn-outline:hover{background:rgba(0,0,0,.05)}
.igny8-btn-success{background:var(--green,#10b981)}
.igny8-btn-success:hover{background:var(--green-dark,#059669)}
.igny8-btn-accent{background:var(--amber,#f59e0b)}
.igny8-btn-accent:hover{background:var(--amber-dark,#d97706)}
.igny8-btn-danger{background:#ef4444}
.igny8-btn-danger:hover{opacity:.9}
.igny8-btn-icon{width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center}

/* === 9. TABLE === */
.igny8-table{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--stroke);border-radius:4px;overflow:visible;font-size:14px}
.igny8-table thead th{background:var(--navy-bg-2);color:var(--text-light);font-weight:500;text-align:left;padding:6px 10px;border-bottom:1px solid var(--stroke)}
.igny8-table tbody td{padding:6px 10px;border-bottom:1px solid var(--stroke);color:var(--text);overflow:visible;position:relative}
.igny8-table tbody tr:hover{background:var(--panel-2)}
.igny8-table th {font-size: 110%;}
.igny8-col-checkbox{width:36px;text-align:center}
.igny8-col-actions{width:80px;text-align:center}

/* === 10. PAGINATION === */
.igny8-pagination{margin: 25px 0;display:flex;justify-content:center;align-items:center;}
.igny8-btn-pagination{height:auto;padding:3px 9px;font-size:12px;border-radius:4px;color:var(--blue);border:1px solid var(--blue);background:transparent;cursor:pointer;transition:all .2s}
.igny8-btn-pagination:hover:not(:disabled){background:var(--blue);color:#fff}
.igny8-btn-pagination:disabled{opacity:.4;cursor:default}
.igny8-btn-pagination.active{background:var(--blue);color:#fff;border-color:var(--blue)}

/* === 11. MODAL === */
.igny8-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:10000}
.igny8-modal.open{display:flex}
.igny8-modal-content{background:#fff;border-radius:6px;box-shadow:0 20px 40px rgba(0,0,0,.25);max-width:500px;width:90%;max-height:90vh;overflow:auto}
.igny8-modal-header,.igny8-modal-footer{padding:12px 16px;border-bottom:1px solid var(--stroke);display:flex;justify-content:space-between;align-items:center}
.igny8-modal-footer{border-top:1px solid var(--stroke)}
.igny8-btn-close{background:none;border:none;font-size:18px;cursor:pointer;color:var(--text-dim)}

/* === 12. UTILITIES === */
.igny8-flex{display:flex}.igny8-ml-auto{margin-left:auto}
.igny8-text-muted{color:var(--text-dim)}.igny8-mb-20{margin-bottom:20px}
.igny8-error-box{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:4px;padding:12px;margin:10px 0;font-size:13px}

/* === 13. RESPONSIVE === */
@media(max-width:768px){.igny8-sidebar{display:none}.igny8-filters{flex-direction:column;align-items:flex-start}.igny8-filter-bar{flex-wrap:wrap}.igny8-table-actions{flex-wrap:wrap;gap:8px}}

.is-dismissible {display: none}
#wpcontent{padding-left: 0px}

.igny8-metrics-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;}
.igny8-page-title{font-size:1.4rem;font-weight:600;margin:0;}
.igny8-metrics-bar{display:flex;gap:8px;}
.igny8-badge{padding:4px 10px;border-radius:4px;font-size:.85rem;font-weight:500;color:#fff;}
.igny8-badge-primary{background:var(--blue-dark)}
.igny8-badge-success{background:#10b981;}
.igny8-badge-warning{background:#f59e0b;}
.igny8-badge-info{background:#3b82f6;}

/* === 7. Filters === */
.igny8-filters{display:flex;align-items:center;justify-content: center;gap:10px;margin:25px 0}
.igny8-filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f9fafb;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;box-shadow: 0 2px 6px 3px rgba(0, 0, 0, .08)}
.igny8-filter-group{position:relative;display:flex;align-items:center;gap:6px}
.igny8-search-input{width:200px;padding:6px 10px;border:1px solid var(--igny8-stroke);border-radius:4px;font-size:14px}
.igny8-filter-actions{display:flex;align-items:center;gap:8px}

/* === 8. Dropdowns === */
.select{position:relative;min-width:120px}
.select-btn{display:flex;align-items:center;justify-content:space-between;width:100%;padding:6px 10px;font-size:13px;background:#fff;border:1px solid var(--igny8-stroke);border-radius:4px;cursor:pointer;box-shadow: 0 2px 6px 3px rgba(0, 0, 0, .08);color:var(--text);font-weight:500}
.select-list{display:none;position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid var(--igny8-stroke);border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.08);z-index:999999;max-height:200px;overflow-y:auto}
.select-item{padding:6px 10px;font-size:14px;cursor:pointer;border-bottom:1px solid #f1f5f9}
.select-item:last-child{border-bottom:none}
.select-item:hover{background:#f1f5f9}
.select.open .select-list {display:block;}
.select-arrow {font-size: 10px}
.igny8-table-actions{display:flex;align-items:center;gap:8px;justify-content: space-between;    margin-bottom: 10px;}

/* === 15. Icon Buttons === */

.igny8-icon-only{background:none;border:none;padding:0;margin:0 4px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:opacity .2s}
.igny8-icon-only svg{width:18px;height:18px}
.igny8-icon-edit svg{color:var(--blue,#3b82f6)}
.igny8-icon-save svg {color: #fff;}
.igny8-icon-save {background-color: var(--success, #10b981);}
.igny8-icon-cancel svg {color: #fff;}
.igny8-icon-cancel {background-color: var(--text-dim, #64748b);}
.igny8-icon-edit:hover svg{color:var(--text-dim)}
.igny8-icon-delete svg{color:#ef4444}
.igny8-icon-delete:hover svg{color:#dc2626}
.igny8-icon-save{background:var(--green,#10b981);color:#fff;border-radius:8px;padding:0px;transition:background .2s}
.igny8-icon-save:hover{background:var(--green-dark,#059669)}
.igny8-icon-cancel{background:var(--text-dim,#64748b);color:#fff;border-radius:8px;padding:0px;transition:background .2s}
.igny8-icon-cancel:hover{background:var(--text,#0f172a)}
.igny8-icon-play svg{color:var(--blue,#3b82f6)}
.igny8-icon-play:hover svg{color:var(--text-dim)}
.igny8-icon-external svg{color:var(--text-dim,#64748b)}
.igny8-icon-external:hover svg{color:var(--blue,#3b82f6)}
.igny8-actions{white-space:nowrap}

.igny8-page-title {display: flex;flex-direction: row;justify-content: space-around;align-items: center;flex-wrap: wrap;}
.igny8-sidebar-logo h2 {color: #b8d3ff;font-size: 1.3em;margin: 10px 0;font-weight: 900}

/* ---------- GRID LAYOUTS ---------- */

.igny8-grid { display: grid; gap: 20px; }
.igny8-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.igny8-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin:50px 0;}
.igny8-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }


.igny8-module-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;margin:24px 0;}
.igny8-dashboard-cards,.igny8-grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px;margin:5px;}

.igny8-grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin-bottom:24px;}



.igny8-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 18px; box-shadow: 0 2px 6px rgba(0,0,0,0.10), 0 4px 10px rgba(13,27,42,0.06); transition: box-shadow .25s ease, transform .2s ease; height: auto; display: flex; flex-direction: column; }
.igny8-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.14), 0 8px 20px rgba(13,27,42,0.10); }
.igny8-card-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; background:linear-gradient(90deg,var(--blue) 0%,var(--blue-dark) 100%); color:#fff; padding:12px 16px; border-radius:var(--radius) var(--radius) 0 0; margin:-10px -10px 12px -10px; }
.igny8-card-title { font:600 15px/1.4 'Inter',system-ui,sans-serif; margin:10px; color: #fff; display: flex;justify-content: space-between;}
.igny8-card-body { font:400 14px/1.55 'Inter',system-ui,sans-serif; color:var(--text); flex: 1; }


.igny8-help-text { font-size:13px; color:var(--text-dim); margin-top:6px; }
.igny8-status-badge { font-size:12px; font-weight:500; border-radius:4px; padding:2px 6px; line-height:1.2; }
.igny8-status-badge.mapped { background:#d1fae5; color:#065f46; }
.igny8-status-badge.unmapped { background:#fee2e2; color:#991b1b; }
.igny8-status-ok { color:var(--green); font-weight:500; }
.igny8-form-row { margin-bottom:18px; }
.igny8-form-row label { font-weight:500; font-size:14px; display:block; margin-bottom:6px; }
.igny8-form-row input[type="text"], .igny8-form-row select, .igny8-form-row textarea { width:100%; padding:8px 12px; font-size:14px; border:1px solid var(--stroke); border-radius:var(--radius); background:#fff; transition:border .2s, box-shadow .2s; }
.igny8-form-row input:focus, .igny8-form-row select:focus, .igny8-form-row textarea:focus { border-color:var(--blue); box-shadow:0 0 0 2px rgba(59,130,246,.18); outline:none; }
.igny8-radio-group, .igny8-checkbox-group { display:flex; flex-wrap:wrap; gap:16px; }
.igny8-radio-option, .igny8-checkbox-option { display:flex; align-items:center; gap:6px; font-size:14px; cursor:pointer; }
.igny8-toggle-switch { position:relative; width:42px; height:22px; display:inline-block; }
.igny8-toggle-switch input { opacity:0; width:0; height:0; }
.igny8-toggle-slider { position:absolute; cursor:pointer; top:0; left:0; right:0; bottom:0; background:#cbd5e1; border-radius:22px; transition:background .3s; }
.igny8-toggle-slider:before { content:""; position:absolute; height:18px; width:18px; left:2px; bottom:2px; background:#fff; border-radius:50%; transition:transform .3s, box-shadow .3s; box-shadow:0 1px 2px rgba(0,0,0,0.3); }
.igny8-toggle-switch input:checked + .igny8-toggle-slider { background:var(--blue); }
.igny8-toggle-switch input:checked + .igny8-toggle-slider:before { transform:translateX(20px); }
.igny8-table-compact th, .igny8-table-compact td { padding:6px 8px; font-size:13px; }
.igny8-flex { display:flex; gap: 20px}
.igny8-ml-auto { margin-left:auto; }
.igny8-pad-5 { padding:5px; }
.igny8-mb-20 { margin-bottom:20px; }
@media (max-width:1024px) { .igny8-grid-3 { grid-template-columns:repeat(2, minmax(0, 1fr)); } .igny8-grid-4 { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:768px) { .igny8-grid-2, .igny8-grid-3, .igny8-grid-4 { grid-template-columns:1fr; } }

/* ---------- THEME ADD-ONS ---------- */
/* Gradient helpers */

/* ---------- GLOBAL ELEMENTS ---------- */
.igny8-content h1,.igny8-settings h2,.igny8-welcome-section h2{font:700 22px/1.3 'Inter',system-ui,sans-serif;color:var(--navy-bg);margin-bottom:16px;}
.igny8-content p,.igny8-settings-section p,.igny8-welcome-text{font-size:14px;color:var(--text-dim);}
.igny8-settings-section h3,.igny8-card h3{font:600 16px/1.3 'Inter',system-ui,sans-serif;margin-bottom:12px;color:var(--blue-dark);}
.igny8-help-text{font-size:12px;color:var(--text-dim);margin-top:8px;}

/* ---------- SUBHEADER ---------- */
.igny8-submenu-buttons a{font-size:13px;padding:6px 16px;border-radius:var(--radius);background:var(--blue);color:#fff;font-weight:500;border:none;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:all .2s ease;}
.igny8-submenu-buttons a:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.2);}
.igny8-submenu-buttons a.active{background:var(--green);}


/* ---------- CARDS ---------- */
.igny8-card,.igny8-module-card{margin: 15px 0;border:1px solid var(--stroke);background:var(--panel);border-radius:var(--radius);padding:10px;box-shadow:0 2px 6px rgba(0,0,0,.08),0 4px 10px rgba(13,27,42,.06);transition:all .25s ease;    width: 100%;}
.igny8-card:hover,.igny8-module-card:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.12),0 8px 22px rgba(13,27,42,.10);}
.igny8-card-header{border-bottom:1px solid var(--stroke);padding-bottom:6px;margin-bottom:12px;}
h3,h4,h5,h6,igny8-card-title,.igny8-card-header h3{margin:0;font:600 16px/1.4 'Inter',system-ui,sans-serif;color:var(--blue-dark);}
.igny8-card-body{font-size:14px;color:var(--text);padding: 5px 15px;}
.igny8-card-actions{margin-top:12px;display:flex;gap:12px;}

/* ---------- MODULE CARD HEADER ACCENTS ---------- */
.igny8-module-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:6px;border-bottom:1px solid var(--stroke);}
.igny8-module-header h4{font:600 16px/1.3 'Inter',system-ui,sans-serif;margin:0;color:var(--navy-bg);}
.igny8-module-card:nth-child(1) .igny8-module-header h4{border-left:3px solid var(--blue);padding-left:6px;}
.igny8-module-card:nth-child(2) .igny8-module-header h4{border-left:3px solid var(--amber-dark);padding-left:6px;}
.igny8-module-card:nth-child(3) .igny8-module-header h4{border-left:3px solid var(--green);padding-left:6px;}
.igny8-module-card:nth-child(4) .igny8-module-header h4{border-left:3px solid var(--blue-dark);padding-left:6px;}
.igny8-module-card:nth-child(5) .igny8-module-header h4{border-left:3px solid var(--amber-dark);padding-left:6px;}
.igny8-module-card:nth-child(6) .igny8-module-header h4{border-left:3px solid var(--green-dark);padding-left:6px;}
.igny8-module-card:nth-child(7) .igny8-module-header h4{border-left:3px solid var(--blue);padding-left:6px;}
.igny8-module-icon{background:rgba(59,130,246,0.08);padding:8px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.igny8-module-description p{font-size:14px;color:var(--text-dim);line-height:1.5;margin-bottom:12px;}

/* ---------- FORM ELEMENTS ---------- */
.igny8-form-row{margin-bottom:16px;}
.igny8-form-row label{font:600 13px/1.4 'Inter',system-ui,sans-serif;margin-bottom:5px;display:block;color:var(--navy-bg);}
.igny8-form-row input[type="text"],.igny8-form-row textarea,.igny8-form-row select{width:100%;padding:7px 12px;font-size:14px;border:1px solid var(--stroke);border-radius:var(--radius);transition:border .2s,box-shadow .2s;}
.igny8-form-row input:focus,.igny8-form-row textarea:focus,.igny8-form-row select:focus{border-color:var(--blue);box-shadow:0 0 0 2px rgba(59,130,246,.18);outline:none;}
.igny8-radio-group,.igny8-checkbox-group{display:flex;flex-wrap:wrap;gap:14px;}
.igny8-radio-option,.igny8-checkbox-option{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer;}
.igny8-radio-option input:checked+label{color:var(--blue-dark);font-weight:600;}
.igny8-checkbox-option input:checked+label{color:var(--green-dark);font-weight:600;}
.igny8-form-row textarea[name*="prompt"]{border-left:3px solid var(--amber-dark);}
.igny8-form-row select[name*="style"]{border-left:3px solid var(--green);}
.igny8-form-row input[type="text"]:focus{border-color:var(--blue-dark);}
/*textarea[name*="prompt"]{border-left:3px solid var(--amber-dark);}*/
.igny8-textarea-orange {border-left: 3px solid var(--amber-dark);}
.igny8-textarea-green {border-left: 3px solid var(--green);}
.igny8-textarea-blue {border-left: 3px solid var(--blue);}


/* ---------- TABLES ---------- */
.igny8-table-wrapper table,.igny8-table{width:100%;border-collapse:collapse;font-size:13px;}
.igny8-table-wrapper th,.igny8-table-wrapper td,.igny8-table th,.igny8-table td{border:1px solid var(--stroke);padding:6px 8px;text-align:left;}
.igny8-table-wrapper thead{background:var(--panel-2);}
.igny8-table-wrapper th,.igny8-table th{color:var(--navy-bg);font-weight:600;}
.igny8-table thead{background:var(--navy-bg);color:#fff;}
.igny8-table td code{color:var(--blue-dark);}
.igny8-status-ok{color:var(--green-dark);font-weight:500;}

/* ---------- BUTTONS ---------- */
.igny8-btn,.button.button-primary,#submit.button-primary{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;font-size:12px;font-weight:500;border-radius:var(--radius);cursor:pointer;transition:all .25s ease;text-decoration:none;box-shadow:0 2px 6px rgba(0,0,0,.15);}
.igny8-btn-primary{background:var(--blue);color:#fff;border:none;}
.igny8-btn-primary:hover{background:var(--blue-dark);transform:translateY(-1px);color: #fff;}
.igny8-btn-outline{background:transparent;border:1px solid var(--stroke);color:var(--text);}
.igny8-btn-outline:hover{background:var(--blue);color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.15);}
.igny8-btn-danger{background:var(--red-dark);color:#fff;}
.igny8-btn-danger:hover{opacity:.9;}
#igny8-export-btn{border-color:var(--blue);color:var(--blue);}
#igny8-export-btn:hover{background:var(--blue);color:#fff;}
#igny8-import-btn{border-color:var(--green);color:var(--green);}
#igny8-import-btn:hover{background:var(--green);color:#fff;}
.button.button-primary,#submit.button-primary{background:var(--green);border:none;color:#fff;}
#submit.button-primary:hover{background:var(--green-dark);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.2);}

/* ---------- TOGGLE SWITCH ---------- */
/* Toggle switch styles are defined above at lines 230-235 */

/* ---------- ALERT NOTICES ---------- */
.notice-error{border-left:4px solid var(--red-dark)!important;background:rgba(185,28,28,0.05);}
.notice-warning{border-left:4px solid var(--amber-dark)!important;background:rgba(217,119,6,0.05);}
.notice p{font-size:13px;}

/* ---------- DASHBOARD QUICK STATS ---------- */
.igny8-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:16px;}
.igny8-stat{text-align:center;background:var(--panel-2);padding:10px;border-radius:var(--radius);box-shadow:inset 0 1px 2px rgba(0,0,0,.05);}
.igny8-stat-number{display:block;font:600 18px/1.2 'Inter',system-ui,sans-serif;color:var(--blue-dark);}
.igny8-stat-label{font-size:13px;color:var(--text-dim);}

/* ---------- DASHBOARD ACTIVITY ---------- */
.igny8-activity-list{display:flex;flex-direction:column;gap:8px;}
.igny8-activity-item{display:flex;justify-content:space-between;padding:6px 10px;background:var(--panel-2);border-radius:var(--radius);}
.igny8-activity-time{font-size:13px;color:var(--amber-dark);font-weight:500;}
.igny8-activity-desc{font-size:13px;color:var(--text);}



/* ---------- MODAL CORE ---------- */
.igny8-modal-content{background:var(--panel);border-radius:var(--radius);width:420px;max-width:90%;margin:auto;padding:0;box-shadow:0 8px 24px rgba(0,0,0,.22),0 12px 32px rgba(13,27,42,.18);font-family:'Inter',system-ui,sans-serif;animation:fadeInScale .25s ease;}
@keyframes fadeInScale{0%{opacity:0;transform:scale(.96);}100%{opacity:1;transform:scale(1);}}

/* ---------- HEADER ---------- */
.igny8-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--stroke);background:linear-gradient(90deg,var(--panel-2) 0%,#fff 100%);}
.igny8-modal-header h3{margin:0;font:600 16px/1.3 'Inter',system-ui,sans-serif;color:var(--blue-dark);}
.igny8-btn-close{background:transparent;border:none;font-size:20px;line-height:1;color:var(--text-dim);cursor:pointer;transition:color .2s;}
.igny8-btn-close:hover{color:var(--red-dark);}

/* ---------- BODY ---------- */
.igny8-modal-body{padding:16px 18px;font-size:14px;color:var(--text);}
.igny8-modal-body p{margin-bottom:10px;}
.igny8-modal-body strong{font-weight:600;color:var(--navy-bg);}
.igny8-modal-body ul{margin:6px 0 0 18px;padding:0;font-size:13px;color:var(--text-dim);line-height:1.4;}
.igny8-modal-body ul li{list-style:disc;}
.igny8-text-danger{color:var(--red-dark);font-weight:500;margin-top:10px;}

/* ---------- FOOTER ---------- */
.igny8-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid var(--stroke);background:var(--panel-2);}
.igny8-btn-secondary{background:var(--text-dim);color:#fff;padding:6px 14px;font-size:13px;border:none;border-radius:var(--radius);cursor:pointer;transition:all .25s ease;box-shadow:0 2px 5px rgba(0,0,0,.15);}
.igny8-btn-secondary:hover{background:#475569;transform:translateY(-1px);}
.igny8-btn-danger{background:var(--red-dark);color:#fff;padding:6px 14px;font-size:13px;border:none;border-radius:var(--radius);cursor:pointer;transition:all .25s ease;box-shadow:0 2px 5px rgba(0,0,0,.15);}
.igny8-btn-danger:hover{background:#991b1b;transform:translateY(-1px);}

/* Automation UI Components */
.igny8-automation-table {
    margin-top: 16px;
}

.igny8-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.igny8-status-success {
    background: var(--green);
    color: white;
}

.igny8-status-disabled {
    background: var(--text-dim);
    color: white;
}

.igny8-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.igny8-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.igny8-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--text-dim);
    border-radius: 24px;
    transition: 0.3s;
}

.igny8-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.igny8-toggle input:checked + .igny8-toggle-slider {
    background: var(--green);
}

.igny8-toggle input:checked + .igny8-toggle-slider:before {
    transform: translateX(20px);
}

/* Mode Toggle Row */
.igny8-mode-toggle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.igny8-mode-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.igny8-mode-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Cron Schedule Modal */
.igny8-cron-config {
    margin: 20px 0;
}

.igny8-cron-item {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--panel-2);
}

.igny8-cron-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.igny8-cron-status {
    font-size: 12px;
    font-weight: 500;
}

.igny8-cron-url {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--panel);
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
}

.igny8-cron-url code {
    flex: 1;
    background: none;
    color: var(--blue);
    font-size: 13px;
    word-break: break-all;
}

.igny8-btn-copy {
    background: var(--blue);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.igny8-btn-copy:hover {
    background: var(--blue-dark);
}

.igny8-cron-info {
    margin-top: 24px;
    padding: 16px;
    background: var(--panel-2);
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
}

.igny8-cron-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--text);
}

.igny8-cron-info code {
    background: var(--panel);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--blue);
}

.igny8-sidebar-divider {border-bottom: 1px solid rgba(255, 255, 255, .1);margin: 10px 0}

.igny8-pad-sm { padding: 5px; }
.igny8-pad-md { padding: 10px; }
.igny8-pad-lg { padding: 20px; }
.igny8-pad-xl { padding: 30px; }


td.igny8-col-actions button.igny8-btn.igny8-btn-success.igny8-btn-sm, td.igny8-col-actions button.igny8-btn.igny8-btn-danger.igny8-btn-sm {padding: 4px;}
th.igny8-col-actions {min-width:150px;}
td.igny8-col-actions {text-align: center;}

/* === UI LAYER COMPONENTS === */

/* Page Layout Components */
.igny8-main-content { flex: 1; display: flex; flex-direction: column; }
.igny8-header { padding: 10px 0; border-bottom: 1px solid var(--stroke)}
.igny8-header h1 { font-size: 24px; font-weight: 600; color: #fff; margin: 0; }

/* Module Header */
.igny8-module-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.igny8-module-info h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px 0; }
.igny8-module-description { color: var(--text-dim); font-size: 14px; margin: 0; }
.igny8-module-kpis { display: flex; gap: 20px; }
.igny8-kpi-item { text-align: center; }
.igny8-kpi-value { display: block; font-size: 24px; font-weight: 700; color: var(--blue); }
.igny8-kpi-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; }

/* Submodule Navigation */
.igny8-submodule-nav { margin-bottom: 20px; }
.igny8-submodule-tabs { display: flex; list-style: none; border-bottom: 1px solid var(--stroke); }
.igny8-submodule-tab { margin-right: 2px; }
.igny8-submodule-tab a { display: block; padding: 12px 16px; color: var(--text-dim); border-bottom: 2px solid transparent; transition: all 0.2s; }
.igny8-submodule-tab.active a, .igny8-submodule-tab a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Submodule Header */
.igny8-submodule-header { margin-bottom: 20px; }
.igny8-back-link { margin-bottom: 12px; }
.igny8-btn-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 14px; }
.igny8-btn-back:hover { color: var(--blue); }
.igny8-submodule-title { font-size: 18px; font-weight: 600; margin: 0 0 8px 0; }
.igny8-submodule-description { color: var(--text-dim); font-size: 14px; margin: 0; }

/* Filters Bar */
.igny8-filters-bar { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.igny8-filters-row { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; }
.igny8-filter-item { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.igny8-filter-label { font-size: 12px; font-weight: 500; color: var(--text); }
.igny8-filter-search, .igny8-filter-text, .igny8-filter-select, .igny8-filter-date { padding: 8px 12px; border: 1px solid var(--stroke); border-radius: var(--radius); font-size: 14px; }
.igny8-search-wrapper { position: relative; }
.igny8-search-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--text-dim); }
.igny8-filter-actions { display: flex; gap: 8px; }

/* Table Actions */
.igny8-table-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.igny8-actions-primary, .igny8-actions-secondary { display: flex; gap: 8px; }
.igny8-bulk-actions { display: flex; align-items: center; gap: 12px; }
.igny8-bulk-select-all { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.igny8-bulk-action-select { padding: 6px 10px; border: 1px solid var(--stroke); border-radius: var(--radius); }
.igny8-bulk-count { font-size: 12px; color: var(--text-dim); }

/* Table */
.igny8-table-wrapper { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; }
.igny8-table { width: 100%; border-collapse: collapse; }
.igny8-table th, .igny8-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--stroke); }
.igny8-table th { background: var(--panel-2); font-weight: 600; font-size: 13px; }
.igny8-table tbody tr:hover { background: var(--panel-2); }
.igny8-sortable-link { color: inherit; display: flex; align-items: center; gap: 4px; }
.igny8-sortable-link:hover { color: var(--blue); }
td.igny8-align-center, .igny8-align-center { text-align: center; }
.igny8-align-right { text-align: right; }
.igny8-empty-cell { text-align: center; color: var(--text-dim); font-style: italic; padding: 40px; }

/* Row Actions */
.igny8-row-actions { display: flex; gap: 8px; align-items: center; }
.igny8-action-separator { color: var(--text-dim); }

/* Badges */
.igny8-badge { padding: 4px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: capitalize; }
.igny8-badge-default { background: rgba(103, 112, 109, 0.1); color: var(--text); }
.igny8-badge-success { background: rgba(16,185,129,0.1); color: var(--green-dark); }
.igny8-badge-info { background: rgba(59,130,246,0.1); color: var(--blue-dark); }
.igny8-badge-warning { background: rgba(245,158,11,0.1); color: var(--amber-dark); }
.igny8-badge-danger { background: rgba(239,68,68,0.1); color: var(--red-dark); }
.igny8-badge-secondary { background: rgba(100,116,139,0.1); color: var(--text-dim); }
.igny8-badge-dark-red { background: rgba(220,38,38,0.1); color: #dc2626; }

/* Pagination */
.igny8-pagination-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: var(--panel-2); }
.igny8-pagination-info { font-size: 14px; color: var(--text-dim); }
.igny8-pagination-list { display: flex; list-style: none; gap: 4px; }
.igny8-pagination-btn { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border: 1px solid var(--stroke); background: var(--panel); color: var(--text); border-radius: var(--radius); font-size: 14px; transition: all 0.2s; }
.igny8-pagination-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }
.igny8-btn-current { background: var(--blue); color: white; border-color: var(--blue); }
.igny8-per-page-selector { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* Forms */
.igny8-form-wrapper { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 20px; }
.igny8-form-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.igny8-form-fields { display: flex; flex-direction: column; gap: 16px; }

/* Hidden elements - no inline styles */
.igny8-count-hidden { display: none; }
/* Legacy notification hidden class - now handled by unified system */

/* Module cards grid */
.igny8-module-cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin: 20px 0; 
}
.igny8-form-field { display: flex; flex-direction: column; gap: 6px; }
.igny8-field-label { font-size: 14px; font-weight: 500; color: var(--text); }
.igny8-required { color: var(--red-dark); }
.igny8-input, .igny8-textarea, .igny8-select { padding: 10px 12px; border: 1px solid var(--stroke); border-radius: var(--radius); font-size: 14px; }
.igny8-input:focus, .igny8-textarea:focus, .igny8-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(59,130,246,0.1); }
.igny8-field-description { font-size: 12px; color: var(--text-dim); }
.igny8-form-actions { display: flex; gap: 12px; margin-top: 20px; }


/* Layout Helpers */
.igny8-submodule-layout { display: flex; flex-direction: column}


/*Styled Select Components (matching existing select styles) */
.igny8-styled-select { position: relative; min-width: 120px; }
.igny8-styled-select-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 6px 10px; font-size: 14px; background: #fff; border: 1px solid var(--igny8-stroke); border-radius: 4px; cursor: pointer; box-shadow: 0 2px 6px 3px rgba(0, 0, 0, .08); }
.igny8-styled-select-options { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid var(--igny8-stroke); border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.08); z-index: 999999; max-height: 200px; overflow-y: auto; }
.igny8-styled-select-item { padding: 6px 10px; font-size: 14px; cursor: pointer; border-bottom: 1px solid #f1f5f9; }
.igny8-styled-select-item:last-child { border-bottom: none; }
.igny8-styled-select-item:hover { background: #f1f5f9; }

.dd-arrow { font-size: 10px; margin-left: 10px; }
.igny8-input-sm { width: 100%; padding: 6px 8px; font-size: 13px; border: 1px solid var(--igny8-stroke); border-radius: 4px; background: #fff; box-sizing: border-box; }
.igny8-text-sm { font-size: 13px; }
.igny8-mb-5 { margin-bottom: 5px; }
.igny8-text-muted { color: var(--text-dim); }
.igny8-p-5 { padding: 5px 10px !important; }
.igny8-text-xs { font-size: 12px !important; }
.igny8-flex { display: flex; }
.igny8-flex-gap-10 { gap: 10px; }
.igny8-styled-select-options { min-width: 250px; padding: 12px; box-sizing: border-box; }
.igny8-dropdown-panel { pointer-events: auto; }
.igny8-dropdown-panel input, .igny8-dropdown-panel button { pointer-events: auto; }
/* Legacy planner notification - now handled by unified system */

/* === CHARTS SYSTEM === */
/* === 14. Charts & Metrics=== */


/* Header Metrics Container - 2 Row Layout */
.igny8-header .metrics-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px; 
    margin: 0;
    height: 100%;
    max-width: 600px;
}

/* Header Metric Cards - Clean Modern Design */
.igny8-header .igny8-metric-card { 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px; 
    padding: 6px 8px; 
    text-align: center; 
    transition: all 0.2s ease; 
    cursor: default; 
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 32px;
}

.igny8-header .igny8-metric-card:hover { 
    background: rgba(255, 255, 255, 0.12); 
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.igny8-header .igny8-metric-card.blue { 
    border-top: 2px solid var(--blue);
}

.igny8-header .igny8-metric-card.green { 
    border-top: 2px solid var(--green);
}

.igny8-header .igny8-metric-card.amber { 
    border-top: 2px solid var(--amber);
}

.igny8-header .igny8-metric-card.purple { 
    border-top: 2px solid var(--purple);
}

.igny8-header .igny8-metric-card.orange { 
    border-top: 2px solid var(--amber);
}

.igny8-header .igny8-metric-card.red { 
    border-top: 2px solid var(--red-dark);
}

.igny8-header .igny8-metric-card.gray { 
    border-top: 2px solid #6b7280;
}

.igny8-header .igny8-metric-number { 
    font-size: 14px; 
    font-weight: 700; 
    margin: 0;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    line-height: 1;
}

.igny8-header .igny8-metric-label { 
    font-size: 9px; 
    font-weight: 500; 
    margin: 1px 0 0 0;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
}



/* ===================================================================
   STATUS CIRCLE STYLES FOR SYSTEM SUMMARY
   =================================================================== */

.bg-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
    color: white;
    cursor: help;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.bg-circle:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.bg-success {
    background-color: var(--green);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.bg-error {
    background-color: var(--red);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.bg-success:hover {
    background-color: var(--green-dark);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.bg-error:hover {
    background-color: var(--red-dark);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* ===================================================================
   RADIO BUTTON STYLES FOR DEBUG SETTINGS
   =================================================================== */

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #d0d1d3;
    border-radius: 50%;
    background-color: var(--panel);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

input[type="radio"]:hover {
    border-color: var(--blue);
}

input[type="radio"]:checked {
    border-color: var(--blue);
    background-color: var(--blue);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
}

input[type="radio"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bg-circle {width: 50px;height: 50px;border-radius: 50%;}
.bg-circle-sm {width: 18px;height: 18px;border-radius: 50%;}
.bg-success {background: var(--green);}
.bg-danger,.bg-error {background: var(--red-dark);}
.bg-warning,.bg-amber {background: var(--amber);}
.bg-info {background: var(--blue);}
.bg-secondary {background: var(--text-dim);}


.igny8-form-group, .igny8-radio-group {padding: 5px 0}
.igny8-radio-group {margin: 0 15px}
/* ===================================================================
   SYSTEM-WIDE DEBUG TABLE STYLES
   =================================================================== */

/* =========================================
   Planner Settings Styles
   ========================================= */
   .igny8-metrics-compact {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 6px 15px;
    padding: 4px 6px;
    background: #526e8d3b;
    border-radius: 8px;
    width: fit-content;
    float: right;
}
  
  .metric {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    min-width: 90px;
    transition: 0.15s ease-in-out;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    justify-content: space-between;
  }
  
  .metric:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
  }
  
  .metric .val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
  }
  
  .metric .lbl {
    font-size: 10px;
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
  }
  
  /* Color Variants */
  .metric.green  { border-left-color: var(--green, #00c985); }
  .metric.amber  { border-left-color: var(--amber, #f39c12); }
  .metric.purple { border-left-color: var(--purple, #9b59b6); }
  .metric.blue   { border-left-color: var(--blue, #3498db); }
  .metric.teal   { border-left-color: var(--teal, #1abc9c); }

/* === DASHBOARD OVERVIEW STYLES === */

/* Dashboard Sections */
.igny8-dashboard-section {
    margin-bottom: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Progress Bar Styles */
.igny8-progress-item {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--stroke);
}

.igny8-progress-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.igny8-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.igny8-progress-label {
    font: 500 14px/1.4 'Inter', system-ui, sans-serif;
    color: var(--text);
}

.igny8-progress-percent {
    font: 600 14px/1.4 'Inter', system-ui, sans-serif;
    color: var(--blue-dark);
}

.igny8-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--panel-2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.igny8-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.igny8-progress-blue {
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.igny8-progress-green {
    background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
}

.igny8-progress-amber {
    background: linear-gradient(90deg, var(--amber) 0%, var(--amber-dark) 100%);
}

.igny8-progress-purple {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

.igny8-progress-text-dim {
    background: linear-gradient(90deg, var(--text-dim) 0%, #64748b 100%);
}

.igny8-progress-red {
    background: linear-gradient(90deg, #e53e3e 0%, #c53030 100%);
}

.igny8-progress-details {
    font: 400 12px/1.4 'Inter', system-ui, sans-serif;
    color: var(--text-dim);
}

/* Status Cards */
.igny8-status-cards {
    gap: 20px;
}

.igny8-status-card {
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: var(--panel);
}

.igny8-status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15), 0 12px 28px rgba(13,27,42,0.12);
}

/* Colored Status Card Variants */
.igny8-status-blue {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
}

.igny8-status-green {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: white;
}

.igny8-status-amber {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
    color: white;
}

.igny8-clickable-card {
    cursor: pointer;
}

.igny8-status-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.igny8-status-count {
    font: 700 28px/1.2 'Inter', system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.igny8-status-label {
    font: 500 13px/1.3 'Inter', system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.igny8-status-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.7;
}

.igny8-status-card .igny8-card-body {
    position: relative;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Next Actions Panel */
.igny8-next-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.igny8-action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--panel-2);
    border-radius: 6px;
    border-left: 3px solid var(--blue);
    transition: all 0.2s ease;
}

.igny8-action-item:hover {
    background: #f8fafc;
    border-left-color: var(--blue-dark);
}

.igny8-action-item.igny8-action-complete {
    border-left-color: var(--green);
    background: #f0fdf4;
}

.igny8-action-text {
    font: 500 14px/1.4 'Inter', system-ui, sans-serif;
    color: var(--text);
}

.igny8-action-status {
    font: 500 13px/1.4 'Inter', system-ui, sans-serif;
    color: var(--green);
}

.igny8-btn-text {
    background: none;
    border: none;
    color: var(--blue);
    font: 500 13px/1.4 'Inter', system-ui, sans-serif;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.igny8-btn-text:hover {
    background: var(--blue);
    color: white;
    text-decoration: none;
}

/* Info Box Styles */
.igny8-info-box {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
}

.igny8-info-box p {
    margin: 0 0 12px 0;
    color: #555;
}

.igny8-info-box p:last-child {
    margin-bottom: 0;
}

/* ===================================================================
   UNIFIED NOTIFICATION SYSTEM
   =================================================================== */

/* Single Global Notification Container */
#igny8-global-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    transform: translateX(0);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    display: none;
}

/* Notification Type Styles */
#igny8-global-notification.success {
    background: var(--green);
    border-left: 4px solid var(--green-dark);
}

#igny8-global-notification.error {
    background: var(--red-dark);
    border-left: 4px solid #b91c1c;
}

#igny8-global-notification.warning {
    background: var(--amber);
    border-left: 4px solid var(--amber-dark);
}

#igny8-global-notification.info {
    background: var(--blue);
    border-left: 4px solid var(--blue-dark);
}

/* Animation States */
#igny8-global-notification.show {
    display: block !important;
    animation: slideInRight 0.3s ease-out;
    opacity: 1;
    visibility: visible;
}

#igny8-global-notification.hide {
    animation: slideOutRight 0.3s ease-in;
    opacity: 0;
    visibility: hidden;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Hover Effects */
#igny8-global-notification:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Textarea Color Variants */
.igny8-textarea-green {
    border-left: 3px solid var(--green);
}

.igny8-textarea-orange {
    border-left: 3px solid var(--amber);
}

.igny8-textarea-blue {
    border-left: 3px solid var(--blue);
}

.igny8-textarea-purple {
    border-left: 3px solid var(--purple);
}

.igny8-textarea-teal {
    border-left: 3px solid var(--teal);
}

.igny8-textarea-indigo {
    border-left: 3px solid var(--indigo);
}

/* Recent Activity Styles */
.igny8-recent-activity {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.igny8-list-item {
    padding: 12px;
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--panel);
    transition: all 0.2s ease;
}

.igny8-list-item:hover {
    border-color: var(--blue);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.igny8-item-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.igny8-item-title a {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}

.igny8-item-title a:hover {
    color: var(--blue);
}

.igny8-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.igny8-item-cluster {
    color: var(--text-muted);
}

.igny8-item-date {
    color: var(--text-muted);
}

.igny8-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.igny8-empty-state p {
    margin-bottom: 16px;
}

/* Content Types and Publishing Stats */
.igny8-content-types, .igny8-publishing-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.igny8-type-item, .igny8-stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.igny8-type-info, .igny8-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.igny8-type-name, .igny8-stat-label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.igny8-type-count, .igny8-stat-count {
    font-weight: 700;
    color: var(--blue);
    font-size: 16px;
}

.igny8-type-bar, .igny8-stat-bar {
    height: 6px;
    background: var(--stroke);
    border-radius: 3px;
    overflow: hidden;
}

.igny8-type-progress, .igny8-stat-progress {
    height: 100%;
    background: var(--blue);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.igny8-stat-progress.igny8-progress-amber {
    background: var(--amber);
}

.igny8-stat-progress.igny8-progress-green {
    background: var(--green);
}

.igny8-stat-progress.igny8-progress-purple {
    background: var(--purple);
}

/* Enhanced Analytics Cards */
.igny8-equal-height {
    align-items: stretch;
}

.igny8-analytics-card .igny8-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.igny8-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--stroke);
}

.igny8-card-header-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.igny8-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.igny8-card-title-text h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.igny8-card-subtitle {
    margin: 0;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 400;
}

.igny8-card-subtitle.igny8-centered {
    text-align: center;
}

/* Standard Dashboard Card Headers */
.igny8-standard-header {
    background: #fff !important;
    border-bottom: 2px solid var(--blue) !important;
    margin-bottom: 16px !important;
    padding: 16px !important;
    border-radius: 0 !important;
}

.igny8-standard-header .igny8-card-title-text h3 {
    color: var(--navy-bg-2) !important;
    font-weight: 600 !important;
    font-size: 26px !important;
    margin: 0 0 4px 0 !important;
}

.igny8-standard-header .igny8-card-subtitle {
    color: var(--text-dim) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.igny8-standard-header .igny8-card-icon {
    background: rgba(59, 130, 246, 0.08) !important;
    border-radius: 8px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.igny8-standard-header .igny8-card-header-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* Dashboard Icon Styles */
.igny8-dashboard-icon-sm {
    color: rgba(255,255,255,0.7) !important;
    font-size: 24px !important;
}

.igny8-dashboard-icon-lg {
    font-size: 26px !important;
}

.igny8-dashboard-icon-blue {
    color: var(--blue) !important;
}

.igny8-dashboard-icon-amber {
    color: var(--amber) !important;
}

.igny8-dashboard-icon-green {
    color: var(--green) !important;
}

.igny8-dashboard-icon-purple {
    color: #8b5cf6 !important;
}

.igny8-dashboard-icon-dim {
    color: var(--text-dim) !important;
    font-size: 32px !important;
    margin-bottom: 12px !important;
}

.igny8-card-metric {
    text-align: right;
    flex-shrink: 0;
}

.igny8-metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.igny8-metric-label {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 2px;
}

.igny8-analytics-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.igny8-analytics-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.igny8-analytics-item.igny8-analytics-total {
    padding-top: 16px;
    border-top: 1px solid var(--stroke);
    margin-top: 8px;
}

.igny8-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.igny8-item-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.igny8-item-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
}

.igny8-item-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.igny8-progress-track {
    flex: 1;
    height: 6px;
    background: var(--stroke);
    border-radius: 3px;
    overflow: hidden;
}

.igny8-progress-percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    min-width: 32px;
    text-align: right;
}

.igny8-empty-analytics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-dim);
}

.igny8-empty-analytics p {
    margin: 12px 0 16px 0;
    font-size: 14px;
}

.igny8-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
  
.igny8-status-desc {
    font-size: 12px;
    color: #fff;
}

/* Step-by-Step UX Guide */
.igny8-step-guide {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 4px 10px rgba(13,27,42,0.06);
}

.igny8-step-guide-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.igny8-step-guide-header h3 {
    margin: 0;
    color: var(--blue-dark);
    font-size: 16px;
    font-weight: 600;
}

.igny8-step-guide-header .dashicons {
    margin-right: 8px;
    color: var(--blue);
}

.igny8-steps-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--stroke) transparent;
}

.igny8-steps-container::-webkit-scrollbar {
    height: 6px;
}

.igny8-steps-container::-webkit-scrollbar-track {
    background: transparent;
}

.igny8-steps-container::-webkit-scrollbar-thumb {
    background: var(--stroke);
    border-radius: 3px;
}

.igny8-step {
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 220px;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 15px;
    position: relative;
    transition: all 0.2s ease;
}

.igny8-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.igny8-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.igny8-step.completed .igny8-step-number {
    background: var(--green);
}

.igny8-step.current .igny8-step-number {
    background: var(--amber);
    color: var(--text);
}

.igny8-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.igny8-step-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.igny8-step-status-icon {
    font-size: 14px;
}

.igny8-step-status-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
}

.igny8-step.completed .igny8-step-status-text {
    color: var(--green-dark);
}

.igny8-step.current .igny8-step-status-text {
    color: var(--amber-dark);
}

.igny8-step.completed .igny8-step-status-icon {
    color: var(--green);
}

.igny8-step.current .igny8-step-status-icon {
    color: var(--amber);
}

.igny8-step-data {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 8px;
    line-height: 1.3;
}

.igny8-step-action {
    margin-top: 8px;
}

.igny8-step-action .igny8-btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
}

.igny8-step-connector {
    position: absolute;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 2px;
    background: var(--stroke);
    transform: translateY(-50%);
}

.igny8-step:last-child .igny8-step-connector {
    display: none;
}

.igny8-step.completed + .igny8-step .igny8-step-connector {
    background: var(--green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .igny8-step {
        min-width: 160px;
    }
    
    .igny8-steps-container {
        gap: 10px;
    }
}

/* System-Wide Workflow Guide */
.igny8-system-workflow {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 6px 16px rgba(13,27,42,0.06);
}

.igny8-system-workflow-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.igny8-system-workflow-header h2 {
    margin: 0;
    color: var(--blue-dark);
    font-size: 20px;
    font-weight: 700;
}

.igny8-system-workflow-header .dashicons {
    margin-right: 12px;
    color: var(--blue);
    font-size: 24px;
}

.igny8-system-workflow-subtitle {
    color: var(--text-dim);
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 0;
}

.igny8-system-steps-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--stroke) transparent;
    max-width: 1200px;
}

.igny8-system-steps-container::-webkit-scrollbar {
    height: 8px;
}

.igny8-system-steps-container::-webkit-scrollbar-track {
    background: transparent;
}

.igny8-system-steps-container::-webkit-scrollbar-thumb {
    background: var(--stroke);
    border-radius: 4px;
}

.igny8-system-step {
    flex: 0 0 auto;
    min-width: 160px;
    max-width: 180px;
    background: var(--bg);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.igny8-system-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: var(--blue);
}

.igny8-system-step.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.igny8-system-step.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--stroke);
}

.igny8-system-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.igny8-system-step.completed .igny8-system-step-number {
    background: var(--green);
}

.igny8-system-step.in_progress .igny8-system-step-number {
    background: var(--amber);
    color: var(--text);
}

.igny8-system-step.missing .igny8-system-step-number {
    background: var(--text-dim);
}

.igny8-system-step.disabled .igny8-system-step-number {
    background: var(--stroke);
    color: var(--text-dim);
}

.igny8-system-step-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.igny8-system-step-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.igny8-system-step-status-icon {
    font-size: 16px;
}

.igny8-system-step-status-text {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.igny8-system-step.completed .igny8-system-step-status-text {
    color: var(--green-dark);
}

.igny8-system-step.in_progress .igny8-system-step-status-text {
    color: var(--amber-dark);
}

.igny8-system-step.missing .igny8-system-step-status-text {
    color: var(--text-dim);
}

.igny8-system-step.completed .igny8-system-step-status-icon {
    color: var(--green);
}

.igny8-system-step.in_progress .igny8-system-step-status-icon {
    color: var(--amber);
}

.igny8-system-step.missing .igny8-system-step-status-icon {
    color: var(--text-dim);
}

.igny8-system-step-data {
    font-size: 10px;
    color: var(--text-dim);
    margin-bottom: 10px;
    line-height: 1.4;
}

.igny8-system-step-action {
    margin-top: 8px;
}

.igny8-system-step-action .igny8-btn {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    width: 100%;
    text-align: center;
}

.igny8-system-step-connector {
    position: absolute;
    top: 50%;
    right: -7px;
    width: 14px;
    height: 2px;
    background: var(--stroke);
    transform: translateY(-50%);
    z-index: 1;
}

.igny8-system-step:last-child .igny8-system-step-connector {
    display: none;
}

.igny8-system-step.completed + .igny8-system-step .igny8-system-step-connector {
    background: var(--green);
}

.igny8-system-step.in_progress + .igny8-system-step .igny8-system-step-connector {
    background: var(--amber);
}

/* System workflow responsive adjustments */
@media (max-width: 1200px) {
    .igny8-system-step {
        min-width: 140px;
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .igny8-system-step {
        min-width: 120px;
        max-width: 140px;
        padding: 12px;
    }
    
    .igny8-system-steps-container {
        gap: 8px;
    }
    
    .igny8-system-step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .igny8-system-step-title {
        font-size: 12px;
    }
}
.workflow-steps {
    display: flex;
}
/* === WORDPRESS ADMIN STYLES === */
/* Ensure WordPress admin styles are available for cron pages */
.wp-list-table {
    border: 1px solid #c3c4c7;
    border-spacing: 0;
    width: 100%;
    clear: both;
    margin: 0;
}

.wp-list-table.widefat {
    border-collapse: collapse;
}

.wp-list-table.fixed {
    table-layout: fixed;
}

.wp-list-table.striped tbody tr:nth-child(odd) {
    background-color: #f6f7f7;
}

.wp-list-table.striped tbody tr:nth-child(even) {
    background-color: #fff;
}

.wp-list-table th,
.wp-list-table td {
    border-bottom: 1px solid #c3c4c7;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.wp-list-table th {
    background-color: #f1f1f1;
    font-weight: 600;
    color: #1d2327;
}

.wp-list-table tbody tr:hover {
    background-color: #f0f6fc;
}






/* WordPress admin wrap styles */
.wrap {
    margin: 0 20px 0 2px;
}

.wrap h1 {
    margin: 0 0 20px;
    padding: 0;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    color: #1d2327;
}






/* WordPress admin notice styles */
.notice {
    background: #fff;
    border-left: 4px solid #fff;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    margin: 5px 15px 2px;
    padding: 1px 12px;
}

.notice.notice-success {
    border-left-color: #00a32a;
}

.notice p {
    margin: .5em 0;
    padding: 2px;
}

/* WordPress admin submit styles */
.submit {
    padding: 0;
    margin: 0;
}


.ai-integration, .new-content-status {
    border-right: 3px solid #ccc;
    margin-right: 25px;
    padding-right: 25px;
}
#igny8-ai-integration-form .igny8-form-group h4 {margin-bottom: 35px;}
.new-content-status  .igny8-form-group h4 {margin-bottom: 20px;}


.igny8-flex-row {
    display: flex;
    align-items: center;
    align-content: center;
    
}

/* Workflow section styling */
.igny8-workflow-section {
    margin-top: 30px;
}

.igny8-step-card {
    border-left: 4px solid #e5e7eb;
    transition: all 0.3s ease;
}

.igny8-step-card.completed {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.igny8-step-card.current {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.igny8-step-card.pending {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.igny8-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.igny8-step-number {
    background: #6b7280;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.igny8-step-card.completed .igny8-step-number {
    background: #10b981;
}

.igny8-step-card.current .igny8-step-number {
    background: #3b82f6;
}

.igny8-step-card.pending .igny8-step-number {
    background: #f59e0b;
}

.igny8-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.igny8-step-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.igny8-step-status-icon {
    font-size: 16px;
}

.igny8-step-status-text {
    font-size: 14px;
    font-weight: 500;
}

.igny8-step-card.completed .igny8-step-status-text {
    color: #10b981;
}

.igny8-step-card.current .igny8-step-status-text {
    color: #3b82f6;
}

.igny8-step-card.pending .igny8-step-status-text {
    color: #f59e0b;
}

.igny8-step-data {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.igny8-step-action {
    margin-top: 15px;
}

.igny8-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Card layout optimization for settings cards */
.igny8-flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.igny8-card-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.igny8-card-title-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.igny8-card-title-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.igny8-card-title-text .igny8-card-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.igny8-flex-row form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
    flex-direction: column;
    align-content: flex-end;
}

.igny8-form-group {display: flex;align-items: flex-start;gap: 5px;flex: 1;flex-direction: column;}

/* Editor Type Selection Styles */
.igny8-editor-option {
    display: block;
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.igny8-editor-option:hover {
    border-color: #0073aa;
    background-color: #f8f9fa;
}

.igny8-editor-option.selected {
    border-color: #0073aa;
    background-color: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.igny8-editor-option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.igny8-editor-option-content {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 30px);
}

.igny8-editor-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.igny8-editor-option-description {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.igny8-form-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: flex-end;
}

.igny8-card-body {
    padding: 20px;
}

.igny8-mode-toggle-label,
.igny8-radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.igny8-mode-toggle-label {
    gap: 15px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .igny8-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .igny8-step-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .igny8-flex-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .igny8-card-header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .igny8-flex-row form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .igny8-form-group {
        justify-content: flex-start;
    }
}

#igny8-new-content-form .igny8-flex-row .igny8-form-actions, #igny8-ai-integration-form .igny8-flex-row .igny8-form-actions {margin-top: 0;}


.igny8-card .igny8-standard-header .igny8-card-title-text h3 {
    font-size: 20px !important;
}

.igny8-error-log {
    width: 800px;
}
.igny8-form-group select{min-width: 200px;}
.igny8-form-group textarea {width: 80%;}

/* Title with Badge Layout */
.igny8-title-with-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.igny8-title-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.igny8-title-text {
    flex: 1;
}

.igny8-menu-toggle {
    padding: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.igny8-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.igny8-hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 16px;
    height: 14px;
}

.igny8-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
    transition: all 0.2s ease;
}

.igny8-menu-toggle:hover .igny8-hamburger span {
    background: var(--blue-dark);
}

/* Expandable Description Row */
.igny8-description-row {
    display: none;
    background: var(--panel-2);
    border-top: 1px solid var(--border);
}

.igny8-description-row.expanded {
    display: table-row;
}

.igny8-description-content-cell {
    padding: 16px;
    color: var(--text);
    line-height: 1.5;
}

.igny8-description-content {
    background: var(--panel-1);
    border-radius: 6px;
    padding: 12px;
    border: 1px solid var(--border);
}

.igny8-description-content p {
    margin: 0 0 8px 0;
}

.igny8-description-content p:last-child {
    margin-bottom: 0;
}

/* Description Section Styling */
.description-section {
    margin-bottom: 16px;
    padding: 12px;
    background: var(--panel-2);
    border-radius: 6px;
    border-left: 4px solid var(--blue);
}

.description-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    margin: 0 0 8px 0;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-content {
    position: relative;
}

.content-type-badge {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.content-details {
    color: var(--text);
    line-height: 1.5;
    font-size: 13px;
}

.description-item {
    margin-bottom: 8px;
    padding: 8px;
    background: var(--panel-2);
    border-radius: 4px;
    border-left: 3px solid var(--blue);
}

.description-item:last-child {
    margin-bottom: 0;
}

.description-item strong {
    color: var(--blue);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description-text {
    color: var(--text);
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Image Prompts Toggle Styles */
.igny8-image-prompts-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.igny8-image-icon {
    font-size: 16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.igny8-image-prompts-toggle {
    background: none;
    border: none;
    padding: 8px;
    margin-bottom: 3px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;

}

.igny8-image-prompts-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

/* Expandable Image Prompts Row */
.igny8-image-prompts-row {
    display: none;
    background: var(--panel-2);
    border-top: 1px solid var(--border);
}

.igny8-image-prompts-row.expanded {
    display: table-row;
}

.igny8-image-prompts-content-cell {
    padding: 16px;
    color: var(--text);
    line-height: 1.5;
}

.igny8-image-prompts-content {
    background: var(--panel-1);
    border-radius: 6px;
    padding: 12px;
    border: 1px solid var(--border);
}

.igny8-image-prompts-content .prompt-item {
    margin-bottom: 8px;
    padding: 8px;
    background: var(--panel-2);
    border-radius: 4px;
    border-left: 3px solid var(--blue);
}

.igny8-image-prompts-content .prompt-item:last-child {
    margin-bottom: 0;
}

.igny8-image-prompts-content .prompt-item strong {
    color: var(--blue);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.igny8-image-prompts-content .prompt-item:not(:last-child) {
    margin-bottom: 12px;
}

/* Ensure dashicons are properly styled */
.igny8-image-icon.dashicons {
    font-family: dashicons;
    font-size: 16px;
    color: var(--blue);
    vertical-align: middle;
}

.igny8-image-icon.dashicons:hover {
    color: var(--blue-dark);
}

/* Status with Badge Layout */
.igny8-status-with-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.igny8-status-text {
    flex: 1;
    min-width: 0;
}

.igny8-status-with-badge .igny8-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Static image size options styling */
.igny8-size-options-static {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.igny8-size-static {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
}

.igny8-size-static .size-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.igny8-size-static .size-dimensions {
    font-size: 12px;
    opacity: 0.8;
}

/* Different colors for each size option */
/* DALL-E sizes */
.igny8-size-square {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.igny8-size-portrait {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: #f093fb;
}

.igny8-size-landscape {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-color: #4facfe;
}

/* Runware sizes */
.igny8-size-featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.igny8-size-desktop {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: #f093fb;
}

.igny8-size-mobile {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-color: #4facfe;
}

/* Image provider styling */
.igny8-provider-info {
    margin-bottom: 10px;
}

.igny8-provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.igny8-provider-badge .dashicons {
    color: var(--blue);
    font-size: 16px;
}
.igny8-card.igny8-prompt-section {
    display: flex;
    flex-direction: row;
}

.igny8-card.igny8-prompt-section .igny8-dashboard-section {
    width: 100%;
}

/* Image Size Checkbox and Quantity Input Styling */
.igny8-size-checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.igny8-size-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
    justify-content: space-between;
}

.igny8-size-option:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.igny8-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    margin-right: 15px;
}

.igny8-checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
}

.igny8-checkbox-text {
    font-size: 14px;
    font-weight: 500;
}

.igny8-quantity-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.igny8-quantity-input label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.igny8-quantity-input input[type="number"] {
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
}

.igny8-quantity-input input[type="number"]:disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

.igny8-size-info {
 
    font-size: 12px;
    color: #6b7280;
    background: #e5e7eb;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Featured Image Row Styling */
.igny8-featured-image-row {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.igny8-featured-image-row .igny8-size-info {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
}

.igny8-featured-image-row .igny8-size-info:first-child {
    font-size: 14px;
    font-weight: 700;
}