* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --color-primary: #007aff;
    --color-primary-dark: #0056b3;
    --color-success: #34c759;
    --color-success-dark: #2fb84d;
    --color-error: #ff3b30;
    --color-warning: #ffc107;

    /* Gradients */
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-pink: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%);
    --gradient-family: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);

    /* Text Colors */
    --color-text-primary: #000;
    --color-text-secondary: #666;
    --color-text-tertiary: #999;

    /* Background Colors */
    --color-bg-primary: #fff;
    --color-bg-secondary: #f5f5f5;
    --color-bg-tertiary: #f8f9fa;
    --color-bg-light-blue: #f0f8ff;
    --color-bg-info: #e3f2fd;

    /* Border Colors */
    --color-border-light: #e5e5e5;
    --color-border-medium: #ddd;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-round: 50%;
    --radius-pill: 20px;

    /* Font Sizes */
    --font-xs: 12px;
    --font-sm: 13px;
    --font-md: 14px;
    --font-base: 15px;
    --font-lg: 16px;
    --font-xl: 18px;
    --font-2xl: 20px;
    --font-3xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
}

/* ============================================================================
   REUSABLE COMPONENTS
   ============================================================================ */

/* Avatar Base Styles */
.avatar {
    border-radius: var(--radius-round);
    color: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.avatar-small {
    width: 40px;
    height: 40px;
    font-size: var(--font-xl);
}

.avatar-medium {
    width: 50px;
    height: 50px;
    font-size: var(--font-2xl);
}

.avatar-large {
    width: 56px;
    height: 56px;
    font-size: var(--font-3xl);
}

.avatar-xlarge {
    width: 80px;
    height: 80px;
    font-size: 36px;
}

.avatar-sitter {
    background: var(--gradient-purple);
}

.avatar-child {
    background: var(--gradient-pink);
}

.avatar-family {
    background: var(--gradient-family);
}

.avatar.pending {
    background: var(--color-border-light);
    color: var(--color-text-tertiary);
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Empty State Component */
.empty-state {
    padding: 40px var(--spacing-xl);
    text-align: center;
    color: var(--color-text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-lg);
}

.empty-state-text {
    font-size: var(--font-lg);
}

.empty-state-subtitle {
    color: var(--color-text-tertiary);
    font-size: var(--font-md);
    margin-top: var(--spacing-sm);
}

/* Mock Feature Screen */
.mock-feature-screen {
    padding: var(--spacing-xl);
    background: var(--color-bg-secondary);
    min-height: 100%;
}

.mock-header {
    background: var(--color-bg-primary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.mock-badge {
    background: var(--gradient-purple);
    color: var(--color-bg-primary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

.mock-header h2 {
    font-size: var(--font-3xl);
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-sm) 0;
}

.mock-header p {
    color: var(--color-text-secondary);
    font-size: var(--font-base);
    margin: 0;
    line-height: 1.5;
}

.mock-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mock-element {
    background: var(--color-bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.mock-element-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.mock-element-text h4 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: var(--font-lg);
    color: var(--color-text-primary);
}

.mock-element-text p {
    margin: 0;
    font-size: var(--font-md);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.mock-footer {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--color-bg-info);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
}

.mock-footer p {
    margin: 0;
    font-size: var(--font-md);
    color: var(--color-primary-dark);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #e5e5e5;
    padding: 0;
    min-height: 100vh;
    margin: 0;
    padding-left: 400px;
    transition: padding-left 0.3s ease;
}

body.nav-collapsed {
    padding-left: 60px;
}

/* Left Navigation */
.left-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 400px;
    background: #fff;
    color: #000;
    z-index: 1000;
    transition: transform 0.3s ease;
    overflow-y: auto;
    min-width: 200px;
    max-width: 600px;
    border-right: 1px solid #e5e5e5;
}

.left-nav.collapsed {
    transform: translateX(-200px);
}

.nav-header {
    padding: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-header:hover {
    background: #f8f9fa;
}

.nav-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007aff;
    flex-shrink: 0;
}

.nav-header-icon svg {
    display: block;
}

.nav-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #000;
    flex: 1;
    white-space: nowrap;
    min-width: 0;
}

.sign-out-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    transition: color 0.2s;
    flex-shrink: 0;
    text-transform: lowercase;
}

.sign-out-btn:hover {
    color: #007aff;
}

.nav-content {
    padding: 12px;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-item {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #fff;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 4px;
    display: block;
}

.nav-item:hover {
    background: #3a3a3c;
}

.nav-item.active {
    background: #007aff;
    font-weight: 600;
}

/* Nav Tabs */
.nav-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}

.nav-tab {
    flex: 1;
    background: none;
    border: none;
    color: #666;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid transparent;
}

.nav-tab:hover {
    color: #000;
    background: #fff;
}

.nav-tab.active {
    color: #007aff;
    background: #fff;
    border-bottom-color: #007aff;
}

.nav-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.nav-tab-icon svg {
    display: block;
}

.nav-tab-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nav Tab Content */
.nav-tab-content {
    padding: 16px;
    overflow-y: auto;
    height: calc(100vh - 140px);
}

/* Steps in Nav Panel */
.nav-tab-content .nav-section-header h3 {
    color: #000;
}

.nav-tab-content .nav-section-header p {
    color: #666;
}

.nav-tab-content .demo-step {
    background: #fff;
    border: 1px solid #e5e5e5;
    margin-bottom: 12px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    opacity: 0.5;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-tab-content .demo-step:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

.nav-tab-content .demo-step.active {
    background: #f0f9ff;
    border: 2px solid #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
    opacity: 1;
}

.nav-tab-content .demo-step.completed {
    opacity: 0.6;
}

.nav-tab-content .demo-step.completed .step-number {
    background: #34c759;
    color: white;
    position: relative;
}

.nav-tab-content .demo-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
}

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

.nav-tab-content .step-number {
    width: 32px;
    height: 32px;
    background: #d1d1d6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.nav-tab-content .demo-step.active .step-number {
    background: #007aff;
}

.nav-tab-content .step-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
    flex: 1;
}

.nav-tab-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.nav-tab-content .step-actions {
    margin-top: 12px;
}

.nav-tab-content .step-action-btn {
    background: #f8f9fa;
    color: #007aff;
    font-size: 13px;
    padding: 8px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-tab-content .step-action-btn:hover {
    background: #007aff;
    color: #fff;
    border-color: #007aff;
}

/* MVP Badge Styles */
.mvp-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mvp-badge.mvp-core {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
}

.mvp-badge.mvp-future {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.non-mvp-step {
    opacity: 0.7;
}

.non-mvp-step:hover {
    opacity: 1;
}

.step-hypothesis {
    font-weight: 500;
    color: #007aff !important;
    font-size: 13px !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.5 !important;
}

.step-note {
    font-size: 12px !important;
    color: #666 !important;
    font-style: italic;
    line-height: 1.5 !important;
    margin: 0 0 10px 0 !important;
}

/* Requirements in Nav Panel */
.nav-tab-content .requirements-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
}

.nav-tab-content .requirements-summary h3 {
    color: #000;
}

.nav-tab-content .requirements-category {
    background: none;
    border-bottom: 1px solid #e5e5e5;
}

.nav-tab-content .category-header h4 {
    color: #000;
    font-size: 14px;
    font-weight: 600;
}

.nav-tab-content .requirement-item {
    padding: 10px 12px;
    background: none;
}

.nav-tab-content .requirement-text {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.nav-tab-content .requirement-item.completed .requirement-text {
    color: #000;
}

.nav-tab-content .requirement-item.clickable:hover {
    background: #f8f9fa;
    margin: 0;
    padding: 10px 12px;
}

.nav-tab-content .future-category {
    opacity: 0.7;
}

.nav-tab-content .future-category .category-header h4 {
    color: #666;
}

.nav-tab-content .requirement-arrow {
    color: #007aff;
}

/* Resize Handle */
.resize-handle {
    position: absolute;
    top: 0;
    right: -4px;
    width: 8px;
    bottom: 0;
    cursor: ew-resize;
    background: transparent;
    transition: background 0.2s;
    z-index: 1001;
}

.resize-handle:hover {
    background: rgba(0, 122, 255, 0.5);
}

.resize-handle.active {
    background: #007aff;
}

.left-nav.resizing {
    transition: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.demo-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 16px 20px 0 20px;
}

.demo-header #prev-btn {
    justify-self: start;
}

.demo-progress-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: #d1d1d6;
    border-radius: 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #007aff;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.demo-step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.current-step-number {
    font-weight: 600;
    color: #007aff;
}

.step-divider {
    color: #999;
}

.total-steps {
    font-weight: 600;
    color: #333;
}

.current-step-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
}

.demo-header #next-btn {
    justify-self: end;
}

