:root {
  --black: #111111;
  --green: #9cff1e;
  --white: #ffffff;
  --gray: #2a2a2a;
  --gray-light: #444444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  height: 60px;
}

.header-back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 8px;
}

.header-back:active {
  background: var(--gray);
}

.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:active {
  background: var(--gray);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--gray);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.side-menu.active {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-header {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.menu-header h2 {
  font-size: 1.5rem;
  color: var(--green);
}

.menu-items {
  list-style: none;
  padding: 1rem 0;
}

.menu-items li {
  margin: 0;
}

.menu-items a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
  font-size: 1rem;
}

.menu-items a:active {
  background: var(--gray-light);
}

.menu-items a i {
  width: 24px;
  font-size: 1.25rem;
  color: var(--green);
}

.menu-items a.logout {
  color: #ff4444;
}

.menu-items a.logout i {
  color: #ff4444;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray);
  border-top: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #999;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
  flex: 1;
}

.nav-item i {
  font-size: 1.5rem;
}

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

/* Main Content */
.main-content {
  padding: 1.5rem 1.25rem 100px;
  min-height: 100vh;
}

/* Auth Pages */
.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  background: var(--black);
}

.auth-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.auth-logo h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.auth-logo span {
  color: var(--green);
}

.auth-logo p {
  color: #999;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.auth-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--gray);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--green);
  background: var(--gray-light);
}

.form-group input::placeholder {
  color: #666;
}

.btn {
  width: 100%;
  padding: 1rem;
  background: var(--green);
  color: var(--black);
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:active {
  transform: scale(0.98);
  background: #8ce61a;
}

.btn-secondary {
  background: var(--gray);
  color: var(--white);
  border: 1px solid var(--gray-light);
}

.btn-secondary:active {
  background: var(--gray-light);
}

.auth-links {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-links a {
  color: var(--green);
  text-decoration: none;
  font-size: 0.95rem;
}

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: #666;
  font-size: 0.9rem;
}

/* Card Page */
.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 2rem 1.5rem;
}

.qr-card {
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 100%);
  border: 2px solid var(--green);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(156, 255, 30, 0.2);
  width: 100%;
  max-width: 320px;
}

.qr-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.qr-card p {
  color: #999;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.qr-code {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  margin: 0 auto 1.5rem;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code img {
  width: 100%;
  height: 100%;
}

.member-id {
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
  letter-spacing: 1px;
}

/* Subscription Card */
.subscription-card {
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 100%);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--green);
}

.subscription-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.subscription-card .plan-name {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.countdown span {
  font-size: 0.9rem;
  color: #999;
}

.countdown strong {
  color: var(--green);
  font-size: 1.1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 10px;
  transition: width 0.5s;
}

.progress-text {
  font-size: 0.85rem;
  color: #999;
  text-align: right;
}

/* Occupancy Section */
.occupancy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.gym-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gym-card {
  background: var(--gray);
  border-radius: 15px;
  padding: 1.25rem;
  border-left: 3px solid var(--green);
}

.gym-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.gym-benefit {
  font-size: 0.85rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.occupancy-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.occupancy-level {
  flex: 1;
  height: 10px;
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
}

.occupancy-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s;
}

.occupancy-fill.low {
  background: var(--green);
}

.occupancy-fill.medium {
  background: #ffa500;
}

.occupancy-fill.high {
  background: #ff4444;
}

.occupancy-text {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 45px;
  text-align: right;
}

/* Plans Page */
.current-plan {
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 100%);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 2px solid var(--green);
  text-align: center;
}

.current-plan h3 {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.current-plan h2 {
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.current-plan p {
  color: var(--white);
  font-size: 0.95rem;
}

.plans-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.plan-card {
  background: var(--gray);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--gray-light);
  transition: all 0.2s;
}

.plan-card:active {
  transform: scale(0.98);
  border-color: var(--green);
}

.plan-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

.plan-price span {
  font-size: 1rem;
  color: #999;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.25rem;
}

.plan-features li {
  padding: 0.5rem 0;
  color: #ccc;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.plan-features li:before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Trainers Page */
.location-section {
  margin-bottom: 2.5rem;
}

.location-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--green);
  padding-left: 0.5rem;
  border-left: 3px solid var(--green);
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trainer-card {
  background: var(--gray);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s;
}

.trainer-card:active {
  transform: scale(0.95);
}

.trainer-photo {
  width: 100%;
  height: 180px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trainer-photo i {
  font-size: 3rem;
  color: #666;
}

.trainer-info {
  padding: 1rem;
}

.trainer-info h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.trainer-info p {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}

.trainer-card .accent-color{
    color:#ffffff;
    text-decoration:none !important;
}
.trainer-card .accent-color a{
 text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.trainer-card button{
    background-color: transparent;
  border: none;
  color: #fff;
  cursor:pointer;
}


/* Partners Page */
.partners-grid {
  display: grid;
  gap: 1rem;
}

.partner-card {
  background: var(--gray);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--gray-light);
  transition: all 0.2s;
}

.partner-card:active {
  transform: scale(0.98);
  border-color: var(--green);
}

.partner-logo {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-logo i {
  font-size: 1.75rem;
  color: var(--black);
}

.partner-info h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.partner-info p {
  font-size: 0.9rem;
  color: #999;
}

/* Settings Page */
.settings-section {
  margin-bottom: 2.5rem;
}

.settings-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  color: var(--green);
}

.settings-form {
  background: var(--gray);
  border-radius: 15px;
  padding: 1.5rem;
}

/* History Page */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-item {
  background: var(--gray);
  border-radius: 15px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid var(--green);
}

.history-info h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.history-info p {
  font-size: 0.9rem;
  color: #999;
}

.history-time {
  text-align: right;
}

.history-time .time {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  display: block;
}

.history-time .date {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.25rem;
}

/* Welcome Section */
.welcome-section {
  margin-bottom: 2rem;
}

.welcome-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.welcome-section h1 span {
  color: var(--green);
}

.welcome-section p {
  color: #999;
  font-size: 0.95rem;
}

/* Hero Image */
.hero-image {
  width: calc(100% + 2.5rem);
  margin-left: -1.25rem;
  height: 240px;
  background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 100%);
  margin-bottom: 2rem;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (min-width: 768px) {
  .main-content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .auth-container {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .side-menu {
    max-width: 400px;
  }
}




/* Culorile din home.tsx */
:root {
  --accent-neon: #9CFF1E;
  --card-bg-light: #252525;
  --text-secondary: #9CA3AF;
}

.gym-card {
  background: #1A1A1A;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(156, 255, 30, 0.1);
}

.gym-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.gym-name {
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Bulinele de status */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Tag-urile de beneficii ca in React Native */
.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card-bg-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--text-secondary);
}

.feature-tag i {
  color: var(--accent-neon);
  font-size: 10px;
}




/* Utility Classes */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-gray { color: #999; }