/* Base styles */
:root {
  --primary-color: #4361ee;
  --secondary-color: #7209b7;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --light-color: #f9fafb;
  --dark-color: #1f2937;
}

/* Data item styling */
.data-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.data-item:last-child {
  border-bottom: none;
}

.data-label {
  font-weight: 500;
  color: #4b5563;
  flex: 0 0 30%;
}

.data-value-container {
  display: flex;
  align-items: center;
  flex: 0 0 70%;
}

.data-value {
  margin-right: 0.5rem;
  word-break: break-word;
}

.copy-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.copy-btn:hover {
  color: var(--primary-color);
  background-color: #f3f4f6;
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 1rem 1.5rem;
  background-color: var(--dark-color);
  color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 50;
  transform: translateY(1rem);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notification i {
  margin-right: 0.75rem;
}

.toast-notification.success {
  background-color: var(--success-color);
}

.toast-notification.error {
  background-color: var(--danger-color);
}

.toast-notification.info {
  background-color: #3b82f6;
}

/* Fix select appearance */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important;
}

/* Country select dropdown with search */
.country-select-wrapper {
  position: relative;
}

.country-search-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.country-dropdown {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 300px;
  overflow-y: auto;
}

.country-dropdown-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
}

.country-dropdown-item:last-child {
  border-bottom: none;
}

.country-dropdown-item:hover {
  background-color: #f3f4f6;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .data-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .data-label {
    margin-bottom: 0.25rem;
  }

  .data-value-container {
    width: 100%;
  }
}
