/* Main Layout */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Header Styles */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 800px;
  margin: 0 auto;
}

.primary-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 300;
}

/* Card Components */
.card-component {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-component:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-wide {
  grid-column: span 2;
}

.card-full {
  grid-column: 1 / -1;
}

.card-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.card-content {
  padding: 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

/* Activity Card */
.activity-card .card-header {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border-bottom: none;
}

.activity-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Details Card */
.info-grid {
  display: grid;
  gap: 16px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.info-label {
  font-weight: 600;
  color: #495057;
  flex: 1;
}

.info-value {
  color: #2c3e50;
  font-weight: 500;
  text-align: right;
  flex: 1;
}

/* Navigation Card */
.navigation-card .card-header {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  color: white;
  border-bottom: none;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.nav-label {
  color: #6c757d;
  font-weight: 500;
}

.nav-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  background: #e3f2fd;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-1px);
}

/* Summary Card */
.summary-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.summary-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.phone-highlight {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

/* Reports Card */
.reports-subtitle {
  color: #6c757d;
  margin: 8px 0 0 0;
  font-size: 1rem;
}

.reports-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.report-item {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  background: #f8f9fa;
}

.report-header {
  margin-bottom: 12px;
}

.report-number {
  font-weight: 600;
}

.number-link {
  color: #667eea;
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
}

.number-link:hover {
  text-decoration: underline;
}

.report-comment {
  margin: 0;
  padding: 12px 16px;
  background: white;
  border-left: 4px solid #667eea;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #495057;
}

/* Index Numbers Grid */
.index-subtitle {
  color: #6c757d;
  margin: 8px 0 0 0;
  font-size: 1rem;
}

.numbers-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.grid-section {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}

.grid-section-title {
  background: #667eea;
  color: white;
  padding: 16px 20px;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: #e9ecef;
  padding: 1px;
}

.number-item {
  background: white;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.number-item:hover {
  background: #f8f9fa;
}

.number-domestic {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

.number-international {
  font-family: 'Courier New', monospace;
  color: #6c757d;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-wrapper {
    padding: 16px;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .card-wide,
  .card-full {
    grid-column: 1;
  }
  
  .primary-heading {
    font-size: 2rem;
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .card-header {
    padding: 16px 16px 12px 16px;
  }
  
  .card-content {
    padding: 16px;
  }
  
  .info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .info-value {
    text-align: left;
  }
  
  .breadcrumb-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .number-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .number-grid {
    grid-template-columns: 1fr;
  }
  
  .primary-heading {
    font-size: 1.7rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.2s ease;
}

.brand-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.navbar-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
    transform: translateY(-1px);
}