/* Centralized Phone Mockup Styles */
/* This file contains all shared styling for phone mockups to ensure consistency */

/* Disable all interactivity */
* {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Prevent scrolling */
html, body {
    overflow: hidden !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    width: 100% !important;
}

/* Disable text selection and drag */
body {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Disable all form interactions */
input, textarea, select, button {
    pointer-events: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Disable link interactions */
a {
    pointer-events: none !important;
    text-decoration: none !important;
}

/* Prevent image dragging */
img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    pointer-events: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
}

/* Lock viewport for mobile */
@viewport {
    width: device-width;
    initial-scale: 1.0;
    maximum-scale: 1.0;
    minimum-scale: 1.0;
    user-scalable: no;
}

/* Additional mobile touch prevention */
body {
    touch-action: none !important;
    -ms-touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

/* Prevent any animations or transitions that might cause movement */
*, *::before, *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
}

/* Ensure content fits in viewport without scrolling */
.main-container, .app-container, .content {
    max-height: 100vh !important;
    overflow: hidden !important;
}

/* Common phone mockup container styles */
.phone-mockup-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Status bar styling */
.status-bar {
    height: 44px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* Navigation styling */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nav-icon {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

.nav-icon.active {
    color: #42275a;
}

.nav-label {
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
}

.nav-label.active {
    color: #42275a;
}

/* Center button styling */
.center-nav-button {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #42275a 0%, #734b6d 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -20px;
    box-shadow: 0 4px 12px rgba(66, 39, 90, 0.3);
}

.center-nav-button .nav-icon {
    color: white;
    width: 28px;
    height: 28px;
}

/* Common gradient backgrounds */
.gradient-purple {
    background: linear-gradient(135deg, #42275a 0%, #734b6d 100%);
}

.gradient-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Common text styles */
.mockup-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.mockup-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 16px;
}

.mockup-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* Common button styles */
.mockup-button {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: default;
}

.mockup-button-primary {
    background: linear-gradient(135deg, #42275a 0%, #734b6d 100%);
    color: white;
}

.mockup-button-secondary {
    background: #f3f4f6;
    color: #374151;
}

/* Common card styles */
.mockup-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

/* Safe area adjustments for iPhone */
.safe-area-top {
    padding-top: env(safe-area-inset-top);
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}
