/**
 * Base Mockup Styles
 * Shared styles for all phone mockup components
 */

/* ============================================
   CSS Variables for Mockups
   ============================================ */
:root {
    --mockup-cyan: #00d2ff;
    --mockup-orange: #ff8800;
    --mockup-navy: #1e1b4b;
    --mockup-success: #34C759;
    --mockup-pr-border: #FFD700;
    --mockup-workout-border: #ff8800;
    --mockup-milestone-border: #34C759;
    --mockup-disabled-text: #C7C7CC;
    --mockup-header-dark: #1C1C1E;
    --mockup-feed-bg: #f8f9fa;
    --mockup-card-bg: #ffffff;
}

/* ============================================
   Override default mockup-content styles
   ============================================ */
.mockup-placeholder[data-mockup="activity-feed"] .mockup-content,
.mockup-placeholder[data-mockup="logging"] .mockup-content,
.mockup-placeholder[data-mockup="joint-session"] .mockup-content,
.mockup-placeholder[data-mockup="coming-soon"] .mockup-content {
    min-height: auto;
    padding: 1.5rem 1rem;
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
}

.mockup-placeholder[data-mockup="activity-feed"] .mockup-content::before,
.mockup-placeholder[data-mockup="logging"] .mockup-content::before,
.mockup-placeholder[data-mockup="joint-session"] .mockup-content::before,
.mockup-placeholder[data-mockup="coming-soon"] .mockup-content::before {
    content: none;
}

/* ============================================
   Phone Frame Component (Reusable Base)
   ============================================ */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 36px;
    padding: 8px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        inset 0 0 0 2px #333;
    position: relative;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--mockup-feed-bg);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

/* Status bar area (behind notch) */
.phone-status-bar {
    height: 44px;
    background: inherit;
    position: relative;
    z-index: 10;
}

/* ============================================
   Bottom Tab Bar (Shared)
   ============================================ */
.app-tab-bar {
    display: flex;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 8px 0 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.tab-item {
    flex: 1;
    text-align: center;
    font-size: 9px;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.tab-item.active {
    color: var(--mockup-cyan);
}

.tab-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
}

.tab-item.active .tab-icon svg rect,
.tab-item.active .tab-icon svg circle,
.tab-item.active .tab-icon svg path {
    fill: var(--mockup-cyan);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 1024px) {
    .phone-frame {
        width: 260px;
        height: 520px;
        border-radius: 32px;
    }

    .phone-notch {
        width: 70px;
        height: 20px;
    }

    .phone-screen {
        border-radius: 24px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 240px;
        height: 480px;
        border-radius: 28px;
    }
}
