:root {
  --primary: #1a3c5a;
  --orange: #f5a623;
  --white: #ffffff;
  --black: #000000;
  --red: #e30613;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Cores personalizadas */
.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-orange {
  background-color: var(--orange) !important;
}

.text-orange {
  color: var(--orange) !important;
}

.bg-red {
  background-color: var(--red) !important;
}

.text-red {
  color: var(--red) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.border-orange {
  border-color: var(--orange) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #15304a;
  border-color: #15304a;
  color: white;
}

.btn-orange {
  background-color: var(--orange);
  border-color: var(--orange);
  color: white;
}

.btn-orange:hover,
.btn-orange:focus {
  background-color: #e09620;
  border-color: #e09620;
  color: white;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: white;
}

.btn-outline-orange {
  color: var(--orange);
  border-color: var(--orange);
}

.btn-outline-orange:hover,
.btn-outline-orange:focus {
  background-color: var(--orange);
  color: white;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin: 0.2rem 0.5rem;
}

.sidebar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile container */
.mobile-container {
  max-width: 576px;
  margin: 0 auto;
  background-color: #f8f9fa;
  min-height: 100vh;
  position: relative;
  padding-bottom: 70px; /* Espaço para o footer */
}

/* Logo FMA */
.logo-fma {
  height: 40px;
  margin-right: 10px;
}

/* Placeholders */
.placeholder-img {
  width: 50px;
  height: 50px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}

.placeholder-img.rounded-circle {
  border-radius: 50%;
}

.placeholder-chart,
.banner-placeholder,
.news-image-placeholder,
.live-event-banner {
  border-radius: 0.25rem;
  background-color: #e9ecef;
  text-align: center;
}

/* Footer Navigation */
.footer-nav {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-nav .col {
  font-size: 0.8rem;
}

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

.footer-nav .col.active i {
  color: var(--primary);
}

/* Cards */
.card {
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Athlete Banner */
.athlete-banner {
  padding: 2rem 1rem;
}

.athlete-banner .athlete-pic .placeholder-img {
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

/* Position indicator */
.position-indicator {
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Event date */
.event-date {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Desktop specific styles */
@media (min-width: 768px) {
  .sidebar {
    height: 100vh;
  }

  .logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
  }
}