h1 {
    color: #333;
    font-size: 32px;
    margin: 0;
}

.nav-arrow-btn {
    width: 48px;
    height: 48px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow-btn:hover {
    background: #0051d5;
    transform: scale(1.05);
}

.nav-arrow-btn:active {
    transform: scale(0.95);
}

.nav-arrow-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.phones-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.phone {
    width: 375px;
}

.phone-bezel {
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    height: 700px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-header {
    background: #2c2c2e;
    color: #fff;
    padding: 40px 20px 12px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hamburger-menu {
    position: absolute;
    left: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-title {
    font-size: 17px;
    font-weight: 600;
}

.screen-content {
    flex: 1;
    overflow-y: auto;
    background: #f2f2f7;
    position: relative;
}

/* Phone Menu */
.phone-menu {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 75%;
    background: #fff;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.phone-menu.open {
    transform: translateX(0);
}

.phone-menu-header {
    background: #2c2c2e;
    color: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.close-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.phone-menu-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.phone-menu-item {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 16px;
    font-size: 16px;
    color: #000;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-menu-item:hover {
    background: #f5f5f5;
}

.phone-menu-item .emoji {
    font-size: 20px;
}

/* Menu backdrop */
.phone-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.phone-menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal backdrop for sheets */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Slide-up Sheet */
.slide-up-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 200;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.slide-up-sheet.active {
    transform: translateY(0);
}

.sheet-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheet-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.close-sheet {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-sheet:hover {
    background: #f0f0f0;
}

.sheet-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Sitter Selection Options */
.selection-options {
    margin-bottom: 24px;
}

.selection-option {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.selection-option:hover {
    background: #e8f4ff;
    border-color: #007aff;
}

.selection-option.selected {
    background: #e8f4ff;
    border-color: #007aff;
}

.option-label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-description {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.selection-divider {
    margin: 24px 0;
    text-align: center;
    position: relative;
}

.selection-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e5e5e5;
}

.selection-divider span {
    background: #fff;
    padding: 0 12px;
    font-size: 14px;
    color: #999;
    position: relative;
    z-index: 1;
}

/* Sitter List in Modal */
.sitter-list {
    margin-bottom: 24px;
}

.sitter-item {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.sitter-item:hover {
    border-color: #007aff;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.sitter-item.selected {
    border-color: #007aff;
    background: #e8f4ff;
}

.sitter-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.sitter-item.selected .sitter-checkbox {
    background: #007aff;
    border-color: #007aff;
    color: #fff;
}

.sitter-checkbox::after {
    content: '✓';
    opacity: 0;
}

.sitter-item.selected .sitter-checkbox::after {
    opacity: 1;
}

.sitter-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.sitter-info {
    flex: 1;
}

.sitter-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.sitter-meta {
    font-size: 13px;
    color: #666;
}

.sitter-rank {
    font-size: 12px;
    color: #007aff;
    font-weight: 600;
}

.sheet-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.sheet-footer button {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sheet-footer button:hover:not(:disabled) {
    background: #0051d5;
}

.sheet-footer button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Payment Modal */
.payment-job-details {
    text-align: center;
    padding: 24px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.payment-job-details h4 {
    font-size: 20px;
    margin-bottom: 4px;
    color: #000;
}

.payment-job-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.payment-amount {
    font-size: 36px;
    font-weight: 700;
    color: #34c759;
    margin-top: 8px;
}

.payment-methods {
    padding: 16px 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover {
    background: #f8f9fa;
    border-color: #007aff;
    transform: translateX(4px);
}

.payment-method-icon {
    font-size: 32px;
    margin-right: 16px;
}

.payment-method-info {
    flex: 1;
}

.payment-method-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.payment-method-description {
    font-size: 13px;
    color: #666;
}

.payment-method-arrow {
    color: #007aff;
    font-size: 20px;
    font-weight: 600;
}

.payment-success-notification {
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    background: #34c759;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification-icon {
    font-size: 24px;
}

.notification-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.notification-text p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

/* Rating Modal */
.rating-header {
    text-align: center;
    padding: 24px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.rating-sitter-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-center: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.rating-header h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #000;
}

.rating-header p {
    font-size: 14px;
    color: #666;
}

.rating-section {
    padding: 20px;
}

.rating-section label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.star-rating {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.star {
    font-size: 36px;
    color: #e5e5e5;
    cursor: pointer;
    transition: all 0.2s;
}

.star:hover,
.star.selected {
    color: #ffd700;
    transform: scale(1.1);
}

.rating-feedback {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.rating-feedback:focus {
    outline: none;
    border-color: #007aff;
}

.rating-submit-btn,
.rating-skip-btn {
    width: calc(100% - 40px);
    margin: 0 20px 12px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.rating-submit-btn {
    background: #007aff;
    color: #fff;
}

.rating-submit-btn:hover {
    background: #0051d5;
}

.rating-skip-btn {
    background: #f0f0f0;
    color: #666;
}

.rating-skip-btn:hover {
    background: #e5e5e5;
}

.chat-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.left {
    align-self: flex-start;
    background: #e5e5ea;
    color: #000;
    border-bottom-left-radius: 4px;
}

.message.right {
    align-self: flex-end;
    background: #007aff;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.next-button {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.next-button:hover:not(:disabled) {
    background: #0051d5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.next-button:active:not(:disabled) {
    transform: translateY(0);
}

.next-button:disabled {
    background: #999;
    cursor: not-allowed;
    box-shadow: none;
}

/* Home Screen */
.home-screen {
    padding: 20px;
    overflow-y: auto;
}

/* Confirmation Screen */
.confirmation-screen {
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.confirmation-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.confirmation-screen h2 {
    font-size: 28px;
    color: #000;
    margin-bottom: 8px;
}

.confirmation-screen > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

.confirmation-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
    text-align: left;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.confirmation-row:last-child {
    border-bottom: none;
}

.confirmation-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.confirmation-value {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}

.confirmation-btn {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 400px;
}

.confirmation-btn:hover {
    background: #0051d5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.confirmation-btn:active {
    transform: translateY(0);
}

.jobs-screen {
    padding: 16px 0 0 0;
    overflow-y: auto;
}

.jobs-screen .notification {
    margin: 0 16px 12px 16px;
}

.welcome-section {
    margin-bottom: 24px;
}

.welcome-section h2 {
    font-size: 24px;
    color: #000;
    margin-bottom: 4px;
}

.welcome-subtitle {
    font-size: 15px;
    color: #666;
}

/* Quick Action Card */
.quick-action-card {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.quick-action-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.quick-action-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.2);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.quick-action-text {
    flex: 1;
}

.quick-action-text h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 4px;
}

.quick-action-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.quick-action-btn {
    width: 100%;
    background: #fff;
    color: #007aff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* Home Sections */
.home-section {
    margin-bottom: 24px;
}

.home-section h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 12px;
}

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

.section-header h3 {
    margin: 0;
}

.section-link {
    font-size: 14px;
    color: #007aff;
    text-decoration: none;
}

/* Job Cards - Compact */
.upcoming-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-card-compact {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.job-date-badge {
    background: #007aff;
    color: #fff;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    min-width: 56px;
}

.badge-day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.badge-month {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
}

.job-details {
    flex: 1;
}

.job-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.job-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.job-children {
    font-size: 13px;
    color: #999;
}

.job-status {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.job-status.confirmed {
    background: #d4edda;
    color: #155724;
}

.job-status.pending {
    background: #fff3cd;
    color: #856404;
}

.pay-job-btn {
    background: #34c759;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pay-job-btn:hover {
    background: #28a745;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(52, 199, 89, 0.3);
}

.pay-job-btn:active {
    transform: translateY(0);
}

/* Available Job Cards */
.available-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card-available {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.2s;
}

.job-card-available:hover {
    border-color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.family-name {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.job-rate {
    font-size: 16px;
    font-weight: 700;
    color: #34c759;
}

.job-card-body {
    margin-bottom: 12px;
}

.job-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.job-info-icon {
    font-size: 16px;
    width: 20px;
}

.job-accept-btn {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.job-accept-btn:hover {
    background: #0051d5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.3);
}

/* Tabs */
.jobs-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.jobs-screen .jobs-tabs {
    margin-bottom: 16px;
    padding: 0 16px;
}

.tab-btn {
    flex: 1;
    background: #f5f5f5;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #007aff;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background: #e8e8e8;
}

.tab-content {
    padding: 0 20px;
}

.jobs-screen .tab-content {
    padding: 0 16px;
}

/* New job highlight */
.job-card-compact.new-job {
    animation: highlightNew 2s ease-out;
}

@keyframes highlightNew {
    0% {
        background: #e8f4ff;
        transform: scale(1.02);
    }
    100% {
        background: #fff;
        transform: scale(1);
    }
}

/* Quick Links Grid */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-link-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.quick-link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-link-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.quick-link-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.quick-link-count {
    font-size: 18px;
    font-weight: 700;
    color: #007aff;
}

/* Legacy home menu (kept for backwards compatibility) */
.home-menu {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.menu-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.menu-item-text {
    font-size: 16px;
    color: #000;
}

.menu-item-arrow {
    color: #c7c7cc;
    font-size: 18px;
}

.badge {
    background: #ff3b30;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

/* Job Cards */
.job-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
}

.job-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.job-card button {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
}

/* Forms */
.form-container {
    padding: 20px;
    background: #f2f2f7;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #c7c7cc;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* Notifications */
.notification {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 16px;
    margin: 20px;
    border-radius: 12px;
    font-size: 14px;
    color: #856404;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification.success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* Toast Notification */
.toast-notification {
    position: absolute;
    top: 80px;
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 300;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: #34c759;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 14px;
    color: #666;
}

/* Empty State */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state-text {
    font-size: 16px;
}

.empty-state-small {
    padding: 30px 20px;
    text-align: center;
    color: #666;
}

.empty-state-icon-small {
    font-size: 36px;
    margin-bottom: 12px;
}

.empty-state-text-small {
    font-size: 15px;
    font-weight: 600;
    color: #666;
}

/* Requirements Screen */
.requirements-screen {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.requirements-screen h2 {
    color: #000;
    font-size: 28px;
    margin-bottom: 8px;
}

.requirements-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 32px;
    font-style: italic;
}

.requirements-category {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.requirements-category h3 {
    color: #000;
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-checkbox {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    margin-top: 2px;
}

.requirement-text {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.requirement-item.completed .requirement-text {
    color: #666;
}

.requirement-item.completed .requirement-checkbox {
    color: #34c759;
}

.requirement-item:not(.completed) .requirement-checkbox {
    color: #ccc;
}

.requirement-item.clickable {
    cursor: pointer;
    transition: all 0.2s;
    padding-right: 8px;
}

.requirement-item.clickable:hover {
    background: #f8f9fa;
    margin: 0 -16px;
    padding: 12px 16px;
}

.requirement-arrow {
    color: #007aff;
    font-size: 18px;
    font-weight: 600;
    margin-left: 8px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.requirement-item.clickable:hover .requirement-arrow {
    transform: translateX(4px);
}

.requirements-summary {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.requirements-summary h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.requirements-summary .progress-bar {
    background: #e5e5e5;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.requirements-summary .progress-fill {
    background: #007aff;
    height: 100%;
    transition: width 0.5s ease;
}

.requirements-summary .stats {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #000;
}

.requirements-summary .stats-label {
    font-size: 14px;
    color: #666;
}

/* Demo Steps Screen */
.demo-steps-screen {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.demo-steps-screen h2 {
    color: #000;
    font-size: 28px;
    margin-bottom: 8px;
}

.demo-steps-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.demo-steps-summary h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.demo-steps-summary p {
    font-size: 14px;
    opacity: 0.9;
}

.demo-step {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.step-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.step-action-btn {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.step-action-btn:hover {
    background: #0051d5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.step-action-btn:active {
    transform: translateY(0);
}

/* Settings Screen */
.settings-screen {
    padding: 0 0 20px 0;
    overflow-y: auto;
}

.settings-section {
    margin-bottom: 24px;
}

.settings-section-header {
    padding: 12px 20px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-section-header h3 {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.settings-add-btn {
    background: none;
    border: none;
    color: #007aff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
}

.settings-list {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.settings-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s;
    gap: 12px;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:active {
    background: #f5f5f5;
}

.settings-item-content {
    flex: 1;
    min-width: 0;
}

.settings-item-label {
    font-size: 16px;
    color: #000;
    margin-bottom: 2px;
}

.settings-item-value {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.settings-item-description {
    font-size: 14px;
    color: #999;
    margin-top: 2px;
}

.settings-item-arrow {
    font-size: 18px;
    color: #c7c7cc;
}

/* Child Avatar */
.child-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Sitter Avatar Small */
.sitter-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Toggle Switch */
.settings-toggle {
    position: relative;
    width: 51px;
    height: 31px;
}

.settings-toggle input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e5e5;
    transition: 0.3s;
    border-radius: 31px;
}

.settings-toggle label:before {
    position: absolute;
    content: "";
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.settings-toggle input:checked + label {
    background-color: #34c759;
}

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

/* Search Section */
.search-section {
    padding: 16px 20px;
    background: #f5f5f5;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    gap: 8px;
}

.search-icon {
    font-size: 16px;
    color: #999;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

/* Sitter Item Detailed */
.sitter-item-detailed {
    gap: 12px;
}

.sitter-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
}

.sitter-avatar-large.pending {
    background: #e5e5e5;
    color: #999;
}

.sitter-stats {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.sitter-stat-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.sitter-stat-badge.rank {
    background: #ffeaa7;
    color: #d63031;
}

.sitter-stat-badge.rating {
    background: #74b9ff;
    color: #0984e3;
}

.sitter-stat-badge.jobs {
    background: #dfe6e9;
    color: #2d3436;
}

.message-btn {
    background: #007aff;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resend-btn {
    background: none;
    border: 1px solid #007aff;
    color: #007aff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Child Item Detailed */
.child-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Messages Screen */
.messages-screen {
    height: 100%;
    overflow-y: auto;
}

.messages-list {
    background: #fff;
}

.message-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    gap: 12px;
    transition: background 0.2s;
}

.message-item:active {
    background: #f5f5f5;
}

.message-item.unread {
    background: #f0f8ff;
}

.message-item-content {
    flex: 1;
    min-width: 0;
}

.message-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.message-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.message-item-time {
    font-size: 13px;
    color: #999;
}

.message-item-preview {
    font-size: 14px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.unread-badge {
    background: #007aff;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.family-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Filter Section */
.filter-section {
    padding: 16px 20px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.filter-chip {
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-chip.active {
    background: #007aff;
    border-color: #007aff;
    color: #fff;
}

/* Available Jobs Detailed */
.available-jobs-detailed {
    padding: 0 20px 20px;
}

.job-card-full {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.job-card-header-full {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.family-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.family-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.family-name {
    font-size: 17px;
    font-weight: 600;
    color: #000;
}

.family-meta {
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.job-rate-large {
    font-size: 20px;
    font-weight: 700;
    color: #34c759;
}

.job-card-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 0 16px;
}

.job-card-details {
    padding: 16px;
}

.job-detail-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.job-detail-row:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.detail-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 15px;
    color: #000;
}

.job-card-actions {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid #e5e5e5;
}

.job-action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.job-action-btn.decline {
    background: #f5f5f5;
    color: #666;
}

.job-action-btn.decline:active {
    background: #e5e5e5;
}

.job-action-btn.accept {
    background: #34c759;
    color: #fff;
}

.job-action-btn.accept:active {
    background: #2fb84d;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0;
    padding: 16px 20px;
    background: #f5f5f5;
}

.toggle-btn {
    flex: 1;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn:first-child {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.toggle-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.toggle-btn.active {
    background: #007aff;
    border-color: #007aff;
    color: #fff;
}

/* Schedule List */
.schedule-list {
    padding: 0 20px 20px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.schedule-item.completed {
    opacity: 0.7;
}

.schedule-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: #fff;
    flex-shrink: 0;
}

.schedule-date.past {
    background: #999;
}

.schedule-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.schedule-month {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.schedule-weekday {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 2px;
}

.schedule-content {
    flex: 1;
    min-width: 0;
}

.schedule-family {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.schedule-time {
    font-size: 14px;
    color: #666;
    margin-bottom: 2px;
}

.schedule-children {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.schedule-earnings {
    font-size: 14px;
    color: #34c759;
    font-weight: 600;
}

.schedule-action-btn {
    background: #007aff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.schedule-status {
    background: #e5e5e5;
    color: #666;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* Earnings Summary */
.earnings-summary {
    display: flex;
    gap: 12px;
    padding: 0 20px 20px;
}

.earnings-card {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    text-align: center;
}

.earnings-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.earnings-value {
    font-size: 28px;
    font-weight: 700;
}

/* Profile Header */
.profile-header {
    text-align: center;
    padding: 30px 20px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.profile-header h2 {
    font-size: 24px;
    margin: 0 0 8px;
}

.profile-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rating-stars {
    font-size: 18px;
}

.rating-count {
    font-size: 14px;
    opacity: 0.9;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px;
}

.profile-stat {
    flex: 1;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #999;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px;
}

.cert-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* Availability Grid */
.availability-grid {
    padding: 12px 20px;
}

.availability-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.availability-item:last-child {
    border-bottom: none;
}

.availability-day {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.availability-time {
    font-size: 15px;
    color: #666;
}

/* Reviews List */
.reviews-list {
    padding: 0 20px 20px;
}

.review-item {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

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

.review-family {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.review-rating {
    color: #ffa500;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 6px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

/* Card Screen Layout */
.card-screen {
    height: 100%;
    overflow-y: auto;
    background: #f5f5f5;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.screen-header h2 {
    font-size: 22px;
    margin: 0;
    color: #000;
}

.cards-container {
    padding: 16px;
}

/* Child Card */
.child-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.child-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.child-header-info h3 {
    font-size: 20px;
    margin: 0 0 4px 0;
    color: #000;
}

.child-age {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.card-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.card-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.card-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.card-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.card-info-row:last-child {
    border-bottom: none;
}

.card-info-label {
    font-size: 15px;
    color: #666;
}

.card-info-value {
    font-size: 15px;
    color: #000;
    font-weight: 500;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.activity-tag {
    background: #f0f8ff;
    color: #007aff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.card-notes {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.card-action-btn {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.card-action-btn:active {
    background: #0056b3;
}

/* Sitter Card */
.sitter-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sitter-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sitter-avatar-card {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
}

.sitter-avatar-card.pending {
    background: #e5e5e5;
    color: #999;
}

.sitter-header-info {
    flex: 1;
    min-width: 0;
}

.sitter-header-info h3 {
    font-size: 18px;
    margin: 0 0 4px 0;
    color: #000;
}

.sitter-rank-badge {
    background: #ffeaa7;
    color: #d63031;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.message-icon-btn {
    width: 40px;
    height: 40px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sitter-card-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    margin-bottom: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.sitter-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.stat-label-small {
    font-size: 12px;
    color: #999;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.card-action-btn-outline {
    flex: 1;
    background: #fff;
    color: #007aff;
    border: 2px solid #007aff;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.card-action-btn-outline:active {
    background: #f0f8ff;
}

.card-actions .card-action-btn {
    flex: 1;
    margin-top: 0;
}

/* Pending Invitations Section */
.pending-section {
    padding: 0 16px 16px;
}

.pending-header {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.pending-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pending-info {
    flex: 1;
    min-width: 0;
}

.pending-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.pending-date {
    font-size: 13px;
    color: #999;
}

/* Availability Screen */
.availability-intro {
    padding: 16px;
    background: #e3f2fd;
    margin: 16px 16px 16px;
    border-radius: 12px;
    border-left: 4px solid #007aff;
}

.availability-intro p {
    margin: 0;
    font-size: 14px;
    color: #0056b3;
    line-height: 1.5;
}

.availability-month-section {
    margin-bottom: 24px;
}

.month-header {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    padding: 0 4px;
}

.availability-date-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.availability-date-card:active {
    transform: scale(0.98);
}

.date-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-badge {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.date-weekday {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
    opacity: 0.9;
}

.date-info {
    flex: 1;
    min-width: 0;
}

.date-time {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.date-visibility {
    font-size: 13px;
    color: #666;
}

.delete-date-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.delete-date-btn:hover {
    background: #fff5f5;
    border-color: #ff3b30;
    color: #ff3b30;
}

.availability-help {
    padding: 0 16px 16px;
}

.help-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.help-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.help-content h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.help-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* ============================================================================
   MVP VALIDATION COMPONENTS
   ============================================================================ */

/* SMS Preview Styles - iOS Messages */
.sms-preview-container {
    padding: 16px;
}

.sms-scenario-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 24px 0 12px 0;
}

.sms-scenario-title:first-child {
    margin-top: 0;
}

/* iOS Notification Banner */
.ios-notification {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-app {
    font-size: 11px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 2px 0;
}

.notification-preview {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    font-size: 12px;
    color: #8e8e93;
    flex-shrink: 0;
}

/* iOS Messages Screen */
.ios-messages-screen {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin-bottom: 24px;
}

.ios-messages-header {
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ios-back {
    color: #007aff;
    font-size: 17px;
    cursor: pointer;
}

.ios-contact {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.ios-contact-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007aff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.ios-contact-name {
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.ios-info {
    color: #007aff;
    font-size: 18px;
    cursor: pointer;
}

.ios-messages-content {
    padding: 16px;
    background: #fff;
    min-height: 100px;
}

.ios-message-bubble {
    margin-bottom: 8px;
    max-width: 75%;
    display: flex;
    flex-direction: column;
}

.ios-message-bubble.received {
    align-items: flex-start;
}

.ios-message-bubble.sent {
    align-items: flex-end;
    align-self: flex-end;
    margin-left: auto;
}

.ios-bubble-text {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.ios-message-bubble.received .ios-bubble-text {
    background: #e9e9eb;
    color: #000;
    border-bottom-left-radius: 4px;
}

.ios-message-bubble.sent .ios-bubble-text {
    background: #007aff;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ios-message-time {
    font-size: 11px;
    color: #8e8e93;
    margin-top: 4px;
    padding: 0 4px;
}

.validation-note {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f0f9ff;
    border-left: 3px solid #007aff;
    border-radius: 6px;
    font-size: 12px;
    color: #1e40af;
    font-weight: 500;
}

/* SMS Waiting State */
.sms-waiting-state {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.sms-waiting-state .phone-idle-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.sms-waiting-state p {
    color: #8e8e93;
    font-size: 14px;
}

.ios-messages-empty {
    padding: 40px 20px;
    text-align: center;
}

.ios-messages-empty .empty-state-text {
    color: #8e8e93;
    font-size: 14px;
}

/* Pulse animation for notification */
.ios-notification.pulse {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 24px rgba(0, 122, 255, 0.4);
    }
}

/* Waiting Banner (for job progress) */
.waiting-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.waiting-banner .waiting-icon {
    font-size: 32px;
}

.waiting-banner h4 {
    font-size: 14px;
    font-weight: 600;
    color: #9a3412;
    margin-bottom: 4px;
}

.waiting-banner p {
    font-size: 13px;
    color: #c2410c;
}

/* Active/Pending states for progress items */
.sitter-progress-item.active {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #3b82f6;
}

.sitter-progress-item.active .progress-status {
    color: #1d4ed8;
}

.sitter-progress-item.pending {
    opacity: 0.6;
}

.sitter-progress-item.pending .progress-status {
    color: #6b7280;
}

/* Sitter Idle Phone State */
.sitter-idle-state {
    background: linear-gradient(135deg, #f5f5f7 0%, #e5e5ea 100%);
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    margin-bottom: 20px;
}

.sitter-idle-state .idle-phone-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.sitter-idle-state .idle-text {
    font-size: 18px;
    font-weight: 600;
    color: #8e8e93;
    margin-bottom: 8px;
}

.sitter-idle-state .idle-subtext {
    font-size: 14px;
    color: #aeaeb2;
}

/* SMS Info Box */
.sms-info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sms-info-box .info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sms-info-box .info-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 4px;
}

.sms-info-box .info-content p {
    font-size: 13px;
    color: #0c4a6e;
    line-height: 1.4;
}

/* Future SMS State */
.future-sms-state {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 20px;
}

.future-sms-state .future-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.future-sms-state h4 {
    font-size: 16px;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 8px;
}

.future-sms-state p {
    font-size: 14px;
    color: #6b21a8;
    line-height: 1.4;
}

/* Future Benefits List */
.future-benefits {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.future-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.future-benefits .benefit-item:last-child {
    border-bottom: none;
}

.future-benefits .benefit-icon {
    color: #22c55e;
    font-weight: 600;
    font-size: 16px;
}

.future-benefits .benefit-item span:last-child {
    font-size: 14px;
    color: #374151;
}

/* Job Progress Styles */
.progress-container {
    padding: 16px;
}

.mental-load-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mental-load-banner h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.mental-load-banner p {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
}

.job-details-summary {
    background: #f8f9fa;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    border-left: 3px solid #007aff;
}

.job-details-summary h4 {
    font-size: 15px;
    margin: 0 0 6px 0;
    color: #000;
    font-weight: 600;
}

.job-details-summary p {
    font-size: 13px;
    margin: 0;
    color: #666;
}

.sitter-progress-list {
    margin-bottom: 20px;
}

.sitter-progress-item {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.sitter-progress-item.completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.sitter-progress-item.skipped {
    opacity: 0.6;
}

.progress-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007aff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.sitter-progress-item.completed .progress-rank {
    background: #22c55e;
}

.sitter-progress-item.skipped .progress-rank {
    background: #d1d5db;
}

.progress-info {
    flex: 1;
}

.progress-name {
    font-weight: 600;
    color: #000;
    font-size: 15px;
    margin-bottom: 4px;
}

.progress-status {
    font-size: 13px;
    color: #666;
}

.progress-time {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.alt-scenario-note {
    background: #fef3c7;
    border: 1px solid #fde047;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #854d0e;
    margin-bottom: 16px;
    line-height: 1.5;
}

.success-banner {
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    font-size: 32px;
}

.success-banner h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #166534;
}

.success-banner p {
    margin: 0;
    font-size: 13px;
    color: #15803d;
}

/* Metrics Dashboard Styles */
.metrics-container {
    padding: 16px;
}

.metrics-summary {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.metrics-summary h3 {
    font-size: 18px;
    margin: 0 0 6px 0;
    color: #000;
    font-weight: 700;
}

.metrics-summary p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

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

.metric-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    color: #007aff;
    margin-bottom: 2px;
}

.metric-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.metric-detail {
    font-size: 12px;
    color: #666;
}

.hypothesis-validation {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    margin-top: 24px;
}

.hypothesis-validation h4 {
    font-size: 16px;
    margin: 0 0 12px 0;
    color: #000;
    font-weight: 700;
}

.hypothesis-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #000;
}

.hypothesis-item.validated {
    border-left: 3px solid #22c55e;
}

.hypothesis-item.needs-work {
    border-left: 3px solid #f59e0b;
}

.hypothesis-status {
    font-size: 18px;
    flex-shrink: 0;
}

/* Sitter Ranking Styles */
.ranking-explanation-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 16px;
    border-radius: 10px;
    margin: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.banner-content h3 {
    font-size: 15px;
    margin: 0 0 4px 0;
    font-weight: 700;
}

.banner-content p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.ranked-sitters-list {
    padding: 0 16px 16px;
}

.ranked-sitter-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    transition: all 0.2s;
    cursor: move;
}

.ranked-sitter-card:hover {
    border-color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.rank-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.rank-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #007aff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3);
}

.drag-handle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0.4;
}

.drag-dots {
    width: 16px;
    height: 2px;
    background: #666;
    border-radius: 1px;
}

.ranked-sitter-card:hover .drag-handle {
    opacity: 0.8;
}

.sitter-card-content {
    flex: 1;
    min-width: 0;
}

.sitter-meta {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .phones-wrapper {
        gap: 30px;
    }
}

@media (max-width: 500px) {
    .phone {
        width: 100%;
        max-width: 375px;
    }
}

/* Onboarding Styles */
.invite-friend-container,
.onboarding-container {
    padding: 24px;
    background: #fff;
    height: 100%;
    overflow-y: auto;
}

.invite-header,
.onboarding-header {
    text-align: center;
    margin-bottom: 32px;
}

.invite-icon,
.logo-large {
    font-size: 64px;
    margin-bottom: 16px;
}

.invite-header h2,
.onboarding-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
}

.invite-subtitle,
.onboarding-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.form-section {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #d1d1d6;
    border-radius: 8px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
}

.form-input:disabled {
    background: #f5f5f5;
    color: #666;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #34c759;
    margin-top: 4px;
}

/* Form Row for inline inputs */
.form-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.form-input-small {
    max-width: 80px;
    flex-shrink: 0;
}

/* Child Form Card */
.child-form-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.child-form-row {
    display: flex;
    gap: 12px;
}

.form-group-inline {
    flex: 1;
}

.form-group-inline.form-group-small {
    flex: 0 0 80px;
}

.form-label-small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.add-another-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: transparent;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-another-btn:hover {
    border-color: #007aff;
    color: #007aff;
    background: #f0f9ff;
}

/* Form Sublabel */
.form-sublabel {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Sitters Form List */
.sitters-form-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitter-form-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.sitter-form-card.empty {
    background: #fff;
    border-style: dashed;
}

.sitter-form-row {
    display: flex;
    gap: 10px;
}

.sitter-form-row .form-group-inline {
    flex: 1;
}

.sitter-form-row .form-input {
    padding: 10px 12px;
    font-size: 14px;
}

/* Form Divider */
.form-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    text-align: center;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.form-divider span {
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Time Row */
.time-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.time-row .form-group-inline {
    flex: 1;
}

.time-separator {
    padding-bottom: 14px;
    color: #6b7280;
    font-size: 14px;
}

/* Form Textarea */
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #d1d1d6;
    border-radius: 8px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    resize: vertical;
    min-height: 60px;
}

.form-textarea:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Value Props */
.value-props {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.value-prop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 1px solid #bae6fd;
}

.value-prop-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.value-prop-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 2px;
}

.value-prop-text p {
    font-size: 13px;
    color: #0369a1;
    margin: 0;
}

/* Confirmed User Card */
.confirmed-user-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.confirmed-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.confirmed-name {
    font-size: 16px;
    font-weight: 600;
    color: #166534;
}

.confirmed-phone {
    font-size: 14px;
    color: #15803d;
}

.verified-badge {
    font-size: 12px;
    color: #22c55e;
    font-weight: 500;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.role-option {
    padding: 16px;
    background: #fff;
    border: 2px solid #d1d1d6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.role-option:hover {
    border-color: #007aff;
}

.role-option.selected {
    border-color: #007aff;
    background: #f0f9ff;
}

.role-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.role-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.info-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #007aff;
    border-radius: 12px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content strong {
    display: block;
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.primary-btn {
    padding: 14px 24px;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn:hover {
    background: #0051d5;
}

.full-width {
    width: 100%;
}

.invite-footer,
.onboarding-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.small-text {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.sms-note {
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: #000;
}

.add-child-placeholder {
    padding: 24px;
    background: #f5f5f5;
    border: 2px dashed #d1d1d6;
    border-radius: 12px;
    text-align: center;
}

.placeholder-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.placeholder-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Styles Guide */
.styles-guide {
    padding: 24px;
    overflow-y: auto;
    height: 100%;
}

.styles-section {
    margin-bottom: 32px;
}

.styles-heading {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.styles-intro {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.styles-subheading {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 16px 0;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.color-swatch {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-box {
    height: 80px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.color-info strong {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.color-info code {
    font-size: 12px;
    color: #666;
    font-family: 'Monaco', 'Courier New', monospace;
}

.color-usage {
    font-size: 11px;
    color: #999;
}

.type-scale {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.type-example {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.type-sample {
    color: #000;
}

.type-example code {
    font-size: 11px;
    color: #999;
    font-family: 'Monaco', 'Courier New', monospace;
}

.type-note {
    margin-top: 16px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.type-note strong {
    color: #000;
}

.button-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-primary {
    background: #007aff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary {
    background: #fff;
    color: #007aff;
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #007aff;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.btn-text {
    background: none;
    color: #007aff;
    padding: 12px 16px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.code-example {
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

.code-example code {
    font-size: 11px;
    color: #666;
    font-family: 'Monaco', 'Courier New', monospace;
    word-break: break-all;
}

.radius-examples {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radius-box {
    width: 80px;
    height: 80px;
    background: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.shadow-examples {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shadow-box {
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shadow-box strong {
    font-size: 14px;
    color: #000;
}

.shadow-box code {
    font-size: 11px;
    color: #666;
    font-family: 'Monaco', 'Courier New', monospace;
}

.ios-components {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.component-example {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.component-example strong {
    font-size: 14px;
    color: #000;
}

.ios-bubble-example {
    font-size: 15px;
    line-height: 1.4;
}

.spacing-scale {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.spacing-bar {
    height: 24px;
    background: #007aff;
    border-radius: 4px;
}

.spacing-item code {
    font-size: 12px;
    color: #666;
    font-family: 'Monaco', 'Courier New', monospace;
}

/* ============================================================================
   CONFIRM & SEND SCREEN STYLES
   ============================================================================ */

/* Job Summary Card */
.job-summary-card {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.job-summary-header {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.job-summary-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #3c3c43;
    line-height: 1.4;
}

.job-summary-label {
    color: #8e8e93;
    min-width: 50px;
    font-weight: 500;
}

/* Sitter Order List */
.sitter-order-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sitter-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 10px;
}

.sitter-order-rank {
    width: 24px;
    height: 24px;
    background: #007aff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.sitter-order-info {
    flex: 1;
}

.sitter-order-name {
    font-size: 14px;
    font-weight: 500;
    color: #1c1c1e;
}

.sitter-order-phone {
    font-size: 12px;
    color: #8e8e93;
}

/* How It Works Card */
.how-it-works-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.how-it-works-header {
    font-size: 13px;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 12px;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.how-it-works-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #0369a1;
}

.how-it-works-step .step-number {
    width: 20px;
    height: 20px;
    background: #0284c7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Sitter Rank Badge in Add Sitters */
.sitter-rank {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 8px;
}

/* Update sitter form card to accommodate rank */
.sitter-form-card {
    display: flex;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
}

.sitter-form-card.empty {
    background: #fafafa;
    border: 1px dashed #d1d1d6;
}

.sitter-form-card.empty .sitter-rank {
    background: linear-gradient(135deg, #d1d1d6 0%, #c7c7cc 100%);
}

.sitter-form-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Send Button Styling */
.send-btn {
    background: linear-gradient(135deg, #34c759 0%, #30a14e 100%);
    font-size: 16px;
    font-weight: 600;
}

.send-btn:hover {
    background: linear-gradient(135deg, #30a14e 0%, #248a3d 100%);
}

/* ============================================================================
   EVENT STATUS PAGE STYLES
   ============================================================================ */

.event-status-page {
    padding: 16px;
}

.event-status-header {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.event-status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-badge.status-finding {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #f59e0b;
    animation: pulse-badge 2s ease-in-out infinite;
}

.event-status-badge.status-found {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #10b981;
}

.event-status-badge.status-confirmed {
    background: linear-gradient(135deg, #34c759 0%, #30a14e 100%);
    color: white;
    border: none;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Event Details Card */
.event-details-card {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.event-date-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: white;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 70px;
}

.event-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.event-weekday {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 4px;
}

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-time {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1e;
}

.event-child,
.event-address,
.event-notes {
    font-size: 13px;
    color: #3c3c43;
    line-height: 1.3;
}

.event-notes {
    color: #8e8e93;
    font-style: italic;
}

/* Outreach Section */
.outreach-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.outreach-header {
    margin-bottom: 12px;
}

.outreach-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1c1c1e;
    margin: 0 0 4px 0;
}

.outreach-subtitle {
    font-size: 13px;
    color: #8e8e93;
    margin: 0;
}

/* How It Works Note */
.how-it-works-note {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 14px;
}

.how-it-works-note .note-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.how-it-works-note .note-text {
    font-size: 12px;
    color: #0369a1;
    line-height: 1.5;
}

.how-it-works-note .note-text strong {
    color: #0c4a6e;
}

/* Updated Waiting/Success Banners */
.waiting-banner,
.success-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.waiting-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
}

.waiting-banner .waiting-icon {
    font-size: 28px;
}

.waiting-banner h4 {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin: 0 0 2px 0;
}

.waiting-banner p {
    font-size: 12px;
    color: #a16207;
    margin: 0;
}

.success-banner {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #10b981;
}

.success-banner .success-icon {
    font-size: 28px;
}

.success-banner h4 {
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
    margin: 0 0 2px 0;
}

.success-banner p {
    font-size: 12px;
    color: #047857;
    margin: 0;
}

/* Sitter Progress List Updates */
.sitter-progress-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitter-progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e5ea;
}

.sitter-progress-item.active {
    border-color: #007aff;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.sitter-progress-item.completed {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.sitter-progress-item.skipped {
    opacity: 0.6;
    background: #f9fafb;
}

.sitter-progress-item.pending {
    background: #fafafa;
    border-style: dashed;
}

.progress-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    background: #e5e5ea;
    color: #8e8e93;
}

.sitter-progress-item.active .progress-rank {
    background: #007aff;
    color: white;
}

.sitter-progress-item.completed .progress-rank {
    background: #10b981;
    color: white;
}

.progress-info {
    flex: 1;
}

.progress-name {
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1e;
}

.progress-status {
    font-size: 12px;
    color: #8e8e93;
    margin-top: 2px;
}

.sitter-progress-item.active .progress-status {
    color: #007aff;
}

.sitter-progress-item.completed .progress-status {
    color: #10b981;
}

.progress-time {
    font-size: 11px;
    color: #8e8e93;
    font-weight: 500;
}

.progress-contact {
    font-size: 11px;
    color: #007aff;
    margin-top: 2px;
}

/* SMS Activity Log */
.sms-activity-log {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.activity-header {
    font-size: 13px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 12px;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-direction {
    font-weight: 600;
    flex-shrink: 0;
}

.activity-item.outgoing .activity-direction {
    color: #007aff;
}

.activity-item.incoming .activity-direction {
    color: #34c759;
}

.activity-item.system .activity-direction {
    color: #8e8e93;
}

.activity-item.upcoming .activity-direction {
    color: #ff9500;
}

.activity-message {
    color: #3c3c43;
    flex: 1;
    min-width: 0;
}

.activity-item.incoming .activity-message {
    font-weight: 600;
    color: #34c759;
}

.activity-item.highlight {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    margin: 4px -8px;
    padding: 10px 8px;
    border-radius: 8px;
    border-bottom: none;
}

.activity-item.upcoming {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    margin: 4px -8px;
    padding: 10px 8px;
    border-radius: 8px;
    border-bottom: none;
}

.activity-time {
    font-size: 10px;
    color: #8e8e93;
    flex-shrink: 0;
}

/* Web Access Note */
.web-access-note {
    display: flex;
    gap: 12px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #c4b5fd;
    border-radius: 12px;
    padding: 14px;
}

.web-access-note .note-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.web-access-note .note-text {
    font-size: 12px;
    color: #5b21b6;
    line-height: 1.5;
}

.web-access-note .note-text strong {
    color: #4c1d95;
}

/* Event Edit Icon (inline) */
.event-edit-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding: 4px;
}

.event-edit-icon:hover {
    opacity: 1;
}

.event-details-card {
    position: relative;
}

/* Event Action Buttons */
.event-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.event-actions-secondary {
    margin-bottom: 10px;
}

.event-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.event-action-btn .action-icon {
    font-size: 16px;
}

/* Edit Button */
.event-action-btn.edit-btn {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: white;
}

.event-action-btn.edit-btn:hover {
    background: linear-gradient(135deg, #0051d5 0%, #4240b0 100%);
}

.event-action-btn.edit-btn.secondary {
    background: #f0f0f5;
    color: #007aff;
    border: 1px solid #d1d1d6;
}

.event-action-btn.edit-btn.secondary:hover {
    background: #e5e5ea;
}

/* Message Button */
.event-action-btn.message-btn {
    background: linear-gradient(135deg, #34c759 0%, #30a14e 100%);
    color: white;
}

.event-action-btn.message-btn:hover {
    background: linear-gradient(135deg, #30a14e 0%, #248a3d 100%);
}

/* Cancel Button */
.event-action-btn.cancel-btn {
    background: #f0f0f5;
    color: #8e8e93;
    border: 1px solid #d1d1d6;
}

.event-action-btn.cancel-btn:hover {
    background: #e5e5ea;
    color: #636366;
}

.event-action-btn.cancel-btn.warning {
    background: #fff5f5;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.event-action-btn.cancel-btn.warning:hover {
    background: #fee2e2;
    border-color: #f87171;
}

/* Action Hint */
.action-hint {
    font-size: 11px;
    color: #8e8e93;
    text-align: center;
    margin: 0 0 16px 0;
}

/* SMS Link styling (inside message bubbles) */
.sms-link {
    color: #007aff;
    text-decoration: underline;
    word-break: break-all;
}

/* ============================================================================
   MEETING NOTES ALIGNMENT - NEW STYLES
   ============================================================================ */

/* Trust Hint - for address field */
.trust-hint {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    padding: 8px 10px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 3px solid #007aff;
}

.trust-hint .trust-icon {
    font-size: 14px;
    line-height: 1.3;
}

/* Optional Label */
.optional-label {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 400;
}

/* Bench Header */
.bench-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.bench-icon {
    font-size: 16px;
}

/* Drag Handle & Drag Icon */
.drag-handle {
    cursor: grab;
    color: #c7c7cc;
    font-size: 16px;
    padding: 4px;
    margin-right: 4px;
    user-select: none;
}

.drag-handle:hover {
    color: #8e8e93;
}

.drag-icon {
    color: #007aff;
    font-weight: bold;
}

.sitter-form-card[draggable="true"] {
    cursor: grab;
}

.sitter-form-card[draggable="true"]:active {
    cursor: grabbing;
}

/* Group SMS Header */
.group-sms-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8f5e9;
    border-radius: 8px;
    font-size: 12px;
    color: #2e7d32;
    margin-bottom: 12px;
}

.group-icon {
    font-size: 14px;
}

.group-label {
    font-weight: 500;
}

/* Next Event Badge */
.next-event-badge {
    display: inline-block;
    background: #007aff;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

.next-event-card {
    border: 2px solid #007aff;
}

/* First Time Badge */
.first-time-badge {
    font-size: 10px;
    color: #8e8e93;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.first-time-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: #666;
    margin-top: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.first-time-note .trust-icon {
    font-size: 14px;
}

/* Cancellation Views */
.status-cancelled {
    background: #dc2626 !important;
    color: white !important;
}

.cancel-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fef2f2;
    border-radius: 12px;
    border-left: 4px solid #dc2626;
    margin-bottom: 16px;
}

.cancel-banner .cancel-icon {
    font-size: 24px;
}

.cancel-banner h4 {
    font-size: 15px;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 4px;
}

.cancel-banner p {
    font-size: 13px;
    color: #7f1d1d;
}

.highlight-cancel {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
}

.activity-item.highlight-cancel {
    background: #fef2f2;
    border-radius: 6px;
    padding: 8px;
    margin: -4px;
}

/* Re-blast Section */
.reblast-section {
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5ea;
    margin-bottom: 16px;
}

.reblast-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.reblast-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reblast-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.reblast-btn.primary {
    background: #007aff;
    color: white;
}

.reblast-btn.primary:hover {
    background: #0056b3;
}

.reblast-btn.secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e5ea;
}

.reblast-btn.secondary:hover {
    background: #e8e8ed;
}

.reblast-btn .btn-icon {
    font-size: 20px;
}

.reblast-btn .btn-text {
    display: flex;
    flex-direction: column;
}

.reblast-btn .btn-text strong {
    font-size: 14px;
    font-weight: 600;
}

.reblast-btn .btn-text small {
    font-size: 12px;
    opacity: 0.8;
}

/* Remaining Bench */
.remaining-bench {
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5ea;
    margin-bottom: 16px;
}

.remaining-bench h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.bench-status-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bench-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.bench-status-item.cancelled {
    opacity: 0.6;
}

.bench-rank {
    width: 24px;
    height: 24px;
    background: #e5e5ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.bench-name {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.bench-status-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.bench-status-badge.cancelled {
    background: #fef2f2;
    color: #dc2626;
}

.bench-status-badge.available {
    background: #ecfdf5;
    color: #059669;
}

/* ============================================================================
   ARCHITECTURE SECTION STYLES
   ============================================================================ */

.architecture-section {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
}

.architecture-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.arch-details {
    margin-bottom: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.arch-details summary {
    padding: 10px 12px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arch-details summary::-webkit-details-marker {
    display: none;
}

.arch-details summary::before {
    content: '▶';
    font-size: 10px;
    color: #666;
    transition: transform 0.2s;
}

.arch-details[open] summary::before {
    transform: rotate(90deg);
}

.arch-details summary:hover {
    background: #f0f0f0;
}

.arch-diagram {
    padding: 12px;
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 10px;
    line-height: 1.4;
    overflow-x: auto;
    margin: 0;
    white-space: pre;
}

/* Twilio Capabilities Table */
.twilio-table {
    padding: 12px;
}

.twilio-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.twilio-row:last-child {
    border-bottom: none;
}

.twilio-row.header {
    font-weight: 600;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.twilio-row .status-yes {
    color: #059669;
    font-weight: 500;
}

.twilio-note {
    padding: 8px 12px;
    font-size: 11px;
    color: #666;
    background: #fffbeb;
    border-top: 1px solid #fef3c7;
    margin: 0;
    line-height: 1.4;
}

.twilio-note:first-of-type {
    margin-top: 8px;
}

/* Analytics Metrics List */
.metrics-list {
    padding: 12px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-name {
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 11px;
    color: #6366f1;
    background: #eef2ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.metric-target {
    font-size: 12px;
    color: #666;
}

/* Architecture Link Card (in Specs tab) */
.architecture-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.architecture-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.arch-link-icon {
    font-size: 28px;
    background: rgba(255,255,255,0.2);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-link-content {
    flex: 1;
}

.arch-link-content h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.arch-link-content p {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    margin: 0;
}

.arch-link-arrow {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

/* ============================================================================
   ARCHITECTURE VIEW (Full Page)
   ============================================================================ */

.architecture-view {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    background: #f8f9fa;
}

.arch-header {
    text-align: center;
    margin-bottom: 32px;
}

.back-to-demo-btn {
    position: absolute;
    left: 32px;
    top: 32px;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.back-to-demo-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.arch-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.arch-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.arch-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.arch-card.full-width {
    grid-column: 1 / -1;
}

.arch-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* High-Level Architecture Visual */
.arch-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 20px 0;
}

.arch-component {
    text-align: center;
    padding: 24px 32px;
    border-radius: 16px;
    min-width: 160px;
}

.arch-component.parent-pwa {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.arch-component.backend {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.arch-component.sitter-sms {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.component-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.component-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.component-tech {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.connector-label {
    font-size: 11px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.connector-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ddd 0%, #bbb 50%, #ddd 100%);
    position: relative;
}

.connector-line::after {
    content: '→';
    position: absolute;
    right: -8px;
    top: -8px;
    color: #999;
    font-size: 16px;
}

/* SMS Flow Diagram */
.flow-diagram {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #e5e5e5;
}

.flow-step.highlight {
    background: #fff7ed;
    border-left-color: #f97316;
}

.flow-step.success {
    background: #ecfdf5;
    border-left-color: #10b981;
}

.flow-number {
    width: 28px;
    height: 28px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.flow-step.highlight .flow-number {
    background: #f97316;
}

.flow-step.success .flow-number {
    background: #10b981;
}

.flow-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flow-content strong {
    font-size: 14px;
    color: #1a1a2e;
}

.flow-content span {
    font-size: 12px;
    color: #666;
}

.flow-arrow {
    text-align: center;
    color: #ccc;
    font-size: 18px;
    line-height: 1;
}

/* Data Model */
.data-model {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.entity {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    min-width: 120px;
}

.entity-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.entity-fields {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.entity-fields span {
    font-size: 12px;
    color: #666;
    font-family: 'SF Mono', monospace;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.entity-connector {
    font-size: 12px;
    color: #999;
    padding-top: 20px;
    font-weight: 500;
}

.status-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.contacting {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-arrow {
    color: #999;
    font-size: 14px;
}

/* Twilio Capabilities */
.capability-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.capability-item.yes {
    background: #ecfdf5;
}

.cap-status {
    font-size: 18px;
}

.cap-name {
    font-weight: 500;
    color: #1a1a2e;
    flex: 1;
}

.cap-note {
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.capability-notes {
    background: #fffbeb;
    border-radius: 10px;
    padding: 12px 16px;
}

.capability-notes p {
    font-size: 12px;
    color: #92400e;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.capability-notes p:last-child {
    margin-bottom: 0;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.metric-card .metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.metric-card .metric-label {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
}

.tracking-events {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}

.tracking-events h4 {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-tag {
    font-size: 11px;
    font-family: 'SF Mono', monospace;
    background: #fff;
    color: #667eea;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stack-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stack-layer {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stack-tech {
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 500;
}
