/* Phone Mockup Component — CSS-only iPhone frame */

.phone-strip { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; padding: 32px 0; }
.phone-strip-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 12px; }

.phone-frame {
    width: 260px; flex-shrink: 0;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 14px 12px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.25), inset 0 0 0 2px #333;
    position: relative;
}

.phone-notch {
    width: 100px; height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    min-height: 460px;
    position: relative;
}

/* Status bar */
.phone-screen::before {
    content: '9:41';
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 8px 0 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.phone-content {
    padding: 8px 16px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Scaled text inside mockups */
.phone-content .m-org { font-size: 10px; color: #6b7280; text-align: center; }
.phone-content .m-name { font-size: 20px; font-weight: 700; text-align: center; margin: 2px 0; color: #111; }
.phone-content .m-campaign { font-size: 11px; color: #6b7280; text-align: center; margin-bottom: 8px; }
.phone-content .m-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 600; }
.phone-content .m-badge-accent { background: #eff6ff; color: #2563eb; }
.phone-content .m-badge-green { background: #dcfce7; color: #166534; }
.phone-content .m-badge-yellow { background: #fef3c7; color: #92400e; }
.phone-content .m-badge-red { background: #fee2e2; color: #dc2626; }

/* Counter */
.phone-content .m-counter { text-align: center; padding: 16px 0; }
.phone-content .m-counter-value { font-size: 52px; font-weight: 800; color: #2563eb; line-height: 1; }
.phone-content .m-counter-unit { font-size: 14px; color: #6b7280; margin-top: 2px; }
.phone-content .m-counter-time { font-size: 12px; color: #9ca3af; margin-top: 6px; }

/* Accuracy */
.phone-content .m-accuracy { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; color: #9ca3af; margin-top: 4px; }
.phone-content .m-accuracy-dot { width: 6px; height: 6px; border-radius: 50%; }

/* Buttons */
.phone-content .m-btn { display: block; width: 100%; padding: 12px; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; text-align: center; margin-top: 10px; color: white; cursor: default; }
.phone-content .m-btn-green { background: #22c55e; }
.phone-content .m-btn-red { background: #ef4444; }
.phone-content .m-btn-blue { background: #2563eb; }

/* Recording badge */
.phone-content .m-recording { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; background: #fee2e2; color: #dc2626; font-size: 10px; font-weight: 600; }
.phone-content .m-recording-dot { width: 6px; height: 6px; border-radius: 50%; background: #dc2626; animation: m-pulse 1.5s ease-in-out infinite; }
@keyframes m-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Photo button */
.phone-content .m-photo-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 10px; color: #374151; background: white; }

/* Results card */
.phone-content .m-results { background: white; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; margin: 8px 0; }
.phone-content .m-results h4 { font-size: 14px; text-align: center; margin: 0 0 10px; }
.phone-content .m-result-row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid #f3f4f6; font-size: 11px; }
.phone-content .m-result-row:last-child { border-bottom: none; }
.phone-content .m-result-label { color: #9ca3af; }
.phone-content .m-result-value { font-weight: 600; color: #111; }

/* Done state */
.phone-content .m-done { text-align: center; padding: 20px 0; }
.phone-content .m-done-icon { font-size: 36px; margin-bottom: 8px; }
.phone-content .m-done h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.phone-content .m-done p { font-size: 12px; color: #6b7280; line-height: 1.4; margin: 0 0 8px; }

/* Athon tabs */
.phone-content .m-tabs { display: flex; border: 1.5px solid #e5e7eb; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.phone-content .m-tab { flex: 1; padding: 8px 4px; text-align: center; font-size: 10px; font-weight: 600; color: #6b7280; background: white; border: none; }
.phone-content .m-tab.active { background: #2563eb; color: white; }
.phone-content .m-tab:first-child { border-right: 1px solid #e5e7eb; }

/* Pledge inputs */
.phone-content .m-pledge-row { display: flex; align-items: center; gap: 6px; margin: 10px 0; }
.phone-content .m-pledge-row .m-dollar { font-size: 16px; font-weight: 700; }
.phone-content .m-pledge-input { flex: 1; padding: 8px; border: 1.5px solid #2563eb; border-radius: 8px; font-size: 16px; font-weight: 700; text-align: center; color: #111; background: white; }
.phone-content .m-pledge-unit { font-size: 11px; color: #6b7280; white-space: nowrap; }
.phone-content .m-field-label { font-size: 9px; color: #9ca3af; margin: 6px 0 2px; }
.phone-content .m-field-input { width: 100%; padding: 6px 8px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 11px; color: #9ca3af; box-sizing: border-box; background: white; }
.phone-content .m-info { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 8px; margin: 10px 0; font-size: 9px; color: #1e40af; line-height: 1.4; }

/* Warning banner (yellow) */
.phone-content .m-warn { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 8px; padding: 6px 10px; font-size: 9px; color: #92400e; text-align: center; margin: 8px 0; }

/* Admin mockup (wider) */
.admin-frame { width: 100%; max-width: 700px; background: #f9fafb; border: 1.5px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.admin-bar { background: white; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; gap: 6px; }
.admin-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.admin-bar .dot-r { background: #ef4444; }
.admin-bar .dot-y { background: #eab308; }
.admin-bar .dot-g { background: #22c55e; }
.admin-bar .url { font-size: 11px; color: #9ca3af; margin-left: 8px; background: #f3f4f6; padding: 4px 12px; border-radius: 4px; flex: 1; }
.admin-content { padding: 16px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
.admin-content .m-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.admin-content .m-stat { text-align: center; padding: 10px; background: white; border-radius: 8px; border: 1px solid #e5e7eb; }
.admin-content .m-stat-num { font-size: 20px; font-weight: 800; color: #2563eb; }
.admin-content .m-stat-lbl { font-size: 9px; color: #9ca3af; margin-top: 2px; }
.admin-content .m-table { width: 100%; border-collapse: collapse; font-size: 11px; background: white; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.admin-content .m-table th { background: #f9fafb; padding: 6px 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; color: #9ca3af; text-align: left; }
.admin-content .m-table td { padding: 6px 8px; border-top: 1px solid #f3f4f6; }
.admin-content .m-map { height: 140px; background: #e8f4e8; border-radius: 8px; margin-top: 12px; position: relative; overflow: hidden; border: 1px solid #d1e7d1; }
.admin-content .m-map-path { position: absolute; }

@media (max-width: 700px) {
    .phone-strip { gap: 16px; }
    .phone-frame { width: 220px; }
    .phone-content .m-counter-value { font-size: 40px; }
    .admin-content .m-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .phone-frame { width: 200px; }
    .phone-screen { min-height: 380px; }
}
