* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #f8fafc; color: #1e293b; line-height: 1.6; } .app-container { max-width: 428px; margin: 0 auto; background: white; min-height: 100vh; position: relative; box-shadow: 0 0 20px rgba(0,0,0,0.1); } /* Medical Color Scheme */ .medical-blue { color: #4f46e5; } .medical-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .medical-gradient { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); } .medical-accent { color: #ef4444; } .bg-medical-blue { background-color: #4f46e5; } .bg-medical-accent { background-color: #ef4444; } /* Common Components */ .btn { padding: 12px 24px; border: none; border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-size: 16px; text-decoration: none; display: inline-block; text-align: center; } .btn-primary { background-color: #4f46e5; color: white; } .btn-primary:hover { background-color: #4338ca; transform: translateY(-2px); } .btn-full { width: 100%; } .input-field { width: 100%; padding: 16px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 16px; background-color: #f9fafb; transition: border-color 0.3s ease; } .input-field:focus { outline: none; border-color: #4f46e5; background-color: white; } .select-field { width: 100%; padding: 16px; border: 2px solid #e5e7eb; border-radius: 12px; font-size: 16px; background-color: #f9fafb; cursor: pointer; } .card { background: white; border-radius: 16px; padding: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); margin-bottom: 16px; } /* Onboarding Screen */ .onboarding { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: white; text-align: center; padding: 40px 24px; } .app-logo { width: 120px; height: 120px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); } .app-logo i { font-size: 60px; color: #4f46e5; } .onboarding h1 { font-size: 48px; font-weight: bold; margin-bottom: 16px; } .onboarding p { font-size: 20px; margin-bottom: 48px; opacity: 0.9; } /* Auth Screen */ .auth-screen { padding: 40px 24px; } .auth-header { background: #4f46e5; color: white; padding: 60px 24px 40px; text-align: center; margin: -40px -24px 40px; } .auth-header h2 { font-size: 28px; margin-bottom: 8px; } .tab-bar { display: flex; background: #f1f5f9; border-radius: 12px; margin-bottom: 32px; padding: 4px; } .tab { flex: 1; padding: 12px; text-align: center; border-radius: 8px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; } .tab.active { background: white; color: #4f46e5; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #374151; } /* Profile Setup */ .profile-setup { padding: 0; } .profile-header { background: #4f46e5; color: white; padding: 60px 24px 40px; text-align: center; } .profile-content { padding: 24px; } .profile-photo { text-align: center; margin-bottom: 32px; } .photo-circle { width: 100px; height: 100px; background: #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; } .photo-circle i { font-size: 40px; color: #9ca3af; } .add-photo-btn { background: none; border: none; color: #4f46e5; font-weight: 600; cursor: pointer; } /* Home Screen */ .home-screen { background: #f8fafc; min-height: 100vh; padding-bottom: 80px; } .home-header { background: white; padding: 60px 24px 24px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .user-info { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; } .user-avatar { display: flex; align-items: center; gap: 12px; } .avatar { width: 48px; height: 48px; background: linear-gradient(45deg, #f59e0b, #ef4444); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .user-details h3 { font-size: 18px; font-weight: 600; } .user-details p { color: #6b7280; font-size: 14px; } .header-actions { display: flex; gap: 12px; } .icon-btn { width: 40px; height: 40px; border: none; background: #f9fafb; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; } .notification-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; } .search-bar { display: flex; align-items: center; background: #f9fafb; border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; } .search-bar i { color: #9ca3af; margin-right: 12px; } .search-bar input { border: none; background: none; outline: none; flex: 1; font-size: 16px; } .home-content { padding: 24px; } .banner-carousel { position: relative; margin-bottom: 32px; } .banner-container { position: relative; height: 180px; border-radius: 16px; overflow: hidden; } .banner-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease-in-out; } .banner-slide.active { opacity: 1; } .banner-content { display: none; } .banner-text h3 { display: none; } .banner-text p { display: none; } .banner-ad-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; } .banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 16px; } .banner-overlay-1 { background: linear-gradient(135deg, rgba(239, 68, 68, 0.7) 0%, rgba(185, 28, 28, 0.7) 100%); } .banner-overlay-2 { background: linear-gradient(135deg, rgba(34, 197, 94, 0.7) 0%, rgba(21, 128, 61, 0.7) 100%); } .banner-overlay-3 { background: linear-gradient(135deg, rgba(59, 130, 246, 0.7) 0%, rgba(29, 78, 216, 0.7) 100%); } .banner-overlay-4 { background: linear-gradient(135deg, rgba(251, 146, 60, 0.7) 0%, rgba(234, 88, 12, 0.7) 100%); } .banner-overlay-5 { background: linear-gradient(135deg, rgba(168, 85, 247, 0.7) 0%, rgba(124, 58, 237, 0.7) 100%); } .banner-overlay-6 { background: linear-gradient(135deg, rgba(236, 72, 153, 0.7) 0%, rgba(190, 24, 93, 0.7) 100%); } .banner-overlay-7 { background: linear-gradient(135deg, rgba(20, 184, 166, 0.7) 0%, rgba(13, 148, 136, 0.7) 100%); } .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; } .carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; cursor: pointer; transition: background 0.3s ease; } .carousel-dot.active { background: #4f46e5; } .specialist-container { position: relative; } .specialist-swipe-container { overflow: hidden; width: 100%; position: relative; } .specialist-swipe-container .specialist-grid { transition: transform 0.3s ease; } .specialist-navigation { margin-top: 16px; } .specialist-dots { display: flex; justify-content: center; gap: 8px; } .specialist-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; cursor: pointer; transition: background 0.3s ease; } .specialist-dot.active { background: #4f46e5; } .section-title { font-size: 20px; font-weight: bold; margin-bottom: 16px; color: #1e293b; } .emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; } .emergency-item { background: white; border-radius: 16px; padding: 20px; text-align: center; cursor: pointer; transition: transform 0.3s ease; } .emergency-item:hover { transform: translateY(-4px); } .emergency-item.blood { background: #fef2f2; color: #dc2626; } .emergency-item.ambulance { background: #fdf2f8; color: #db2777; } .emergency-item.hospital { background: #eff6ff; color: #2563eb; } .emergency-item.help { background: #f3e8ff; color: #7c3aed; } .emergency-item i { font-size: 32px; margin-bottom: 12px; } .emergency-item p { font-weight: 600; font-size: 14px; } .specialist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px; } .specialist-item { background: white; border-radius: 16px; padding: 16px; text-align: center; cursor: pointer; transition: transform 0.3s ease; } .specialist-item:hover { transform: translateY(-4px); } .specialist-item.cardiology { background: #fef2f2; color: #dc2626; } .specialist-item.oncology { background: #eff6ff; color: #2563eb; } .specialist-item.pulmonology { background: #f0fdf4; color: #16a34a; } .specialist-item.pediatrics { background: #fffbeb; color: #d97706; } .specialist-item.dental { background: #f3e8ff; color: #7c3aed; } .specialist-item.neurology { background: #eef2ff; color: #4338ca; } .specialist-item.orthopedic { background: #fff7ed; color: #ea580c; } .specialist-item.gynecology { background: #fdf2f8; color: #db2777; } .specialist-item i { font-size: 24px; margin-bottom: 8px; } .specialist-item p { font-weight: 600; font-size: 12px; } .doctor-card { background: white; border-radius: 16px; padding: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); } .doctor-image { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; } .doctor-info { flex: 1; } .doctor-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; } .doctor-info p { color: #6b7280; font-size: 14px; margin-bottom: 8px; } .doctor-rating { display: flex; align-items: center; gap: 4px; } .doctor-rating i { color: #fbbf24; font-size: 14px; } .doctor-rating span { font-size: 14px; font-weight: 600; } .doctor-actions { display: flex; flex-direction: column; gap: 8px; } .btn-small { padding: 8px 16px; font-size: 14px; border-radius: 8px; } /* Bottom Navigation */ .bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 428px; background: white; padding: 12px 24px; box-shadow: 0 -4px 12px rgba(0,0,0,0.1); display: flex; justify-content: space-around; z-index: 1000; } .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; padding: 8px; border-radius: 8px; transition: all 0.3s ease; } .nav-item.active { color: #4f46e5; } .nav-item i { font-size: 20px; } .nav-item span { font-size: 12px; font-weight: 600; } /* Doctor Details */ .doctor-details { background: white; } .doctor-banner { height: 300px; position: relative; overflow: hidden; } .doctor-banner img { width: 100%; height: 100%; object-fit: cover; } .banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1)); } .banner-actions { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; } .back-btn, .favorite-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; } .doctor-info-card { margin: -60px 24px 24px; background: white; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); position: relative; z-index: 10; } .doctor-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; } .stat-item { text-align: center; } .stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; } .stat-icon.patients { background: #eff6ff; color: #2563eb; } .stat-icon.experience { background: #f0fdf4; color: #16a34a; } .stat-icon.rating { background: #fffbeb; color: #d97706; } .stat-icon.reviews { background: #f3e8ff; color: #7c3aed; } .stat-value { font-size: 16px; font-weight: bold; margin-bottom: 4px; } .stat-label { font-size: 12px; color: #6b7280; } /* Appointment Form */ .appointment-form { padding: 24px; } .form-section { margin-bottom: 32px; } .form-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; } .date-picker { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 24px; } .date-item { aspect-ratio: 1; border: 2px solid #e5e7eb; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; } .date-item.selected { background: #4f46e5; color: white; border-color: #4f46e5; } .date-item.today { background: #ef4444; color: white; border-color: #ef4444; } .time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; } .time-slot { padding: 12px; border: 2px solid #e5e7eb; border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.3s ease; } .time-slot.selected { background: #4f46e5; color: white; border-color: #4f46e5; } /* Payment Screen */ .payment-summary { background: #f8fafc; border-radius: 12px; padding: 20px; margin-bottom: 24px; } .summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; } .summary-row.total { font-size: 18px; font-weight: bold; color: #4f46e5; padding-top: 12px; border-top: 1px solid #e5e7eb; } .payment-methods { margin-bottom: 24px; } .payment-method { display: flex; align-items: center; padding: 16px; border: 2px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; cursor: pointer; transition: all 0.3s ease; } .payment-method.selected { border-color: #4f46e5; background: #f8fafc; } .payment-method input[type="radio"] { margin-right: 12px; } .payment-logo { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-right: 12px; font-weight: bold; color: white; } .bkash { background: #e91e63; } .nagad { background: #ff9800; } .rocket { background: #9c27b0; } /* Emergency Forms */ .emergency-screen { background: #f8fafc; min-height: 100vh; } .emergency-header { background: #4f46e5; color: white; padding: 60px 24px 24px; text-align: center; } .emergency-content { padding: 24px; } /* Responsive Design */ @media (max-width: 480px) { .app-container { max-width: 100%; } .specialist-grid { grid-template-columns: repeat(3, 1fr); } .date-picker { grid-template-columns: repeat(5, 1fr); } } /* Loading States */ .loading { display: flex; align-items: center; justify-content: center; padding: 40px; } .spinner { width: 32px; height: 32px; border: 3px solid #e5e7eb; border-top: 3px solid #4f46e5; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Hidden class */ .hidden { display: none !important; } /* Modal */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2000; } .modal-content { background: white; border-radius: 16px; padding: 32px; margin: 24px; max-width: 320px; text-align: center; } .success-icon { width: 80px; height: 80px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; } .success-icon i { font-size: 40px; color: #16a34a; }