/**
 * Lucide Icons Integration Styles
 * Replaces missing glyphs with crisp, accessible vector SVG icons across frontend and admin.
 */

svg.lucide,
.lucide {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.2em;
}

/* Feature Cards Icon Container */
.industry-feature-icon svg.lucide,
.industry-feature-icon .lucide {
    width: 32px;
    height: 32px;
    stroke-width: 1.8;
}

/* Section & Subblock Titles */
.industry-subblock-title svg.lucide,
.industry-subblock-title .lucide {
    width: 22px;
    height: 22px;
    vertical-align: -0.2em;
    margin-right: 8px;
}

/* Challenge Cards */
.industry-challenge-item svg.lucide,
.industry-challenge-item .lucide {
    width: 22px;
    height: 22px;
    vertical-align: -0.2em;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Accordion Trigger Icons & Chevrons */
.industry-accordion-header button svg.lucide.acc-icon,
.industry-accordion .accordion-toggle svg.lucide.acc-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: -0.15em;
}

.industry-accordion-header button svg.lucide.acc-chevron,
.industry-accordion .accordion-toggle svg.lucide.acc-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    margin-left: 12px;
    flex-shrink: 0;
}

.industry-accordion-header button[aria-expanded="true"] svg.lucide.acc-chevron,
.industry-accordion .accordion-toggle[aria-expanded="true"] svg.lucide.acc-chevron {
    transform: rotate(180deg);
    color: #0056b3;
}

/* Benefits Card Icons */
.industry-benefit-card svg.lucide,
.industry-benefit-card .lucide {
    width: 24px;
    height: 24px;
    vertical-align: -0.2em;
    margin-right: 8px;
}

/* SAP Module Architecture Cards */
.industry-sap-card .sap-icon-box svg.lucide,
.industry-sap-card svg.lucide {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

/* General Button Icons */
.btn svg.lucide,
button svg.lucide {
    vertical-align: -0.18em;
    margin-right: 6px;
}

/* ==============================================================================
 * ADMIN CMS COMPREHENSIVE LUCIDE INTEGRATION
 * ============================================================================== */

/* Sidebar Navigation Icons */
#sidebar .nav-list > li > a > svg.menu-icon,
#sidebar .nav-list > li > a > svg.lucide,
.sidebar .nav-list > li > a > svg.menu-icon,
.sidebar .nav-list > li > a > svg.lucide {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    vertical-align: middle;
    stroke-width: 2;
    stroke: currentColor;
    color: #94A3B8;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    display: inline-block;
}

#sidebar .nav-list > li.active > a > svg.menu-icon,
#sidebar .nav-list > li:hover > a > svg.menu-icon,
#sidebar .nav-list > li.active > a > svg.lucide,
#sidebar .nav-list > li:hover > a > svg.lucide {
    color: #38BDF8 !important;
}

#sidebar .submenu > li > a > svg.menu-icon,
#sidebar .submenu > li > a > svg.lucide,
.sidebar .submenu > li > a > svg.menu-icon,
.sidebar .submenu > li > a > svg.lucide {
    width: 15px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
    stroke-width: 2;
    color: #94A3B8;
    flex-shrink: 0;
}

#sidebar .submenu > li > a:hover > svg.menu-icon,
#sidebar .submenu > li.active > a > svg.menu-icon,
#sidebar .submenu > li > a:hover > svg.lucide,
#sidebar .submenu > li.active > a > svg.lucide {
    color: #38BDF8 !important;
}

/* Top Navigation Bar Icons */
.navbar .ace-nav > li > a svg.lucide {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.user-menu > li > a svg.lucide {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Dashboard Metric Cards & Hero Icons */
.admin-metric-icon svg.lucide {
    width: 44px;
    height: 44px;
    stroke-width: 1.8;
    opacity: 0.85;
}

.admin-module-icon-box svg.lucide {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.admin-badge svg.lucide {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: -0.15em;
}

.admin-welcome-meta span svg.lucide {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: -0.15em;
    color: #38BDF8;
}

.admin-welcome-actions a svg.lucide {
    width: 15px;
    height: 15px;
    margin-right: 6px;
    vertical-align: -0.15em;
}

/* Admin Data Tables Action Buttons */
.table td .btn svg.lucide,
.table td a svg.lucide {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.table td svg.lucide {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Breadcrumbs Home Icon */
.breadcrumbs .breadcrumb li svg.lucide.home-icon {
    width: 15px;
    height: 15px;
    margin-right: 4px;
    vertical-align: -0.15em;
    color: #2563EB;
}
