/* Country Information Display Styles */

.flag {
  width: 64px;
  height: auto;
  margin-right: var(--spacing-md);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

#country-info {
  margin-top: var(--spacing-md);
}

#country-info p {
  margin: var(--spacing-xs) 0;
  font-size: 13px;
}

#country-info h3 {
  margin: var(--spacing-sm) 0 var(--spacing-md) 0;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
}

#country-info h4 {
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-xs);
}

/* Simplified Country Information Display */
.country-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
}

.flag-simple {
  width: 48px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.country-title h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.country-region {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.country-essentials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.essential-item {
  text-align: center;
  padding: var(--spacing-sm);
  background: var(--background-gray);
  border-radius: var(--radius-sm);
}

.essential-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.essential-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.country-tags {
  margin-bottom: var(--spacing-lg);
}

.tag-group {
  margin-bottom: var(--spacing-sm);
}

.tag-group:last-child {
  margin-bottom: 0;
}

.tag-group-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.tag {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.tag-border {
  background: var(--success-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-border:hover {
  background: #047857;
  transform: translateY(-1px);
}

.country-more {
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-md);
}

.more-icon {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.additional-info {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--background-gray);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.info-item {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-xs);
}

.info-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.info-value {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.info-value.status-yes {
  color: var(--success-color);
}

.info-value.status-no {
  color: var(--secondary-color);
}

.flag-description {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-primary);
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-color);
}

.empty-state {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-md);
}

.empty-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.empty-subtext {
  font-size: 13px;
  opacity: 0.8;
}

.country-link {
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dotted var(--text-secondary);
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

.country-link:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  border-bottom-style: solid;
}