/* CSS Variables for Dynamic Theme System */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: rgba(16, 185, 129, 0.15);
    
    --bg-dark: #0f172a;
    --card-dark: #1e293b;
    --text-dark: #f8fafc;
    --text-muted-dark: #94a3b8;
    --border-dark: #334155;
    
    --bg-light: #f8fafc;
    --card-light: #ffffff;
    --text-light: #0f172a;
    --text-muted-light: #64748b;
    --border-light: #e2e8f0;
    
    /* Active theme values mapping */
    --bg: var(--bg-dark);
    --card: var(--card-dark);
    --text: var(--text-dark);
    --text-muted: var(--text-muted-dark);
    --border: var(--border-dark);
    
    --sidebar-width: 280px;
    --footer-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Feedback status colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --blue: #3b82f6;
    --teal: #14b8a6;
}

/* Light Theme Overrides */
.light-theme {
    --bg: var(--bg-light);
    --card: var(--card-light);
    --text: var(--text-light);
    --text-muted: var(--text-muted-light);
    --border: var(--border-light);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
    transition: var(--transition);
}

/* Page Layout */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: var(--transition);
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brand-text h2 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.brand-text span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    overflow-y: auto;
}

/* Hide scrollbar for nav */
.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    color: var(--text-muted);
    width: 100%;
}

.nav-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.nav-item.active {
    background-color: var(--primary);
    color: white;
    font-weight: 700;
}

.nav-num {
    font-size: 12px;
    font-weight: 800;
    opacity: 0.6;
}

.nav-name {
    font-size: 14px;
    font-weight: 600;
}

