/**
 * dopic.app - Mobile Stylesheet for [exif-clean]
 */

.m-app-container {
  padding: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.m-dropzone-sec {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.m-dropzone {
  border: 2px dashed #cbd5e1;
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Mobile Real Photo Showcase with On-Image Metadata Overlays */
.m-showcase-box {
  margin-bottom: 0.85rem;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.m-showcase-box:active {
  transform: scale(0.985);
}
.m-showcase-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}
.m-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}
.m-showcase-top {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.m-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.m-live-dot {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.m-btn-try-sample {
  background: #ffffff;
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.m-showcase-hud {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  z-index: 10;
}
.m-hud-pill {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.2;
}
.m-hud-pill.m-hud-danger {
  background: rgba(185, 28, 28, 0.75);
  border-color: rgba(254, 202, 202, 0.3);
}
.m-hud-val {
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* Mobile Overview Header */
.m-meta-overview {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.m-preview-thumb-box {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}
.m-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.m-file-info-box {
  flex: 1;
  min-width: 0;
}
.m-file-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-file-specs {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
  margin-top: 2px;
}

/* Status Banner */
.m-status-banner {
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.m-status-banner.danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.m-status-banner.warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.m-status-banner.safe {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* Meta Report Items */
.m-meta-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.m-meta-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}
.m-meta-item.danger {
  border-color: #fca5a5;
  background: #fff5f5;
}
.m-meta-item.safe {
  border-color: #d1fae5;
  background: #f0fdf4;
}

.m-btn-strip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.8rem;
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.sample-btn {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
