/* PanelPe Core Stylesheet - Mobile First Fintech */
:root {
  --primary: #10b981;
  --primary-hover: #059669;
  --bg-gradient: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 35%, #ede9fe 65%, #dbeafe 100%);
  --navy-text: #0f172a;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(255, 255, 255, 0.7);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body.mobile-body {
  background: #0f172a;
  color: var(--navy-text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-viewport {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background: var(--bg-gradient);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 90px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
  .mobile-viewport {
    min-height: 850px;
    border-radius: 40px;
    border: 8px solid #1e293b;
    overflow: hidden;
    margin: 20px 0;
  }
}

/* Header */
.panelpe-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #14b8a6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brand-text h1 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.brand-text p {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

/* Cards */
.panelpe-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.05);
  margin-bottom: 14px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Bottom Navigation */
.panelpe-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 12px;
  z-index: 40;
}

.nav-bar-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  padding: 4px;
}

.nav-item.active {
  color: var(--primary);
}

.home-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}