.sidebar-footer {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-icon {
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Slides System */
.slides-container {
    flex-grow: 1;
    position: relative;
    padding: 40px 60px;
    height: calc(100vh - var(--footer-height) - 40px);
    overflow-y: auto;
}

.slide {
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Typography elements */
h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 500;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.badge {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-primary {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

/* Grids & Cards */
.slide-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.col-2 {
    grid-template-columns: 1.1fr 0.9fr;
}

.col-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--primary);
}

.card-icon.warning {
    color: var(--warning);
}

/* Problem Cards specific */
.problem-card {
    border-top: 4px solid var(--warning);
}

.problem-num {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 48px;
    font-weight: 900;
    opacity: 0.07;
}

/* Slide visual components */
.slide-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Architecture Node visual */
.premium-card {
    width: 100%;
    max-width: 480px;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 24px 0;
}

.arch-node {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 24px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arch-node.center {
    border-color: var(--primary);
    background-color: var(--primary-light);
    color: var(--primary);
}

.arch-node span {
    font-size: 11px;
    opacity: 0.7;
}

.arch-line {
    font-size: 20px;
    color: var(--text-muted);
}

.arch-footer {
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

/* Onboarding lists */
.styled-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.styled-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.list-num {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 16px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Interactive elements in slides */
.staff-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.staff-list .staff-item {
    padding: 8px 16px;
    border-radius: 12px;
    gap: 12px;
}

.staff-list .rais-item {
    grid-column: span 2;
}

.staff-list .staff-item img {
    width: 38px;
    height: 38px;
}

.staff-list .staff-info h4 {
    font-size: 13px;
    font-weight: 700;
}

.staff-list .staff-info p {
    font-size: 11px;
}

.staff-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--card);
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
}

.staff-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.staff-info h4 {
    font-size: 15px;
    font-weight: 700;
}

.staff-info p {
    font-size: 12px;
}

.status-online {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--success);
    position: absolute;
    right: 20px;
    top: calc(50% - 5px);
    box-shadow: 0 0 10px var(--success);
}

.alert-box {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    padding: 16px;
    font-size: 14px;
    color: var(--text);
}

/* Escrow Step Cards */
.escrow-process {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 16px;
}

.step-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.5;
}

.step-card h5 {
    font-size: 14px;
    font-weight: 700;
}

.step-card p {
    font-size: 12px;
    margin: 0;
}

/* Visual Map Screen */
.map-illustration {
    width: 100%;
    max-width: 480px;
    height: 380px;
    background-color: var(--card);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.map-bg {
    width: 100%;
    height: 100%;
    background-color: #2b394f;
    position: relative;
    background-image: radial-gradient(circle, #384a66 10%, transparent 11%), radial-gradient(circle, #384a66 10%, transparent 11%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.map-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.05);
}

.map-pin {
    position: absolute;
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.map-pin:hover {
    transform: rotate(-45deg) scale(1.15);
}

.map-pin i {
    transform: rotate(45deg);
    font-size: 14px;
}

.pin-issue {
    background-color: var(--danger);
    color: white;
}

.pin-business {
    background-color: var(--success);
    color: white;
}

.pin-rental {
    background-color: var(--blue);
    color: white;
}

.map-detail-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px;
    color: white;
}

/* Expected stats styling */
.metric-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    transition: var(--transition);
}

.metric-card:hover {
    transform: scale(1.02);
}

.metric-num {
    font-size: 38px;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.metric-title {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.text-green { color: var(--success); }
.text-blue { color: var(--blue); }
.text-orange { color: var(--warning); }
.text-red { color: var(--danger); }

/* Custom Charts */
.charts-container h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.bar-chart-custom {
    margin: 20px 0;
}

.chart-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.chart-bars-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
}

.chart-bar-item span {
    width: 120px;
    text-align: right;
}

.bar-fill {
    height: 24px;
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 11px;
    font-weight: 700;
    transition: width 1s ease;
}

.red-fill { background-color: var(--danger); }
.green-fill { background-color: var(--success); }

.radial-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
}

.circle-progress {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

/* HIGH-FIDELITY MOBILE SMARTPHONE MOCKUP CSS */
.mockup-frame {
    width: 270px;
    height: 540px;
    background-color: #000;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.2);
    border: 3px solid #334155;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.mockup-header {
    width: 100%;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.speaker {
    width: 40px;
    height: 4px;
    background-color: #1e293b;
    border-radius: 2px;
}

.camera {
    width: 8px;
    height: 8px;
    background-color: #1e293b;
    border-radius: 50%;
    margin-left: 8px;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark); /* Simulator inner theme is dark for contrast */
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-top: 15px; /* space for camera notch */
}

/* Device screen UI elements */
.screen-app-bar {
    background-color: #111827;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    border-bottom: 1px solid #1f2937;
}

.screen-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px; /* spacing for bottom navbar */
    color: #f3f4f6;
    text-align: left;
}

.screen-body::-webkit-scrollbar {
    width: 4px;
}
.screen-body::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 2px;
}

.screen-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    background-color: #111827;
    border-top: 1px solid #1f2937;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 5;
}

.nav-btn {
    background: none;
    border: none;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    font-size: 10px;
    flex-grow: 1;
}

.nav-btn.active {
    color: var(--primary);
}

.nav-btn i {
    font-size: 14px;
}

.nav-btn-center {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: -15px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

/* Widgets inside Mockup Screen */
.widget {
    background-color: #1f2937;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #374151;
}

.mfy-header-widget {
    text-align: center;
    padding: 16px;
}

.avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&q=80&w=200');
    background-size: cover;
    border: 2px solid var(--primary);
}

.role-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 4px;
}

.screen-row {
    display: flex;
    gap: 8px;
}

