/* Irivo App Styles - Mobile First Design with Dark Mode */

:root {
    /* Light mode colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-gradient-start: #4285f4;
    --bg-gradient-end: #1a73e8;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e9ecef;
    --border-light: #f0f0f0;
    --card-bg: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --accent-blue: #4285f4;
    --accent-blue-hover: #1a73e8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

[data-theme="dark"] {
    /* Dark mode colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-gradient-start: #3a5998;
    --bg-gradient-end: #2c4373;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #404040;
    --border-light: #353535;
    --card-bg: #252525;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --accent-blue: #5a9fd4;
    --accent-blue-hover: #4a8bc2;
    --success-color: #34d058;
    --warning-color: #ffdf5d;
    --danger-color: #f97583;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, system-ui, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.5;
}

.app-container {
    max-width: 400px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
}

/* Mobile-First Landing Page */
.landing-container {
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.brand-header {
    margin-bottom: 2rem;
    z-index: 2;
    position: relative;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background: linear-gradient(145deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hero-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    opacity: 0.3;
    z-index: 1;
}

.neighborhood-svg {
    width: 100%;
    height: auto;
}

.action-section {
    padding: 1.5rem;
    z-index: 3;
    position: relative;
}

.primary-actions {
    margin-bottom: 2rem;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: rgba(255,255,255,0.9);
    color: #1a73e8;
    border: none;
}

.btn-primary:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-outline-light {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.quick-links {
    margin-bottom: 2rem;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    min-height: 80px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.quick-link-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.quick-link-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.quick-link-card span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.trust-indicators {
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.trust-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Welcome Screen (Legacy - for backwards compatibility) */
.welcome-screen {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: white;
    padding: 1rem 2rem 3rem 2rem;
    overflow-y: auto;
}

.logo-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 5rem 0 2rem 0;
}

.brand-logo {
    font-size: 4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    line-height: 1;
}

.brand-tagline {
    margin-bottom: 2rem;
}

.brand-tagline p {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.primary-action {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.btn-signin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.btn-signin:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Identity Verification Styles */
.page-container {
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-primary);
    min-height: 100vh;
    padding: 0;
}

.page-header {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: white;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    position: relative;
}

.back-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.header-content {
    text-align: center;
    margin-top: 1rem;
}

.header-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.header-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.verification-progress {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.step.active .step-number {
    background: var(--accent-blue);
    color: white;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step.completed .step-number::after {
    content: '✓';
    font-size: 0.8rem;
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

.step.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

.progress-bar {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-hover));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.verification-step {
    padding: 1.5rem;
}

.step-content {
    margin-bottom: 2rem;
}

.step-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: var(--accent-blue);
}

.step-content h2 {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.verification-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-group input.error {
    border-color: var(--danger-color);
}

.input-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.3;
}

.id-type-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.id-type-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--card-bg);
}

.id-type-option:hover {
    border-color: var(--accent-blue);
}

.id-type-option.active {
    border-color: var(--accent-blue);
    background: rgba(66, 133, 244, 0.1);
}

.id-type-option i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.id-type-option.active i {
    color: var(--accent-blue);
}

.id-type-option span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.id-type-option.active span {
    color: var(--accent-blue);
}

.upload-section {
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    background: var(--bg-secondary);
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--accent-blue);
    background: rgba(66, 133, 244, 0.05);
}

.upload-content i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.upload-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.upload-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.upload-preview {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    background: var(--card-bg);
}

.upload-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.file-preview i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.file-preview span {
    color: var(--text-primary);
    font-weight: 500;
}

.preview-actions {
    display: flex;
    gap: 0.5rem;
}

.verification-tips {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.verification-tips h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verification-tips h4 i {
    color: var(--accent-blue);
}

.verification-tips ul {
    list-style: none;
    padding: 0;
}

.verification-tips li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.verification-tips li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.address-form {
    margin-bottom: 2rem;
}

.document-upload {
    margin-bottom: 2rem;
}

.document-upload h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.document-upload p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.review-section {
    margin-bottom: 2rem;
}

.review-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.review-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-item h4 i {
    color: var(--accent-blue);
}

.review-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.detail-row span:first-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-row span:last-child {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.status-uploaded {
    color: var(--success-color) !important;
    font-weight: 600 !important;
}

.edit-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.edit-btn:hover {
    background: var(--accent-blue-hover);
}

.terms-agreement {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 0.1rem;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-container span:not(.checkmark) {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-container a {
    color: var(--accent-blue);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.step-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.step-actions .btn-secondary {
    flex: 0 0 auto;
}

.step-actions .btn-primary {
    flex: 1;
}

.success-content {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 4rem;
    color: var(--success-color);
}

.success-content h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-content > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.next-steps {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.next-steps h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-list {
    margin-bottom: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item .step-number {
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.step-text {
    flex: 1;
}

.step-text strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.step-text span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.3;
}

.pending-actions {
    margin-bottom: 2rem;
}

.pending-actions h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.action-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.action-card:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    text-decoration: none;
}

.action-card i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    width: 24px;
    text-align: center;
}

.action-card span {
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-secondary-small {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-secondary-small:hover {
    background: var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
}

/* Messages & Chat Styles */
.conversations-container {
    background: var(--bg-primary);
    flex: 1;
    overflow: hidden;
}

.conversations-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.search-container {
    position: relative;
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.conversations-list {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.conversation-item:hover {
    background: var(--bg-secondary);
}

.conversation-item.active-pickup {
    background: rgba(66, 133, 244, 0.05);
    border-left: 4px solid var(--accent-blue);
}

.conversation-avatar {
    position: relative;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

.status-indicator.online {
    background: var(--success-color);
}

.status-indicator.offline {
    background: var(--text-muted);
}

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

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.conversation-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.conversation-preview {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.conversation-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pickup-id {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.status-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(66, 133, 244, 0.2);
    color: var(--accent-blue);
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
}

.status-badge.completed {
    background: rgba(40, 167, 69, 0.2);
    color: var(--success-color);
}

.status-badge.new {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.status-badge.in-progress {
    background: rgba(66, 133, 244, 0.2);
    color: var(--accent-blue);
    animation: pulse 2s infinite;
}

.unread-count {
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.empty-icon i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
    justify-content: center;
}

.quick-action-btn:hover {
    background: var(--accent-blue-hover);
}

.neighbor-suggestions {
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.neighbor-suggestion {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.neighbor-suggestion:hover {
    background: var(--bg-secondary);
}

.neighbor-suggestion img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.neighbor-info {
    flex: 1;
}

.neighbor-name {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.neighbor-address {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.1rem;
}

.message-char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Chat Interface Styles */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-primary);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 20;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.user-status .status-indicator {
    width: 8px;
    height: 8px;
    border: 1px solid white;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pickup-context {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(66, 133, 244, 0.1);
    border-left: 4px solid var(--accent-blue);
    border-bottom: 1px solid var(--border-light);
}

.context-icon i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.context-info {
    flex: 1;
}

.context-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.context-details {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.context-status .status-badge {
    font-size: 0.7rem;
}

.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: var(--bg-secondary);
}

.date-separator {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.date-separator span {
    background: var(--bg-secondary);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.system-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--warning-color);
}

.message {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.message.sent {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.message-content {
    max-width: 75%;
    min-width: 0;
}

.message.sent .message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.message-bubble {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

.message.sent .message-bubble {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-align: inherit;
}

.message.sent .message-time {
    text-align: right;
}

.location-message {
    min-width: 200px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.location-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-map {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.location-eta {
    background: var(--success-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.photo-message {
    padding: 0.5rem;
}

.photo-container {
    margin-bottom: 0.5rem;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.photo-placeholder i {
    font-size: 2rem;
}

.photo-caption {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.quick-replies {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.quick-reply-chip {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-reply-chip:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.typing-bubble {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    display: inline-block;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% { 
        opacity: 1;
        transform: scale(1);
    }
}

.message-input-container {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.input-actions {
    display: flex;
    gap: 0.5rem;
}

.input-action-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.input-action-btn:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.message-input-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.75rem 1rem;
}

.message-input-wrapper textarea {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
    resize: none;
    outline: none;
    font-family: inherit;
    line-height: 1.4;
    max-height: 100px;
}

.message-input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.send-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn.active,
.send-btn:not(:disabled):hover {
    background: var(--accent-blue);
    color: white;
}

.photo-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.photo-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.photo-option:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.photo-option i {
    font-size: 2rem;
}

.profile-info {
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.profile-info h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(66, 133, 244, 0.2);
    color: var(--accent-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Support Center Styles */
.support-options {
    padding: 1.5rem;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.support-option:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.support-option.emergency {
    border-color: var(--danger-color);
    background: rgba(220, 53, 69, 0.05);
}

.support-option.emergency:hover {
    border-color: var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
}

.option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(66, 133, 244, 0.1);
    color: var(--accent-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.option-icon.emergency-icon {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.option-content {
    flex: 1;
}

.option-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.response-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

.status-badge.online {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.option-arrow {
    color: var(--text-muted);
    font-size: 1rem;
}

.recent-tickets {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.recent-tickets h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ticket-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    position: relative;
}

.ticket-status {
    width: 4px;
    background: var(--text-muted);
    border-radius: 2px;
    flex-shrink: 0;
}

.ticket-status.resolved {
    background: var(--success-color);
}

.ticket-status.in-progress {
    background: var(--accent-blue);
}

.ticket-status.pending {
    background: var(--warning-color);
}

.ticket-info {
    flex: 1;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.ticket-header h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    margin-right: 1rem;
}

.ticket-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.ticket-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.ticket-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ticket-id {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: monospace;
}

.faq-section {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.faq-header {
    margin-bottom: 1.5rem;
}

.faq-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-search {
    position: relative;
}

.faq-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.faq-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.faq-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.faq-category {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-category.active,
.faq-category:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    margin-right: 1rem;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-form-container {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.support-form {
    max-width: 100%;
}

.support-form .form-group {
    margin-bottom: 1.5rem;
}

.support-form label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.support-form select,
.support-form input[type="text"],
.support-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.support-form select:focus,
.support-form input[type="text"]:focus,
.support-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.support-form textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-primary);
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.urgency-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.urgency-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.urgency-option:hover {
    border-color: var(--accent-blue);
    background: rgba(66, 133, 244, 0.05);
}

.urgency-option input[type="radio"] {
    display: none;
}

.urgency-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.urgency-custom.low {
    background: var(--success-color);
}

.urgency-custom.medium {
    background: var(--warning-color);
}

.urgency-custom.high {
    background: var(--danger-color);
}

.urgency-option input[type="radio"]:checked + .urgency-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.urgency-info {
    flex: 1;
}

.urgency-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.urgency-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn-secondary {
    flex: 0 0 auto;
}

.form-actions .btn-primary {
    flex: 1;
}

.emergency-modal .modal-content {
    max-width: 400px;
    text-align: center;
}

.emergency-header {
    margin-bottom: 2rem;
}

.emergency-header .emergency-icon {
    width: 80px;
    height: 80px;
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem auto;
}

.emergency-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.emergency-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.emergency-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.emergency-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.emergency-action:hover {
    border-color: var(--accent-blue);
    background: rgba(66, 133, 244, 0.05);
}

.emergency-action.primary {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}

.emergency-action.primary:hover {
    background: #c82333;
    border-color: #c82333;
}

.emergency-action i {
    font-size: 1.5rem;
}

.emergency-action span {
    font-weight: 600;
    font-size: 1rem;
    color: inherit;
}

.emergency-action small {
    font-size: 0.8rem;
    opacity: 0.8;
    color: inherit;
}

.emergency-disclaimer {
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.emergency-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Chat widget styles removed */

    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #333;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    margin-bottom: 3rem;
}

.btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.btn-main:hover {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.auth-link:hover {
    opacity: 1;
    color: white;
}

/* Screen Layout */
.screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

.screen-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Irivo Logo in Headers */
.header-logo {
    width: 120px;
    height: 36px;
    color: var(--text-primary);
    margin-right: auto;
    margin-left: 1rem;
}

.screen-header-with-logo {
    justify-content: space-between;
}

.screen-header-with-logo .screen-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

/* Special handling for community header with view toggle */
.screen-header-with-logo .view-toggle {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 1rem;
}

/* Identity Verification Styles */
.trust-banner {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: 16px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.trust-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: white;
}

.trust-content p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.verification-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.verification-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.verification-card:hover {
    border-color: var(--bg-gradient-start);
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.1);
}

.verification-card.active {
    border-color: var(--bg-gradient-start);
    background: rgba(66, 133, 244, 0.05);
}

.verification-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.verification-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-gradient-start);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.pledge-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.verification-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.verification-info p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    line-height: 1.4;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bg-gradient-start);
    width: fit-content;
}

.pledge-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.verification-toggle {
    width: 100%;
    background: none;
    border: 2px solid var(--bg-gradient-start);
    color: var(--bg-gradient-start);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verification-toggle:hover {
    background: var(--bg-gradient-start);
    color: white;
}

.verification-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Document Upload Styles */
.upload-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.document-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.document-option {
    position: relative;
    cursor: pointer;
}

.document-option input[type="radio"] {
    display: none;
}

.option-content {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.document-option input[type="radio"]:checked + .option-content {
    border-color: var(--bg-gradient-start);
    background: rgba(66, 133, 244, 0.05);
}

.option-content i {
    font-size: 2rem;
    color: var(--bg-gradient-start);
    margin-bottom: 0.5rem;
    display: block;
}

.option-content span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.option-content small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.upload-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--bg-gradient-start);
    background: rgba(66, 133, 244, 0.05);
}

.upload-dropzone i {
    font-size: 3rem;
    color: var(--bg-gradient-start);
    margin-bottom: 1rem;
    display: block;
}

.upload-dropzone h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.upload-dropzone p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

.upload-requirements {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
}

.upload-requirements small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.upload-preview {
    border: 2px solid var(--bg-gradient-start);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(66, 133, 244, 0.05);
}

.upload-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.preview-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-info span {
    font-weight: 500;
    color: var(--text-primary);
}

.remove-file {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Pledge Form Styles */
.pledge-content h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.pledge-text p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pledge-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pledge-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.pledge-list li i {
    color: #10b981;
    font-size: 1rem;
}

.pledge-agreement {
    margin-bottom: 2rem;
}

.pledge-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.4;
}

.pledge-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.pledge-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: #10b981;
    border-color: #10b981;
}

.pledge-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.personal-info h5 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.info-field input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.info-field input:focus {
    outline: none;
    border-color: var(--bg-gradient-start);
}

/* Verification Actions */
.verification-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-submit {
    width: 100%;
    background: var(--bg-gradient-start);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background: var(--bg-gradient-end);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
}

.btn-submit:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.pledge-submit {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pledge-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669, #047857);
}

.verification-note {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.verification-note i {
    color: var(--bg-gradient-start);
}

/* Current Status */
.status-card {
    background: var(--bg-primary);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.status-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

.status-info p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
}

.status-timeline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    opacity: 0.4;
}

.timeline-step.completed,
.timeline-step.active {
    opacity: 1;
}

.timeline-step i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.timeline-step.completed i {
    background: #10b981;
    color: white;
}

.timeline-step.active i {
    background: #f59e0b;
    color: white;
}

.timeline-step span {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-secondary);
}

/* Verification Benefits */
.verification-benefits {
    margin-top: 3rem;
}

.verification-benefits h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.benefit-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.benefit-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Verification Status Indicator */
.verification-status-indicator {
    margin-left: auto;
    margin-right: 0.5rem;
}

.status-unverified {
    background: rgba(66, 133, 244, 0.1);
    color: var(--bg-gradient-start);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-verified {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 375px) {
    .trust-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .trust-icon {
        font-size: 2.5rem;
    }
    
    .document-type-selector {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .status-timeline {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .verification-status-indicator {
        margin-left: 0.5rem;
    }
}

/* Package Status Tracker Styles */
.status-banner {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.status-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon-current {
    animation: pulse-gentle 2s infinite;
}

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

.status-info {
    flex: 1;
}

.status-info h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.status-current {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

.status-time {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    min-width: 100px;
}

.status-badge.sent {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.status-badge.accepted {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-badge.picked_up {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.status-badge.ready {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Progress Timeline */
.progress-timeline {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.125rem;
    top: 3rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: var(--border-color);
}

.timeline-item.completed::after {
    background: var(--bg-gradient-start);
}

.timeline-dot {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-item.completed .timeline-dot {
    background: var(--bg-gradient-start);
    color: white;
}

.timeline-item.pending .timeline-dot {
    background: var(--border-color);
    color: var(--text-muted);
}

.timeline-content {
    flex: 1;
}

.timeline-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-item.completed .timeline-content h4 {
    color: var(--bg-gradient-start);
}

.timeline-desc {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.timeline-time {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Package Details Card */
.package-details-card, .neighbor-info-card, .estimated-times-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-gradient-start);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.info-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Neighbor Info Card */
.neighbor-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.neighbor-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.neighbor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neighbor-details {
    flex: 1;
}

.neighbor-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.neighbor-title {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    color: var(--bg-gradient-start);
    font-weight: 500;
}

.neighbor-stats {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.neighbor-actions {
    display: flex;
    gap: 0.5rem;
}

.neighbor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars i {
    font-size: 0.875rem;
    color: var(--border-color);
}

.stars i.filled {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-primary, .btn-secondary, .btn-danger {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

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

.btn-secondary:hover {
    background: var(--hover-bg);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: var(--hover-bg);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-icon:hover {
    background: var(--bg-gradient-start);
    color: white;
}

/* Time Estimates */
.time-estimates {
    display: flex;
    gap: 1rem;
}

.time-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--hover-bg);
    border-radius: 12px;
}

.time-icon {
    width: 2rem;
    height: 2rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-gradient-start);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.time-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.time-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 480px) {
    .status-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .status-icon {
        font-size: 2rem;
    }
    
    .time-estimates {
        flex-direction: column;
    }
    
    .neighbor-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .neighbor-actions {
        justify-content: center;
    }
}

/* Additional Button Styles for Customer Dashboard */
.request-actions {
    margin-left: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-outline:hover {
    background: var(--bg-gradient-start);
    color: white;
}

/* Interactive Tutorial Styles */
.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.tutorial-progress {
    flex: 1;
    max-width: 300px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 20%;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.skip-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.skip-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

/* Tutorial Container */
.tutorial-container {
    position: relative;
    min-height: 500px;
    margin-bottom: 2rem;
}

/* Tutorial Steps */
.tutorial-step {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.tutorial-step.active {
    display: block;
}

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

.step-content {
    text-align: center;
    margin-bottom: 2rem;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 1.5rem;
}

.step-content h2 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.step-description {
    margin: 0 0 2rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Step Visual Elements */
.step-visual {
    margin: 2rem 0;
}

.demo-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
}

.demo-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-gradient-start);
    font-size: 1.25rem;
}

.demo-text {
    flex: 1;
}

.demo-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-text p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.demo-arrow {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Interactive Demo */
.interactive-demo {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.demo-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.875rem;
    opacity: 0.7;
}

.demo-input:focus {
    outline: none;
    border-color: var(--bg-gradient-start);
    opacity: 1;
}

.form-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(66, 133, 244, 0.05);
    border: 1px solid rgba(66, 133, 244, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--bg-gradient-start);
}

/* Real-time Package Tracking Animations */
.animated-timeline {
    position: relative;
    margin: 2rem 0;
}

/* Timeline Connectors with Animated Progress */
.timeline-connector {
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: 80px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-connector.filled .progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    animation: progressFill 1s ease-out;
}

@keyframes progressFill {
    from { height: 0; }
    to { height: 100%; }
}

/* Pulse Ring Animation */
.pulse-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--bg-gradient-start);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

.timeline-item.active .pulse-ring {
    animation: pulse 2s infinite;
}

.timeline-item.completed .pulse-ring {
    animation: none;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Bounce In Animation */
.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 0.7; }
    70% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* Slide In Right Animation */
.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Status Emojis with Bounce */
.status-emoji {
    display: inline-block;
    animation: bounceEmoji 2s ease-in-out infinite;
}

@keyframes bounceEmoji {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Live Indicator Animation */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(66, 133, 244, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(66, 133, 244, 0.1);
    font-size: 0.75rem;
    color: var(--bg-gradient-start);
    font-weight: 500;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--bg-gradient-start);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { 
        opacity: 0.4;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Celebration Burst Animation */
.celebration-burst {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.8rem;
    animation: celebrationBurst 0.8s ease-out;
    pointer-events: none;
}

@keyframes celebrationBurst {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.8;
    }
}

/* Animated Icons */
.moving-truck {
    animation: moveTruck 2s ease-in-out infinite;
}

@keyframes moveTruck {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.glowing-home {
    animation: glowHome 3s ease-in-out infinite;
}

@keyframes glowHome {
    0%, 100% { 
        color: inherit;
        text-shadow: none;
    }
    50% { 
        color: var(--bg-gradient-start);
        text-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
    }
}

.spinning-check {
    animation: spinCheck 0.8s ease-out;
}

@keyframes spinCheck {
    from { transform: rotate(0deg) scale(0); }
    to { transform: rotate(360deg) scale(1); }
}

/* Floating Notifications */
.floating {
    animation: float 3s ease-in-out infinite;
}

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

.ready-notification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.success-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Confetti Animation */
.confetti-animation {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2px;
    pointer-events: none;
}

.confetti-animation::before,
.confetti-animation::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--bg-gradient-start);
    animation: confetti 2s ease-out;
}

.confetti-animation::before {
    left: -10px;
    background: #ff6b6b;
    animation-delay: 0.1s;
}

.confetti-animation::after {
    right: -10px;
    background: #4ecdc4;
    animation-delay: 0.3s;
}

@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(30px) rotate(720deg);
        opacity: 0;
    }
}

/* Overall Progress Bar */
.overall-progress {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.progress-percentage {
    font-weight: 700;
    color: var(--bg-gradient-start);
    font-size: 1.1rem;
}

.progress-bar-container {
    position: relative;
    height: 8px;
    background: var(--hover-bg);
    border-radius: 4px;
    overflow: hidden;
}

.animated-progress {
    height: 100%;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    border-radius: 4px;
    position: relative;
    transition: width 1s ease-out;
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Neighbors Preview */
.neighbors-preview {
    margin-top: 1.5rem;
}

.neighbors-preview h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-neighbor {
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.neighbor-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.neighbor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neighbor-info {
    flex: 1;
}

.neighbor-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.neighbor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.neighbor-distance {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Tracking Preview */
.tracking-preview {
    margin-bottom: 1.5rem;
}

.status-timeline-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.status-timeline-mini::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.timeline-dot-mini {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.timeline-step-mini.completed .timeline-dot-mini {
    background: var(--bg-gradient-start);
    color: white;
}

.timeline-step-mini.active .timeline-dot-mini {
    background: var(--bg-gradient-start);
    color: white;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.2);
}

.timeline-step-mini span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 4rem;
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.feature-item i {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-gradient-start);
    font-size: 1rem;
}

.feature-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.step-actions .btn-primary,
.step-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.step-actions .btn-primary {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: white;
}

.step-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

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

.step-actions .btn-secondary:hover {
    background: var(--hover-bg);
}

/* Tutorial Dots */
.tutorial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: var(--bg-gradient-start);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--bg-gradient-start);
    opacity: 0.7;
}

/* Tutorial Success */
.tutorial-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
    animation: successBounce 0.6s ease;
}

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

.tutorial-success h2 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tutorial-success p {
    margin: 0 0 2rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 480px) {
    .tutorial-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .demo-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .step-actions .btn-primary,
    .step-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .feature-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .status-timeline-mini {
        flex-direction: column;
        gap: 1rem;
    }
    
    .status-timeline-mini::before {
        display: none;
    }
    
    .timeline-step-mini {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .timeline-step-mini span {
        max-width: none;
        text-align: left;
    }
}

.back-button {
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    margin-right: 1rem;
}

.screen-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.screen-content {
    flex: 1;
    padding: 1.5rem;
    padding-bottom: 6rem;
}

/* Customer Form */
.btn-primary-large {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary-large:hover {
    background: var(--accent-blue-hover);
}

.btn-primary-large:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-section {
    background: var(--card-bg);
}

/* Dark Mode Toggle Styles */
.setting-toggle {
    display: flex;
    align-items: center;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 28px;
    background-color: #ccc;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.active {
    background-color: var(--accent-blue);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(22px);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* Neighbor Requests */
.requests-section {
    margin-bottom: 2rem;
}

.request-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-info {
    flex: 1;
}

.request-address {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.request-date {
    font-size: 0.875rem;
    color: #666;
}

.btn-accept {
    background: #4285f4;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-accept:hover {
    background: #1a73e8;
}

.btn-accept:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Accepted Requests */
.accepted-section {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.accepted-request {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.accepted-info {
    font-size: 0.875rem;
}

.accepted-customer {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.accepted-address,
.accepted-package,
.accepted-by,
.accepted-date {
    color: #666;
    margin-bottom: 0.25rem;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.nav-item.active {
    color: #4285f4;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-item span {
    font-weight: 500;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 380px;
    z-index: 1000;
}

.flash-message {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flash-success {
    border-left: 4px solid #28a745;
    color: #155724;
}

.flash-error {
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.close-flash {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

/* Responsive Design */
@media (min-width: 401px) {
    .app-container {
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
}

/* Customer Request Cards */
.customer-request-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.customer-request-card.completed {
    background: #f8f9fa;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.accepted {
    background: #4285f4;
    color: white;
}

.picked-up-label {
    color: #666;
    font-size: 0.875rem;
}

/* Pickup Cards and Details */
.pickup-header {
    margin-bottom: 2rem;
}

.pickup-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.pickup-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pickup-address-large {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.pickup-date {
    color: #666;
    margin-bottom: 1rem;
}

.pickup-details {
    margin-top: 1rem;
}

.pickup-time {
    font-size: 1rem;
    font-weight: 500;
    color: #4285f4;
    margin-bottom: 1rem;
}

/* Time Slots */
.time-slots-section {
    margin-top: 2rem;
}

.time-slot-option {
    display: block;
    margin-bottom: 1rem;
    cursor: pointer;
}

.time-slot-option input[type="radio"] {
    display: none;
}

.time-slot-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.time-slot-option input[type="radio"]:checked + .time-slot-card {
    border-color: #4285f4;
    background: #f0f7ff;
}

.time-slot-text {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.schedule-btn {
    margin-top: 2rem;
}

/* Confirmation Page */
.confirmation-section {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
}

.confirmation-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.confirmation-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.pickup-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.pickup-time-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.pickup-time-label {
    font-size: 0.875rem;
    color: #4285f4;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.pickup-time-large {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

/* Profile Page */
.profile-section {
    text-align: center;
    padding: 2rem 1rem;
}

.profile-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar-placeholder i {
    font-size: 2rem;
    color: #666;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.profile-title {
    color: #666;
    margin-bottom: 2rem;
}

.message-btn {
    margin-top: 2rem;
}

/* Form Improvements */
.address-input, .date-input {
    font-size: 1.1rem;
    padding: 1rem;
}

.date-input {
    color: #333;
}

.submit-btn {
    margin-top: 3rem;
}

.create-request-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Secondary Button */
.btn-secondary {
    background: #f8f9fa;
    color: #4285f4;
    border: 1px solid #4285f4;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #4285f4;
    color: white;
}

/* Onboarding Styles */
.onboarding-container {
    min-height: 100vh;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow-y: auto;
}

.onboarding-step {
    display: none;
    min-height: 100vh;
    padding: 2rem;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.onboarding-step.active {
    display: flex;
}

.onboarding-header {
    margin-bottom: 2rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e9ecef;
    transition: background 0.3s ease;
}

.step-dot.active {
    background: #4285f4;
}

.onboarding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onboarding-icon {
    margin-bottom: 2rem;
}

.onboarding-icon i {
    font-size: 4rem;
    color: #4285f4;
}

.onboarding-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.onboarding-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-list {
    text-align: left;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-item i {
    color: #4285f4;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: #333;
    font-weight: 500;
}

.rewards-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.reward-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.reward-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.reward-icon i {
    color: white;
    font-size: 1.25rem;
}

.reward-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.reward-text p {
    margin: 0;
    font-size: 0.75rem;
    color: #666;
}

.onboarding-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: auto;
    position: sticky;
    bottom: 0;
    background: white;
}

.onboarding-actions .btn-secondary {
    flex: 1;
    cursor: pointer;
    border: none;
}

.onboarding-actions .btn-primary-large {
    flex: 2;
    cursor: pointer;
    border: none;
}

/* Irivo Font Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.irivo-brand-text {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-weight: 300;
    letter-spacing: -0.5px;
}

/* Responsive Design Updates */
@media (max-width: 375px) {
    .screen-content {
        padding: 1rem;
    }
    
    .irivo-logo {
        width: 240px;
        height: 72px;
    }
    
    .header-logo {
        width: 100px;
        height: 30px;
    }
    
    .app-name {
        font-size: 3rem;
    }
    
    .pickup-card {
        padding: 1rem;
    }
    
    .confirmation-section {
        padding: 1rem;
    }
    
    .profile-section {
        padding: 1rem;
    }
    
    .onboarding-step {
        padding: 1.5rem;
    }
    
    .onboarding-icon i {
        font-size: 3rem;
    }
    
    .onboarding-title {
        font-size: 1.5rem;
    }
}

/* Profile & Settings Styles */
.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.profile-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo-container {
    position: relative;
    margin-bottom: 1rem;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f8f9fa;
}

.photo-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.profile-email {
    color: #666;
    margin: 0;
}

.settings-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

/* Role Toggle Styles */
.role-toggle-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.role-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-option.active {
    border-color: var(--accent-blue);
    background: rgba(66, 133, 244, 0.1);
}

.role-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.role-option.active .role-icon {
    background: var(--accent-blue);
    color: white;
}

.role-info {
    flex: 1;
}

.role-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.role-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.role-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-option.active .role-check {
    background: var(--accent-blue);
    opacity: 1;
}

.role-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

/* Settings List Styles */
.settings-list {
    display: flex;
    flex-direction: column;
}

.setting-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.setting-item:hover {
    background: var(--bg-secondary);
    border-radius: 8px;
    margin: 0 -1rem;
    padding: 1rem;
}

.setting-item.danger {
    color: #dc3545;
}

.setting-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.setting-item.danger .setting-icon {
    background: #ffe6e6;
    color: #dc3545;
}

.setting-info {
    flex: 1;
}

.setting-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.setting-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.setting-arrow {
    color: #ccc;
}

/* Address Book Styles */
.address-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.address-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.address-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.address-info {
    flex: 1;
}

.address-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.address-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: #4285f4;
    color: white;
    border-color: #4285f4;
}

.add-address-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.add-address-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.modal-actions .btn-secondary,
.modal-actions .btn-primary {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 1rem;
}

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

/* Responsive adjustments */
@media (max-width: 375px) {
    .profile-section {
        padding: 1.5rem;
    }
    
    .settings-section {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
}

/* Payment & Subscription Styles */
.payment-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Plan Cards */
.plan-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.plan-card.current-plan {
    border-color: #28a745;
    background: #f8fff9;
}

.plan-card:hover {
    border-color: #4285f4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4285f4;
    margin: 0;
}

.plan-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-badge.free {
    background: #d4edda;
    color: #155724;
}

.plan-badge.essential {
    background: #e2f3f5;
    color: #0c5460;
}

.plan-badge.plus {
    background: #fff3cd;
    color: #856404;
}

.plan-badge.premium {
    background: #f8d7da;
    color: #721c24;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.text-success {
    color: #28a745;
}

.text-muted {
    color: #6c757d;
}

.upgrade-btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.payment-method-icon {
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.payment-method-icon .fa-apple-pay {
    color: #000000;
}

.payment-method-icon .fa-cc-visa {
    color: #1a1f71;
}

.payment-method-icon .fa-cc-mastercard {
    color: #eb001b;
}

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

.payment-method-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.payment-method-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.payment-method-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon.danger {
    color: #dc3545;
}

.btn-icon.danger:hover {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.add-payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.add-payment-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
}

/* Payment History */
.payment-history {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.history-info {
    flex: 1;
}

.history-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.history-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.history-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.amount {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.status.success {
    background: #d4edda;
    color: #155724;
}

.view-all-btn {
    padding: 0.75rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #4285f4;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.view-all-btn:hover {
    background: #4285f4;
    color: white;
}

/* Billing Information */
.billing-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.billing-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.billing-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.billing-content {
    flex: 1;
}

.billing-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.billing-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

.btn-link {
    background: none;
    border: none;
    color: #4285f4;
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
}

/* Tip Settings */
.tip-settings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tip-amount-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tip-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tip-btn.active,
.tip-btn:hover {
    border-color: #4285f4;
    background: #4285f4;
    color: white;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 28px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked + label {
    background-color: #4285f4;
}

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

.plans-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-card.essential {
    border-color: #17a2b8;
}

.plan-card.plus {
    border-color: #ffc107;
    transform: scale(1.02);
}

.plan-card.premium {
    border-color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .payment-section {
        padding: 1rem;
    }
    
    .plan-card {
        padding: 1rem;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tip-amount-selector {
        justify-content: space-between;
    }
    
    .tip-btn {
        flex: 1;
        text-align: center;
    }
}

/* Ratings & Reviews Styles */
.rating-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Write Review Section */
.write-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.write-review-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.write-review-description {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* User Selection */
.select-user-section {
    margin-bottom: 1rem;
}

.user-selection {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.user-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-option:hover {
    border-color: #4285f4;
    background: #f0f7ff;
}

.user-option .user-avatar {
    margin-right: 1rem;
}

.user-option .user-details {
    flex: 1;
}

.user-option .user-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.user-option .user-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.select-indicator {
    color: #4285f4;
    font-size: 1rem;
}

/* Overall Rating Card */
.overall-rating-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    border-radius: 12px;
    color: white;
}

.rating-overview {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.rating-score {
    text-align: center;
    min-width: 120px;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stars-display {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #ffc107;
}

.rating-count {
    font-size: 0.875rem;
    opacity: 0.9;
}

.rating-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.rating-bar-item span:first-child {
    min-width: 25px;
    text-align: right;
}

.rating-bar-item span:last-child {
    min-width: 20px;
    text-align: left;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Pending Reviews */
.pending-reviews {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.user-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.user-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.review-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.reviewer-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.review-rating {
    text-align: right;
}

.review-rating .stars-display {
    justify-content: flex-end;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.rating-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
}

.review-content p {
    margin: 0 0 1rem 0;
    line-height: 1.5;
    color: #333;
    font-style: italic;
}

.review-type {
    display: flex;
    justify-content: flex-end;
}

.type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.type-badge.customer {
    background: #e7f3ff;
    color: #0066cc;
}

.type-badge.neighbor {
    background: #e8f5e8;
    color: #28a745;
}

/* Review Modal */
.review-modal-content {
    max-width: 500px;
    width: 90%;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.user-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.user-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.rating-input-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.rating-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.star-rating-input {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.star-rating-input i {
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ddd;
}

.star-rating-input i:hover {
    transform: scale(1.1);
}

.rating-text {
    font-size: 1rem;
    font-weight: 600;
    color: #4285f4;
}

.comment-section {
    margin-bottom: 1rem;
}

.comment-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.review-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s ease;
}

.review-textarea:focus {
    outline: none;
    border-color: #4285f4;
}

.character-count {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #666;
}

/* Responsive adjustments for ratings */
@media (max-width: 375px) {
    .rating-overview {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .rating-score {
        min-width: auto;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-rating {
        text-align: left;
    }
    
    .review-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .star-rating-input i {
        font-size: 1.75rem;
    }
    
    .write-review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    


/* Payment & Subscription Styles */
.payment-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* Plan Status Card */
.plan-status-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.plan-info {
    text-align: left;
    flex: 1;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.plan-description {
    color: #666;
    margin: 0;
}

.plan-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-badge.free {
    background: #e7f5e7;
    color: #28a745;
}

.plan-badge.premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    text-align: left;
}

.feature-item i {
    color: #28a745;
    margin-right: 0.75rem;
    width: 16px;
}

/* Plan Cards */
.plan-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.plan-card.premium {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.btn-premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8b6914;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Payment Methods */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.payment-method-icon {
    width: 50px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.payment-method-icon .fa-cc-visa {
    color: #1a1f71;
}

.payment-method-icon .fa-cc-mastercard {
    color: #eb001b;
}

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

.payment-method-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.payment-method-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.payment-method-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.default-badge {
    background: #4285f4;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-icon.danger {
    color: #dc3545;
}

.btn-icon.danger:hover {
    background: #dc3545;
    color: white;
}

.add-payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px dashed #ccc;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.add-payment-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
}

/* Payment History */
.payment-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-history-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.payment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 1rem;
    min-width: 50px;
}

.date-day {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.date-month {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.payment-details {
    flex: 1;
}

.payment-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.payment-details p {
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    color: #666;
}

.payment-id {
    font-size: 0.75rem;
    color: #999;
    font-family: monospace;
}

.payment-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: right;
}

.payment-amount.success {
    color: #28a745;
}

.payment-amount .amount {
    font-size: 1.125rem;
    font-weight: 700;
}

.view-all-btn {
    padding: 0.875rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #4285f4;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.view-all-btn:hover {
    background: #f8f9ff;
    border-color: #4285f4;
}

/* Modal Enhancements for Payment */
.upgrade-summary {
    text-align: center;
}

.upgrade-plan {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
    border-radius: 8px;
    border: 1px solid #ffd700;
}

.upgrade-plan h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.upgrade-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.upgrade-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: #8b6914;
}

.upgrade-price .period {
    font-size: 1rem;
    color: #666;
}

.upgrade-benefits {
    margin-bottom: 1.5rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.benefit-item i {
    color: #28a745;
    margin-right: 0.75rem;
    width: 16px;
}

.payment-method-selection {
    margin-bottom: 1rem;
    text-align: left;
}

.billing-note {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4285f4;
}

.billing-note p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #4285f4;
    border-color: #4285f4;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .plan-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .plan-info {
        text-align: center;
    }
    
    .payment-method-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .payment-method-actions {
        align-self: flex-end;
    }
    
    .payment-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .payment-amount {
        align-self: flex-end;
    }
}

/* Admin Dashboard Styles */
.admin-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 0;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
    text-align: center;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem auto;
    font-size: 1.25rem;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.stat-change.positive {
    background: #d4edda;
    color: #155724;
}

.stat-change.negative {
    background: #f8d7da;
    color: #721c24;
}

.stat-change.neutral {
    background: #e2e3e5;
    color: #383d41;
}

/* Priority and Alert Badges */
.priority-badge, .alert-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge.high {
    background: #f8d7da;
    color: #721c24;
}

.alert-badge {
    background: #fff3cd;
    color: #856404;
}

/* Report Cards */
.reported-users {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.report-card {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.report-card.high-priority {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.report-card.medium-priority {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.report-card.low-priority {
    background: #d1ecf1;
    border-left-color: #17a2b8;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.user-details p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.report-priority {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.report-priority.high {
    background: #dc3545;
    color: white;
}

.report-priority.medium {
    background: #ffc107;
    color: #212529;
}

.report-priority.low {
    background: #17a2b8;
    color: white;
}

.report-details {
    margin-bottom: 1rem;
}

.report-reason {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #333;
}

.report-stats {
    font-size: 0.875rem;
    color: #666;
}

.report-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.report-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Activity Alerts */
.activity-alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.alert-card.critical {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.alert-card.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-card.critical .alert-icon {
    background: #dc3545;
    color: white;
}

.alert-card.warning .alert-icon {
    background: #ffc107;
    color: #212529;
}

.alert-content {
    flex: 1;
}

.alert-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.alert-content p {
    margin: 0 0 0.5rem 0;
    color: #333;
    line-height: 1.4;
}

.alert-meta {
    font-size: 0.875rem;
    color: #666;
}

.alert-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: flex-start;
}

.alert-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Stats and Charts */
.stats-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.25rem;
    margin-bottom: 1rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    background: none;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: white;
    color: #4285f4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chart-placeholder {
    margin-bottom: 1.5rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.chart-total {
    font-size: 0.875rem;
    color: #666;
    font-weight: 600;
}

.simple-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 120px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    gap: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    position: relative;
    min-height: 30%;
}

.bar-label {
    position: absolute;
    bottom: -1.5rem;
    color: #666;
    font-size: 0.75rem;
}

.bar-value {
    font-size: 0.875rem;
    font-weight: 700;
}

.detailed-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.stat-label {
    font-weight: 600;
    color: #333;
}

.stat-value {
    font-weight: 600;
}

.stat-value.success {
    color: #28a745;
}

.stat-value.failure {
    color: #dc3545;
}

.stat-value.cancelled {
    color: #ffc107;
}

.stat-value.revenue {
    color: #4285f4;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: #e9ecef;
    border-color: #4285f4;
    color: #4285f4;
}

.action-btn i {
    font-size: 1.5rem;
}

/* Action Details */
.action-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #666;
    border-left: 3px solid #ffc107;
}

/* Responsive adjustments for admin */
@media (max-width: 375px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .report-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .report-actions {
        justify-content: center;
    }
    
    .alert-card {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-actions {
        flex-direction: row;
        align-self: stretch;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-badge {
        align-self: flex-start;
        margin-top: 0.5rem;
    }
}

/* Notifications Styles */
.notification-controls {
    display: flex;
    align-items: center;
}

.mark-all-read {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid #4285f4;
    border-radius: 6px;
    color: #4285f4;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mark-all-read:hover {
    background: #4285f4;
    color: white;
}

.notifications-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.unread-count {
    color: #4285f4;
    font-weight: 600;
    font-size: 0.875rem;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    position: relative;
}

.notification-item.unread {
    background: #f0f7ff;
    border-left: 4px solid #4285f4;
}

.notification-item.read {
    background: #f8f9fa;
    border-left: 4px solid #e9ecef;
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.notification-icon.pickup-accepted {
    background: #28a745;
}

.notification-icon.pickup-completed {
    background: #17a2b8;
}

.notification-icon.neighbor-available {
    background: #6f42c1;
}

.notification-icon.pickup-requested {
    background: #4285f4;
}

.notification-icon.rating-received {
    background: #ffc107;
    color: #212529;
}

.notification-icon.payment-processed {
    background: #20c997;
}

.notification-icon.system-message {
    background: #e83e8c;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.notification-time {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.notification-message {
    margin: 0 0 1rem 0;
    line-height: 1.5;
    color: #333;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.notification-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: flex-start;
}

.mark-read-btn, .remove-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.mark-read-btn {
    background: #e8f5e8;
    color: #28a745;
}

.mark-read-btn:hover {
    background: #28a745;
    color: white;
}

.remove-btn {
    background: #f8d7da;
    color: #dc3545;
}

.remove-btn:hover {
    background: #dc3545;
    color: white;
}

.load-more-section {
    text-align: center;
    padding: 1rem 0;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

/* Responsive adjustments for notifications */
@media (max-width: 375px) {
    .notification-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .notification-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .notification-time {
        font-size: 0.75rem;
    }
    
    .notification-controls {
        flex-direction: row;
        align-self: center;
    }
    
    .notification-actions {
        justify-content: center;
    }
    
    .mark-all-read {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .mark-all-read span {
        display: none;
    }
}

/* Help & Support Styles */
.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 0;
}

.help-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.help-card:hover {
    background: #e9ecef;
    border-color: #4285f4;
    transform: translateY(-2px);
}

.help-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.help-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.help-card p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}

.help-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    transition: transform 0.2s ease;
    color: #4285f4;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    display: none;
    border-top: 1px solid #e9ecef;
}

.faq-answer p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #333;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #333;
}

.faq-answer strong {
    color: #4285f4;
    font-weight: 600;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
    font-size: 1rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.contact-info p {
    margin: 0 0 0.75rem 0;
    color: #666;
}

.contact-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

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

/* Responsive adjustments for help */
@media (max-width: 375px) {
    .quick-help-grid {
        grid-template-columns: 1fr;
    }
    
    .help-card {
        padding: 1rem;
    }
    
    .help-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .faq-question {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Community/Neighborhood View Styles */
.view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 0.25rem;
}

.toggle-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.toggle-btn.active {
    background: white;
    color: #4285f4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.community-stats {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    gap: 1rem;
}

.community-stats .stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.community-stats .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.community-stats .stat-info {
    display: flex;
    flex-direction: column;
}

.community-stats .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.community-stats .stat-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.search-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.search-bar {
    position: relative;
    margin-bottom: 1rem;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    background: #f8f9fa;
}

.search-bar input:focus {
    outline: none;
    border-color: #4285f4;
    background: white;
}

.filter-controls {
    display: flex;
    gap: 0.75rem;
}

.filter-controls select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 0.875rem;
}

.community-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.section-title i {
    color: #4285f4;
}

/* Leaderboard Styles */
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    position: relative;
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ffa726;
}

.leaderboard-item.rank-2 {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-color: #ab47bc;
}

.leaderboard-item.rank-3 {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c8 100%);
    border-color: #66bb6a;
}

.rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.leaderboard-item.rank-1 .rank-badge {
    background: #ffa726;
}

.leaderboard-item.rank-2 .rank-badge {
    background: #ab47bc;
}

.leaderboard-item.rank-3 .rank-badge {
    background: #66bb6a;
}

.crown-icon {
    position: absolute;
    top: -8px;
    right: 1rem;
    color: #ffa726;
    font-size: 1.25rem;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neighbor-info {
    flex: 1;
}

.neighbor-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.neighbor-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.neighbor-stats .stat {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stars {
    color: #ffa726;
    font-size: 0.875rem;
}

.score {
    font-weight: 600;
    color: #333;
    font-size: 0.875rem;
}

.distance {
    font-size: 0.75rem;
    color: #666;
}

/* Neighbor Cards */
.neighbors-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.neighbor-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    background: white;
    transition: all 0.2s ease;
}

.neighbor-card:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.1);
}

.neighbor-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.neighbor-header .neighbor-info {
    flex: 1;
}

.neighbor-header .neighbor-rating {
    text-align: right;
}

.neighbor-rating .reviews {
    font-size: 0.75rem;
    color: #666;
    margin-left: 0.25rem;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.availability.available {
    color: #28a745;
}

.availability.available i {
    color: #28a745;
    font-size: 0.5rem;
}

.availability.busy {
    color: #dc3545;
}

.availability.busy i {
    color: #dc3545;
    font-size: 0.5rem;
}

.neighbor-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.neighbor-details .neighbor-stats {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
}

.neighbor-details .stat-item {
    text-align: center;
}

.neighbor-details .stat-number {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.neighbor-details .stat-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.neighbor-actions {
    display: flex;
    gap: 0.5rem;
}

.neighbor-actions .btn-sm {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Map View */
.map-placeholder {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    border: 2px dashed #e9ecef;
}

.map-content i {
    font-size: 4rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.map-content h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-weight: 600;
}

.map-content p {
    margin: 0 0 2rem 0;
    color: #666;
    font-size: 1rem;
}

.map-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.available-dot {
    color: #28a745 !important;
}

.busy-dot {
    color: #dc3545 !important;
}

/* Responsive adjustments for community */
@media (max-width: 375px) {
    .community-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .community-stats .stat-item {
        justify-content: center;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .leaderboard-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .neighbor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .neighbor-actions {
        flex-direction: column;
    }
    
    .map-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .crown-icon {
        position: static;
        order: -1;
    }
}

/* Mobile Widget Styles */
.widget-screen {
    max-width: 400px;
    margin: 0 auto;
    background: #f8f9fa;
    min-height: 100vh;
    position: relative;
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.widget-header h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.widget-actions {
    display: flex;
    gap: 0.5rem;
}

.widget-minimize {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.widget-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
}

.widget-content {
    padding: 1rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quick-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

.quick-action-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
    transform: translateY(-2px);
}

.quick-action-btn.active {
    border-color: #4285f4;
    background: #4285f4;
    color: white;
}

.quick-action-btn i {
    font-size: 1.25rem;
}

/* Widget Form */
.widget-form {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-group.half {
    flex: 0.5;
}

.input-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.875rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #4285f4;
    background: white;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.location-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: #4285f4;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.location-btn:hover {
    background: #1a73e8;
}

.input-group {
    position: relative;
}

/* Tip Section */
.tip-section {
    margin: 1.5rem 0;
}

.tip-section label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    font-size: 0.875rem;
}

.tip-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tip-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    background: white;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 60px;
}

.tip-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
}

.tip-btn.active {
    background: #4285f4;
    border-color: #4285f4;
    color: white;
}

.tip-btn.custom {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.tip-btn.custom.active {
    background: #28a745;
    border-color: #28a745;
}

/* Cost Preview */
.cost-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

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

.cost-row.total {
    border-top: 1px solid #dee2e6;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

.cost-row.urgency-fee {
    color: #dc3545;
    font-weight: 500;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

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

/* Recent Requests */
.recent-requests {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.recent-requests h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: color 0.2s ease;
}

.recent-requests h4:hover {
    color: #4285f4;
}

.recent-requests h4 i:first-child {
    margin-right: 0.5rem;
    color: #4285f4;
}

.recent-requests h4 i:last-child {
    transition: transform 0.2s ease;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.recent-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.recent-info strong {
    font-size: 0.875rem;
    color: #333;
}

.recent-info span {
    font-size: 0.75rem;
    color: #666;
}

.repeat-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #4285f4;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.repeat-btn:hover {
    background: #1a73e8;
    transform: scale(1.1);
}

/* Widget Minimized State */
.widget-minimized {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.minimized-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.4);
    transition: all 0.2s ease;
}

.minimized-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(66, 133, 244, 0.5);
}

.minimized-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.minimized-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.minimized-text strong {
    font-size: 0.875rem;
    font-weight: 600;
}

.minimized-text span {
    font-size: 0.75rem;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Custom Tip Modal */
.tip-input-group {
    margin-bottom: 1.5rem;
}

.currency-input {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    color: #666;
    font-weight: 600;
    z-index: 1;
}

.currency-input input {
    padding-left: 2.5rem;
    width: 100%;
}

/* Responsive adjustments for widget */
@media (max-width: 375px) {
    .widget-content {
        padding: 0.75rem;
    }
    
    .quick-actions {
        gap: 0.5rem;
    }
    
    .quick-action-btn {
        padding: 0.75rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .quick-action-btn i {
        font-size: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-group.half {
        flex: 1;
    }
    
    .tip-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .tip-btn {
        flex: 1;
        min-width: 50px;
    }
    
    .minimized-content {
        padding: 0.75rem 1rem;
    }
    
    .minimized-text {
        display: none;
    }
}

/* Neighbors Page Styles */
.community-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bg-gradient-start);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.controls-section {
    margin-bottom: 1.5rem;
}

.view-toggle {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: white;
}

.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
}

.search-box {
    position: relative;
    margin-bottom: 1rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.neighbors-view {
    display: none;
}

.neighbors-view.active {
    display: block;
}

.top-performers {
    margin-bottom: 2rem;
}

.top-performers h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-performers h3 i {
    color: #ffd700;
}

.performer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.performer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.05));
    border: 1px solid rgba(66, 133, 244, 0.1);
    border-radius: 12px;
}

.performer-avatar {
    position: relative;
}

.avatar-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

.status-dot.available {
    background: #10b981;
}

.status-dot.busy {
    background: #f59e0b;
}

.performer-info {
    flex: 1;
}

.performer-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.performer-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.performer-stats .rating {
    color: #fbbf24;
}

.performer-badge {
    color: #ffd700;
    font-size: 1.25rem;
}

.neighbors-list h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.neighbor-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.neighbor-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.neighbor-item:hover {
    border-color: var(--bg-gradient-start);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.1);
}

.neighbor-avatar {
    position: relative;
}

.neighbor-info {
    flex: 1;
}

.neighbor-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.neighbor-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.neighbor-details span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.neighbor-details .rating {
    color: #fbbf24;
}

.neighbor-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge.verified {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge.trusted {
    background: rgba(66, 133, 244, 0.1);
    color: var(--bg-gradient-start);
}

.availability-note {
    font-size: 0.75rem;
    color: #f59e0b;
    font-style: italic;
    margin-top: 0.25rem;
}

.neighbor-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    min-width: auto;
    white-space: nowrap;
}

/* Map View Styles */
.map-container {
    position: relative;
    margin-bottom: 2rem;
}

.neighbors-map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-align: center;
    gap: 1rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--bg-gradient-start);
}

.mock-map {
    height: 100%;
    background: linear-gradient(45deg, #e8f4f8 25%, transparent 25%), 
                linear-gradient(-45deg, #e8f4f8 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #e8f4f8 75%), 
                linear-gradient(-45deg, transparent 75%, #e8f4f8 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    position: relative;
}

.map-marker {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.user-marker {
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    color: white;
    font-size: 1rem;
    z-index: 10;
}

.neighbor-marker {
    background: white;
    border: 2px solid #10b981;
    color: #10b981;
    font-size: 0.875rem;
}

.neighbor-marker.busy {
    border-color: #f59e0b;
    color: #f59e0b;
}

.selected-neighbor-card {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.selected-neighbor-card.hidden {
    transform: translateY(100%);
}

.network-expansion {
    margin-top: 2rem;
}

.expansion-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
}

.expansion-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.expansion-content {
    flex: 1;
}

.expansion-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.expansion-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10001;
    transform: translateX(100%);
    animation: slideIn 0.3s ease forwards;
}

.toast-success {
    background: #10b981;
}

.toast-warning {
    background: #f59e0b;
}

.toast-error {
    background: #ef4444;
}

.toast-info {
    background: var(--bg-gradient-start);
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

/* Enhanced Neighbors Features */
.neighbor-item.expanded {
    border-color: var(--bg-gradient-start);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.expanded-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: none;
    animation: expandIn 0.3s ease;
}

.expanded-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.expanded-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.expanded-stats .stat-item i {
    color: var(--bg-gradient-start);
    width: 16px;
}

.quick-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-actions .btn {
    font-size: 0.625rem;
    padding: 0.375rem 0.75rem;
}

@keyframes expandIn {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* Real-time status indicators */
.status-dot {
    animation: pulse 2s infinite;
}

.status-dot.available {
    animation: pulse-green 2s infinite;
}

.status-dot.busy {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Enhanced map markers */
.map-marker {
    animation: markerBounce 0.6s ease-out;
}

@keyframes markerBounce {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Performance optimizations */
.neighbor-item {
    will-change: transform;
}

.neighbors-view {
    will-change: opacity;
}

/* Advanced filtering */
.filter-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(66, 133, 244, 0.1);
    color: var(--bg-gradient-start);
    border-radius: 12px;
    font-size: 0.625rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.filter-badge.active {
    background: var(--bg-gradient-start);
    color: white;
}

/* Accessibility improvements */
.neighbor-item:focus {
    outline: 2px solid var(--bg-gradient-start);
    outline-offset: 2px;
}

.toggle-btn:focus {
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

/* Mobile-specific enhancements */
@media (max-width: 375px) {
    .expanded-info {
        padding: 0.75rem;
        margin: 0.75rem -1rem 0 -1rem;
        background: rgba(66, 133, 244, 0.02);
    }
    
    .quick-actions {
        justify-content: center;
    }
    
    .community-stats {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}

/* Pickup History Styles */
.history-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    min-width: 140px;
    flex-shrink: 0;
}

.summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
}

.summary-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.summary-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.history-filters {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab.active {
    background: var(--bg-gradient-start);
    color: white;
    border-color: var(--bg-gradient-start);
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.875rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-gradient-start);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 133, 244, 0.3);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

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

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(66, 133, 244, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.history-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.history-status i {
    width: 16px;
}

.history-item.completed .history-status {
    color: #10b981;
}

.history-item.cancelled .history-status {
    color: #ef4444;
}

.history-item.in-progress .history-status {
    color: #f59e0b;
}

.history-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.history-content {
    padding: 1rem;
}

.pickup-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pickup-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.detail-item i {
    width: 16px;
    color: var(--bg-gradient-start);
    flex-shrink: 0;
}

.pickup-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.load-more-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-load-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
}

/* Receipt Modal Styles */
.receipt-modal {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.receipt {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.receipt-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-gradient-start);
    margin: 0;
}

.receipt-logo p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.receipt-id {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
}

.receipt-section {
    margin-bottom: 1.5rem;
}

.receipt-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.receipt-row.total {
    font-weight: 700;
    font-size: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.receipt-label {
    color: #6b7280;
}

.receipt-value {
    color: #374151;
    font-weight: 500;
}

.receipt-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

.receipt-status.completed {
    background: #dcfce7;
    color: #16a34a;
}

.receipt-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.receipt-footer p {
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.receipt-note {
    color: #6b7280;
    font-size: 0.75rem !important;
}

.receipt-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile responsiveness */
@media (max-width: 375px) {
    .history-summary {
        gap: 0.75rem;
    }
    
    .summary-card {
        min-width: 120px;
        padding: 0.75rem;
    }
    
    .summary-number {
        font-size: 1.25rem;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .pickup-actions {
        justify-content: center;
    }
    
    .receipt-actions {
        flex-direction: column;
    }
}

/* Rewards & Goals Styles */
.stats-overview {
    margin-bottom: 2rem;
}

.stats-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: var(--card-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Level Section */
.level-section {
    margin-bottom: 2rem;
}

.level-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: var(--card-border);
}

.level-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.level-badge {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.level-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.level-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.next-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.85rem;
}

.level-benefit {
    color: #34a853;
    font-weight: 600;
}

/* Goals Section */
.goals-section {
    margin-bottom: 2rem;
}

.goal-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: var(--card-border);
    position: relative;
}

.goal-card.active {
    border-left: 4px solid #4285f4;
}

.goal-card.streak {
    border-left: 4px solid #ff6d01;
}

.goal-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.goal-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.goal-info {
    flex: 1;
}

.goal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.goal-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.goal-reward {
    background: #34a853;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.goal-progress {
    margin-bottom: 0.75rem;
}

.goal-deadline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Badges Section */
.badges-section {
    margin-bottom: 2rem;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.badge-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: var(--card-border);
    transition: transform 0.2s ease;
}

.badge-item.earned {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(26, 115, 232, 0.05));
}

.badge-item.locked {
    opacity: 0.6;
}

.badge-item:hover {
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.badge-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.badge-date {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.badge-requirement {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Milestones Section */
.milestones-section {
    margin-bottom: 2rem;
}

.milestone-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: var(--card-border);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.milestone-icon {
    font-size: 2rem;
}

.milestone-info {
    flex: 1;
}

.milestone-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.milestone-reward {
    font-size: 0.85rem;
    color: #34a853;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.milestone-progress {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Rewards History */
.rewards-history {
    margin-bottom: 2rem;
}

.reward-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border: var(--card-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reward-icon {
    font-size: 1.5rem;
}

.reward-info {
    flex: 1;
}

.reward-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.reward-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.reward-amount {
    font-size: 1rem;
    font-weight: 600;
    color: #34a853;
}

/* How It Works */
.how-it-works {
    margin-bottom: 2rem;
}

.info-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: var(--card-border);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.info-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Error/Issue Reporting Styles */
.issue-type-section {
    margin-bottom: 2rem;
}

.issue-types {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.issue-type-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.issue-type-card:hover {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
}

.issue-type-card.active {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(26, 115, 232, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.issue-icon {
    font-size: 2rem;
    min-width: 3rem;
}

.issue-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.issue-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Report Form */
.report-form {
    animation: slideIn 0.3s ease;
}

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

.prefilled-section {
    margin-bottom: 2rem;
}

.prefilled-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.prefilled-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.prefilled-item:last-child {
    margin-bottom: 0;
}

.prefilled-item label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.prefilled-item span {
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
    max-width: 60%;
}

.issue-details-section {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group textarea,
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group textarea:focus,
.form-group input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

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

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.urgency-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.urgency-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.urgency-option:hover {
    background: var(--hover-bg);
}

.urgency-option input[type="radio"] {
    display: none;
}

.urgency-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.urgency-indicator.low {
    background: #34a853;
}

.urgency-indicator.medium {
    background: #fbbc04;
}

.urgency-indicator.high {
    background: #ea4335;
}

.urgency-option input[type="radio"]:checked + .urgency-indicator {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Photo Upload */
.photo-section {
    margin-bottom: 2rem;
}

.photo-upload-area {
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photo-upload-area:hover {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
}

.upload-placeholder i {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.upload-placeholder p {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: var(--text-primary);
}

.upload-placeholder small {
    color: var(--text-secondary);
}

.uploaded-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.photo-preview {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-photo {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: none;
    background: rgba(234, 67, 53, 0.9);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact and Resolution Options */
.contact-section,
.resolution-section {
    margin-bottom: 2rem;
}

.contact-options,
.resolution-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-option,
.resolution-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-option:hover,
.resolution-option:hover {
    background: var(--hover-bg);
    border-color: #4285f4;
}

.contact-option input,
.resolution-option input {
    margin: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    border: none;
}

.form-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

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

.form-actions .btn-secondary:hover {
    background: var(--hover-bg);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    animation: slideIn 0.3s ease;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 2rem;
    animation: successBounce 0.6s ease;
}

.success-message h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.success-message p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.success-details {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

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

.detail-item strong {
    color: var(--text-secondary);
}

.detail-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* Report Issue Button */
.btn-report {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ea4335;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-report:hover {
    background: #d93025;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(234, 67, 53, 0.3);
}

.btn-report i {
    font-size: 0.9rem;
}

.pickup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

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

/* Invite & Referral Styles */
.invite-hero {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(26, 115, 232, 0.05));
    border-radius: 16px;
    margin-bottom: 2rem;
}

.invite-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 2rem;
}

.invite-hero h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.invite-hero p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Referral Code Section */
.referral-code-section {
    margin-bottom: 2rem;
}

.referral-code-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.code-display {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.code-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.code-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4285f4;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-btn {
    padding: 0.75rem 1rem;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #1a73e8;
    transform: translateY(-1px);
}

.code-help {
    text-align: center;
}

.code-help p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Rewards Grid */
.rewards-info-section {
    margin-bottom: 2rem;
}

.rewards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.reward-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reward-icon {
    font-size: 2rem;
    min-width: 3rem;
    text-align: center;
}

.reward-info {
    flex: 1;
}

.reward-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #34a853;
    margin-bottom: 0.25rem;
}

.reward-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Referral Stats */
.referral-stats-section {
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4285f4;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-section {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.progress-count {
    font-weight: 600;
    color: #4285f4;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4285f4, #1a73e8);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-reward {
    text-align: center;
    font-size: 0.9rem;
    color: #34a853;
    font-weight: 600;
}

/* Share Section */
.share-section {
    margin-bottom: 2rem;
}

.share-message-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.message-preview {
    display: flex;
    gap: 1rem;
}

.message-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.message-content {
    flex: 1;
}

.message-text {
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--hover-bg);
    border-radius: 8px;
    border-left: 3px solid #4285f4;
}

.edit-message-btn {
    background: none;
    border: none;
    color: #4285f4;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.edit-message-btn:hover {
    background: var(--hover-bg);
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.share-btn {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
}

.share-btn:hover {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
    transform: translateY(-1px);
}

.share-btn i {
    font-size: 1.25rem;
    min-width: 1.5rem;
}

.share-btn.sms {
    border-color: #34a853;
}

.share-btn.email {
    border-color: #ea4335;
}

.share-btn.social {
    border-color: #4285f4;
}

/* Direct Invite */
.direct-invite-section {
    margin-bottom: 2rem;
}

.invite-form {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.invite-form .form-group {
    margin-bottom: 1rem;
}

.invite-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.invite-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.invite-form input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.invite-direct-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.invite-direct-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Recent Referrals */
.recent-referrals-section {
    margin-bottom: 2rem;
}

.referral-activity {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.activity-item {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    min-width: 2.5rem;
}

.activity-icon.success {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

.activity-icon.pending {
    background: rgba(251, 188, 4, 0.1);
    color: #fbbc04;
}

.activity-icon:not(.success):not(.pending) {
    background: var(--hover-bg);
    color: var(--text-secondary);
}

.activity-info {
    flex: 1;
}

.activity-desc {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.activity-reward {
    font-weight: 600;
    color: #34a853;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.view-all-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-all-btn:hover {
    background: var(--hover-bg);
    border-color: #4285f4;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 2rem;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1rem;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-question i {
    color: #4285f4;
    font-size: 1.1rem;
    min-width: 1.25rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-left: 2rem;
}

/* Modal Styles */
.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: 1000;
    padding: 1rem;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: var(--hover-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 0.5rem;
}

.modal-body textarea:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.modal-body .char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-actions .btn-secondary,
.modal-actions .btn-primary {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    border: none;
    color: white;
}

/* Payment System Styles */
.payment-methods-section {
    margin-bottom: 2rem;
}

.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.payment-method-card.active {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
}

.payment-method-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.payment-method-icon {
    font-size: 2rem;
    min-width: 3rem;
    text-align: center;
}

.payment-method-icon .fa-cc-visa {
    color: #1a1f71;
}

.payment-method-icon .fa-cc-mastercard {
    color: #eb001b;
}

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

.card-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: 'Courier New', monospace;
}

.card-expiry, .card-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-method-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.default-badge {
    background: #34a853;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.set-default-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.set-default-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
}

.delete-payment {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-payment:hover {
    color: #ea4335;
    background: rgba(234, 67, 53, 0.1);
}

.add-payment-btn {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-payment-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
}

/* Payment Settings */
.payment-settings-section {
    margin-bottom: 2rem;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setting-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.setting-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.setting-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #4285f4;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.tip-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Payment History */
.balance-summary {
    margin-bottom: 2rem;
}

.balance-card {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.balance-label {
    font-size: 1rem;
    opacity: 0.9;
}

.withdraw-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.withdraw-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.earnings-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4285f4;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Filter Section */
.filter-section {
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-tab.active {
    background: #4285f4;
    border-color: #4285f4;
    color: white;
}

.filter-tab:hover:not(.active) {
    border-color: #4285f4;
    color: #4285f4;
}

.filter-controls {
    display: flex;
    justify-content: flex-end;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Payment History List */
.date-header {
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
    padding-left: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-item {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.payment-item:hover {
    background: var(--hover-bg);
    transform: translateY(-1px);
}

.payment-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    min-width: 2.5rem;
}

.payment-icon.income {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

.payment-icon.expense {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}

.payment-icon.withdrawal {
    background: rgba(251, 188, 4, 0.1);
    color: #fbbc04;
}

.payment-info {
    flex: 1;
}

.payment-desc {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.payment-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.payment-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.payment-amount {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 4rem;
    text-align: right;
}

.payment-amount.income {
    color: #34a853;
}

.payment-amount.expense {
    color: #ea4335;
}

.payment-amount.withdrawal {
    color: #fbbc04;
}

/* Tip Payment Styles */
.neighbor-info-section {
    margin-bottom: 2rem;
}

.neighbor-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.neighbor-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    min-width: 4rem;
}

.neighbor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neighbor-details {
    flex: 1;
}

.neighbor-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.neighbor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #fbbc04;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pickup-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pickup-id {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* Tip Selection */
.tip-selection-section {
    margin-bottom: 2rem;
}

.tip-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.tip-amount-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tip-amount-btn:hover {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
}

.tip-amount-btn.active {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(26, 115, 232, 0.05));
}

.tip-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.tip-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.custom-tip-section {
    text-align: center;
}

.custom-tip-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-tip-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
}

.custom-tip-input {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
}

.amount-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.currency-symbol {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 600;
}

.amount-input-wrapper input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--input-bg);
    color: var(--text-primary);
}

.custom-tip-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary.small,
.btn-primary.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Message Section */
.message-section {
    margin-bottom: 2rem;
}

.message-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.message-input-wrapper textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.message-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message-suggestion {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: left;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.message-suggestion:hover {
    border-color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
}

/* Payment Method Display */
.selected-payment-method {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.change-payment-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: #4285f4;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.change-payment-btn:hover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.05);
}

/* Tip Summary */
.tip-summary-section {
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-row.total {
    font-weight: 700;
    color: var(--text-primary);
    border-top: 2px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* Send Tip Button */
.tip-actions {
    margin-bottom: 2rem;
}

.send-tip-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-tip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

/* Security Info */
.security-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-item i {
    color: #34a853;
}

.security-info-section {
    margin-bottom: 2rem;
}

.security-card {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.05), rgba(52, 168, 83, 0.02));
    border: 1px solid rgba(52, 168, 83, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.security-icon {
    color: #34a853;
    font-size: 2rem;
    min-width: 3rem;
}

.security-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

.security-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Success Modal */
.success-modal {
    max-width: 350px;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #34a853;
    margin-bottom: 1rem;
}

.success-modal h3 {
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.success-modal p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.success-details {
    background: var(--hover-bg);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.detail-row span:first-child {
    color: var(--text-secondary);
}

.detail-row span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* Export Section */
.export-section {
    margin-bottom: 2rem;
}

.export-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.export-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-weight: 500;
}

.export-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.05), rgba(26, 115, 232, 0.02));
    transform: translateY(-1px);
}

.export-btn i {
    font-size: 1.5rem;
}

/* Load More */
.load-more-section {
    text-align: center;
    margin: 2rem 0;
}

.load-more-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    border-color: #4285f4;
    color: #4285f4;
    background: var(--hover-bg);
}

/* Withdrawal Modal */
.withdrawal-info {
    margin-bottom: 1.5rem;
}

.available-balance {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.withdrawal-summary {
    background: var(--hover-bg);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.withdrawal-summary .summary-row {
    border-color: var(--border-color);
}

.input-help {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Tip Button Style */
.btn-tip {
    background: rgba(251, 188, 4, 0.1);
    color: #f9ab00;
    border: 1px solid rgba(251, 188, 4, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-tip:hover {
    background: rgba(251, 188, 4, 0.2);
    color: #ea8600;
    text-decoration: none;
    transform: translateY(-1px);
}
