        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f8f9fa;
            color: #212529;
            overflow-x: hidden;
            max-width: 414px;
            margin: 0 auto;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            min-height: 100vh;
            position: relative;
        }
        
        .phone-frame {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            position: relative;
        }
        
        .status-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 20px 8px;
            color: white;
            font-size: 14px;
            font-weight: 500;
        }
        
        .app-header {
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(20px);
            padding: 15px 20px;
            border-radius: 0 0 25px 25px;
            margin-bottom: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        
        .app-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 5px;
        }
        
        .app-title h1 {
            font-size: 24px;
            color: #2c3e50;
            font-weight: 700;
        }
        
        .app-subtitle {
            color: #6c757d;
            font-size: 14px;
            margin-left: 35px;
        }
        
        .quick-stats {
            display: flex;
            gap: 10px;
            margin: 15px 0;
        }
        
        .quick-stat {
            flex: 1;
            background: rgba(255,255,255,0.3);
            padding: 12px;
            border-radius: 15px;
            text-align: center;
            color: white;
            backdrop-filter: blur(10px);
        }
        
        .stat-num {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 2px;
        }
        
        .stat-label {
            font-size: 11px;
            opacity: 0.9;
        }
        
        .main-content {
            padding: 0 20px 100px;
        }
        
        .action-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .action-card {
            background: white;
            border-radius: 20px;
            padding: 25px 20px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-family: inherit;
        }
        
        .action-card:active {
            transform: scale(0.95);
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        }
        
        .card-icon {
            font-size: 35px;
            margin-bottom: 12px;
            display: block;
        }
        
        .card-title {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .card-desc {
            font-size: 12px;
            color: #6c757d;
            line-height: 1.4;
        }
        
        .emergency-btn {
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            border: none;
            padding: 18px;
            border-radius: 50px;
            font-size: 18px;
            font-weight: 600;
            width: 100%;
            margin-bottom: 25px;
            box-shadow: 0 8px 25px rgba(255,107,107,0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .emergency-btn:active {
            transform: translateY(2px);
            box-shadow: 0 5px 15px rgba(255,107,107,0.4);
        }
        
        .recent-activity {
            background: white;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .activity-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px 0;
            border-bottom: 1px solid #f8f9fa;
        }
        
        .activity-item:last-child {
            border-bottom: none;
        }
        
        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }
        
        .icon-report { background: #fff5f5; }
        .icon-reward { background: #fffbeb; }
        .icon-update { background: #f0fff4; }
        
        .activity-details {
            flex: 1;
        }
        
        .activity-title {
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 2px;
        }
        
        .activity-desc {
            font-size: 12px;
            color: #6c757d;
        }
        
        .activity-time {
            font-size: 11px;
            color: #adb5bd;
            margin-top: 2px;
        }
        
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 414px;
            background: white;
            border-radius: 25px 25px 0 0;
            padding: 15px 20px 25px;
            box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            border-radius: 12px;
            transition: all 0.3s ease;
            font-family: inherit;
        }
        
        .nav-item.active {
            background: rgba(102, 126, 234, 0.1);
        }
        
        .nav-item.active .nav-icon {
            color: #667eea;
        }
        
        .nav-icon {
            font-size: 22px;
            color: #6c757d;
            transition: color 0.3s ease;
        }
        
        .nav-label {
            font-size: 10px;
            color: #6c757d;
            font-weight: 500;
        }
        
        .nav-item.active .nav-label {
            color: #667eea;
        }
        
        .screen {
            display: none;
            animation: slideIn 0.3s ease-out;
        }
        
        .screen.active {
            display: block;
        }
        
        .modal {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 414px;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            display: none;
        }
        
        .modal.active {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }
        
        .modal-content {
            background: white;
            margin: 50px 20px;
            border-radius: 20px;
            padding: 25px;
            max-height: calc(100vh - 100px);
            overflow-y: auto;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
        }
        
        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #f8f9fa;
            border-radius: 12px;
            font-size: 16px;
            transition: border-color 0.3s ease;
            font-family: inherit;
            background: #f8f9fa;
        }
        
        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: #667eea;
            background: white;
        }
        
        .gps-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            color: #28a745;
            font-size: 12px;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-primary:active {
            transform: translateY(1px);
        }
        
        .btn-secondary {
            background: #f8f9fa;
            color: #6c757d;
            border: none;
            padding: 12px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            margin-top: 10px;
            width: 100%;
            cursor: pointer;
        }
        
        .rewards-card {
            background: linear-gradient(135deg, #ffd89b, #19547b);
            color: white;
            padding: 25px;
            border-radius: 20px;
            text-align: center;
            margin-bottom: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        .points-balance {
            font-size: 36px;
            font-weight: bold;
            margin: 10px 0;
        }
        
        .map-view {
            background: #e3f2fd;
            border-radius: 15px;
            height: 200px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .map-placeholder {
            text-align: center;
            color: #6c757d;
        }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .success-toast {
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%);
            background: #28a745;
            color: white;
            padding: 15px 25px;
            border-radius: 50px;
            z-index: 1001;
            animation: toastSlide 3s ease-out;
            max-width: 300px;
            text-align: center;
            font-size: 14px;
            font-weight: 500;
        }
        
        @keyframes toastSlide {
            0%, 100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
            10%, 90% { opacity: 1; transform: translateX(-50%) translateY(0); }
        }