.mini-card {
    flex-grow: 1;
    background-color: #1f2937;
    border-radius: 12px;
    padding: 10px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.mini-card i {
    font-size: 16px;
}

.alert-widget {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 10px;
}

.alert-widget h5 {
    font-size: 11px;
    font-weight: 700;
    color: #f87171;
}

.font-sm {
    font-size: 12px;
}
.font-xs {
    font-size: 11px;
}
.font-xs-strong {
    font-size: 11px;
    font-weight: 700;
}
.font-xs-muted {
    font-size: 10px;
    color: #9ca3af;
}

/* Simulation tabs feed style */
.feed-filter-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.feed-filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-badge {
    padding: 4px 10px;
    border-radius: 8px;
    background-color: #1f2937;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid #374151;
}

.filter-badge.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.sim-post-card {
    background-color: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #374151;
}

.sim-post-img {
    height: 100px;
    background-image: url('https://images.unsplash.com/photo-1504148455328-c376907d081c?auto=format&fit=crop&q=80&w=400');
    background-size: cover;
    background-position: center;
    position: relative;
}

.sim-post-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.sim-post-body {
    padding: 10px;
}

.sim-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sim-post-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.sim-post-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

/* Forms inside mockup */
.form-group {
    margin-bottom: 8px;
}

.form-group label {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.fake-input, .fake-textarea {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 8px;
    font-size: 11px;
    color: white;
}

.fake-textarea {
    height: 52px;
}

.image-upload-placeholder {
    height: 54px;
    border: 1px dashed #374151;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #9ca3af;
    cursor: pointer;
    background-color: rgba(255,255,255,0.02);
}

.btn-block {
    width: 100%;
}

.btn {
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-light {
    background-color: white;
    color: black;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
}

/* Simulator Wrapper Structure */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: stretch;
    height: calc(100vh - 280px);
}

.simulator-sidebar {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.scenario-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scenario-buttons .btn {
    justify-content: flex-start;
    padding: 10px 16px;
    font-size: 12px;
}

.scenario-buttons .btn.active-scenario {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.scenario-info-box {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}

.simulator-device {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Interactive elements in simulator body */
.sim-poll-widget {
    background-color: #1f2937;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #374151;
}

.sim-poll-option {
    margin-top: 8px;
    background-color: #111827;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
}

.sim-poll-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(16, 185, 129, 0.2);
    width: 0;
    transition: width 0.5s ease;
}

.text-orange { color: var(--warning); }
.text-blue { color: var(--blue); }
.text-red { color: var(--danger); }
.text-teal { color: var(--teal); }

/* Controller Footer */
.presentation-footer {
    height: var(--footer-height);
    background-color: var(--card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}

.slide-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 700;
}

.progress-bar-container {
    width: 200px;
    height: 6px;
    background-color: var(--bg);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 11%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Presenter Speaker Notes Drawer Styling */
.speaker-notes-container {
    position: absolute;
    bottom: var(--footer-height);
    left: 0;
    width: 100%;
    background-color: #1e293b;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
    z-index: 11;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.speaker-notes-container.active {
    transform: translateY(0);
}

.notes-toggle-btn {
    width: 100%;
    background-color: #0f172a;
    border: none;
    color: var(--primary);
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.speaker-notes-container.active .toggle-arrow {
    transform: rotate(180deg);
}

.notes-content {
    padding: 20px 40px;
    max-height: 200px;
    overflow-y: auto;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 14px;
}

.notes-content ul {
    margin-left: 20px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Animation utilities */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .7; transform: scale(1.03); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-pulse {
    animation: pulse 3s infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 16px; }
.mr-2 { margin-right: 8px; }

/* Custom animation for phone simulation lock icon */
.escrow-lock-anim {
    font-size: 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Custom styling inside device simulator for map scenario */
.sim-map-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #374151;
}

.sim-map-pin {
    position: absolute;
    cursor: pointer;
    font-size: 14px;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}

.sim-map-pin:hover {
    transform: scale(1.2);
}

.sim-map-pin.business { background-color: var(--success); }
.sim-map-pin.issue { background-color: var(--danger); }
.sim-map-pin.rental { background-color: var(--blue); }

.sim-map-info-panel {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background-color: rgba(17, 24, 39, 0.9);
    padding: 8px;
    border-radius: 8px;
    font-size: 10px;
    border: 1px solid #374151;
}

.sim-map-info-panel h6 {
    font-weight: 700;
    margin-bottom: 2px;
    color: white;
}

.sim-profile-header {
    text-align: center;
    padding: 16px 0;
}
.sim-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background-image: url('https://i.pravatar.cc/150?img=33');
    background-size: cover;
    border: 2px solid var(--primary);
}

.sim-profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}
.sim-stat-box {
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.sim-stat-box span {
    font-size: 10px;
    color: #9ca3af;
}
.sim-stat-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
}
