
:root {
  --primary: #032B44;
  --secondary: #FFA500;
  --accent: #28a745;
  --bg-gradient-start: #E1F5FE;
  --bg-gradient-end: #B3E5FC;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
  min-height: 100%;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header::after {
  content: "";
  display: block;
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 1.5rem auto;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

span.highlight {
  color: var(--secondary);
  font-weight: 700;
}

.card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.img-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.img-container img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.img-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

pre {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

code {
  font-family: 'Courier New', monospace;
  color: var(--primary);
}

.button {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.button:hover {
  background: #FF8C00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 2s linear infinite;
  margin: 1rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-message {
  color: var(--accent);
  font-weight: bold;
  padding: 1rem;
  background: rgba(40, 167, 69, 0.1);
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

.error-message {
  color: #dc3545;
  font-weight: bold;
  padding: 1rem;
  background: rgba(220, 53, 69, 0.1);
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(3, 43, 68, 0.05), rgba(255, 165, 0, 0.05));
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--secondary);
  margin: 1.5rem 0;
}

.dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
}

.chart {
  flex: 1 1 45%;
  min-width: 300px;
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.nav-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.nav-tabs a {
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.nav-tabs a:hover, .nav-tabs a.active {
  color: var(--secondary);
  border-bottom: 3px solid var(--secondary);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard {
    flex-direction: column;
  }
  
  .chart {
    width: 100%;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .header::after {
    width: 100px;
  }
}

.notice {
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 2rem;
  border-top: 4px solid var(--secondary);
}

.notice p {
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

