:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --success: #4cc9f0;
  --warning: #f72585;
  --border-radius: 12px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: var(--dark);
  min-height: 100vh;
  padding-bottom: 70px;
}

.app-header {
  background-color: var(--primary);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.view {
  padding: 20px;
  min-height: calc(100vh - 130px);
}

.page-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 70vh;
  color: var(--gray);
}

.page-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #ddd;
}

.page-placeholder h2 {
  margin-bottom: 10px;
  font-weight: 500;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  padding: 8px 15px;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.nav-btn.active {
  color: var(--primary);
}

.nav-btn .icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.nav-btn .label {
  font-size: 0.75rem;
}

.float3d {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
  cursor: pointer;
  transform: translateY(-10px);
  transition: var(--transition);
}

.float3d:hover {
  background-color: var(--primary-dark);
  transform: translateY(-12px) scale(1.05);
}

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.loader-dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: bounce 1.5s infinite ease-in-out;
}

.loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.btn.primary {
  background-color: var(--primary);
  color: white;
}

.btn.primary:hover {
  background-color: var(--primary-dark);
}