/* SOLUTIONS UI COMPONENTS */
/* High-Fidelity Pure CSS Application Mockups */

/* GLOBAL COMPONENT UTILITIES */
.sol-ui-root {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    line-height: normal;
}

.sol-ui-root * {
    box-sizing: border-box;
}

/* =========================================
   1. FINTECH: NEOBANK MOBILE
========================================= */
.neobank-app {
    width: 100%;
    height: 100%;
    background: #0f172a;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nb-status-bar {
    height: 30px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: flex-end;
    font-size: 11px;
    font-weight: 600;
}

.nb-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nb-avatar {
    width: 36px;
    height: 36px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid #475569;
}

.nb-balance-card {
    margin: 0 20px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.nb-balance-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.nb-balance-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.nb-card-actions {
    display: flex;
    gap: 10px;
}

.nb-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    cursor: default;
}

.nb-section-title {
    padding: 0 20px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.nb-tx-list {
    flex: 1;
    padding: 0 20px;
    overflow-y: hidden;
}

.nb-tx-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.nb-tx-icon {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 12px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nb-tx-details {
    flex: 1;
}

.nb-tx-name {
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.nb-tx-date {
    font-size: 11px;
    color: #94a3b8;
}

.nb-tx-amount {
    font-weight: 600;
    font-size: 13px;
}

.nb-tx-amount.neg {
    color: white;
}

.nb-tx-amount.pos {
    color: #4ade80;
}

.nb-nav-bar {
    height: 60px;
    background: #1e293b;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
}

.nb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: #94a3b8;
}

.nb-nav-item.active {
    color: #3b82f6;
}

/* =========================================
   2. FINTECH: FRAUD DASHBOARD
========================================= */
.fraud-dash {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    color: #0f172a;
    display: flex;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.fd-sidebar {
    width: 60px;
    /* Collapsed for better fit in mockup */
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fd-logo {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 8px;
    margin-bottom: 20px;
}

.fd-menu-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s, filter 0.2s;
}

.fd-menu-item.active {
    background: #eff6ff;
    color: #2563eb;
}

.fd-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.fd-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    align-items: center;
}

.fd-title {
    font-size: 18px;
    font-weight: 700;
}

.fd-badge {
    background: white;
    padding: 4px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 11px;
    color: #64748b;
}

.fd-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.fd-stat-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.fd-stat-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.fd-stat-val {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.fd-stat-delta {
    font-size: 10px;
    font-weight: 500;
}

.fd-stat-delta.up {
    color: #ef4444;
}

.fd-stat-delta.down {
    color: #22c55e;
}

.fd-vis-row {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.fd-chart-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.fd-chart-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.fd-map {
    flex: 1;
    background: #f1f5f9;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.fd-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fd-list-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    align-items: center;
}

.fd-risk-badge {
    padding: 2px 6px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
}

.fd-risk-high {
    background: #fee2e2;
    color: #ef4444;
}

.fd-risk-med {
    background: #fef3c7;
    color: #d97706;
}

/* SVG Map Dots */
.dot-ping {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* =========================================
   3. HEALTH: TELEHEALTH MOBILE
========================================= */
.health-app {
    width: 100%;
    height: 100%;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    flex-direction: column;
}

.ha-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.ha-vitals-row {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ha-vital-card {
    background: #f8fafc;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.ha-vital-val {
    font-size: 18px;
    font-weight: 700;
    color: #ef4444;
}

.ha-call-ui {
    flex: 1;
    background: #f1f5f9;
    margin: 0 20px 20px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ha-doc-avatar {
    width: 80px;
    height: 80px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 3px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ha-call-btns {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 15px;
}

.ha-btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* =========================================
   4. HEALTH: HOSPITAL ERP DASHBOARD
========================================= */
.health-erp {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
}

.he-side {
    width: 50px;
    background: #2563eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    gap: 15px;
}

.he-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.he-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.he-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
}

.he-bar-wrap {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-top: 10px;
}

.he-bar-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 4px;
}

/* =========================================
   5. RETAIL: AR SHOPPING MOBILE
========================================= */
.retail-app {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.ra-prod-view {
    height: 60%;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ra-ar-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
}

.ra-details {
    padding: 20px;
    flex: 1;
}

.ra-price {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
}

.ra-btn-cart {
    width: 100%;
    background: #0f172a;
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

/* =========================================
   6. RETAIL: HEADLESS STOREFRONT
========================================= */
.retail-web {
    width: 100%;
    height: 100%;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
}

.rw-nav {
    height: 40px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

.rw-hero {
    height: 150px;
    background: linear-gradient(to right, #f8fafc, #eff6ff);
    margin: 20px;
    border-radius: 12px;
    padding: 25px;
}

.rw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 20px;
}

.rw-item {
    height: 100px;
    background: #f8fafc;
    border-radius: 8px;
}