:root {
  --europe-red: #ff4d4d;
  --europe-dark: #121829;
  --europe-grey: #6b7280;
  --europe-light-bg: #f8fafc;
  --europe-white: #ffffff;
  --europe-badge-bg: #f1f5f9;
}

.europe-inventory-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Outfit", sans-serif;
}

.europe-inventory-container * {
  box-sizing: border-box;
}

/* New Header Styles */
.europe-inventory-container .navigator-header {
  background-color: var(--europe-dark);
  border-radius: 60px;
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.europe-inventory-container .header-left {
  flex: 1;
}

.europe-inventory-container .header-title {
  color: #fff !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -1px !important;
}

.europe-inventory-container .header-subtitle {
  color: #94a3b8 !important;
  font-size: 16px !important;
  max-width: 500px;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Search Bar on Right */
.europe-inventory-container .header-right {
  margin-left: 30px;
}

.europe-inventory-container .search-wrapper {
  position: relative;
  width: 320px;
}

.europe-inventory-container .search-input {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  color: #fff !important;
  padding: 16px 20px 16px 48px !important;
  font-size: 15px !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  height: auto !important;
}

.europe-inventory-container .search-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--europe-red) !important;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1) !important;
}

.europe-inventory-container .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  display: flex;
  align-items: center;
}

/* Card Styles */
.europe-inventory-container .inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.europe-inventory-container .card {
  background: #fff;
  border-radius: 40px;
  padding: 35px;
  border: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: none; /* Removed default shadow */
}

.europe-inventory-container .card:hover {
  border-color: var(--europe-red);
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.2);
}

/* Card Head */
.europe-inventory-container .card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.europe-inventory-container .dial-code {
  font-size: 34px;
  font-weight: 800;
  color: var(--europe-red);
  line-height: 1;
}

.europe-inventory-container .flag-icon {
  width: 44px;
  height: 44px;
  background: #fff5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.europe-inventory-container .card:hover .flag-icon {
  background: var(--europe-red);
}

.europe-inventory-container .flag-icon svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.europe-inventory-container .card:hover .flag-icon svg path {
  stroke: #fff;
}

/* Card Body */
.europe-inventory-container .country-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--europe-dark);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.europe-inventory-container .card:hover .country-name {
  color: var(--europe-red);
}

.europe-inventory-container .capital-info {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 22px;
}

.europe-inventory-container .icon-pin-mini {
  width: 14px;
  height: 14px;
  fill: #cbd5e1;
}

/* Badges */
.europe-inventory-container .badge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.europe-inventory-container .badge-item {
  display: inline-block;
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.europe-inventory-container .badge-item.accent {
  color: var(--europe-red);
  background: #fff1f2;
}

/* Card Footer */
.europe-inventory-container .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f8fafc;
}

.europe-inventory-container .price-label {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.europe-inventory-container .price-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--europe-dark);
}

.europe-inventory-container .action-btn-round {
  width: 52px;
  height: 52px;
  background: var(--europe-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.europe-inventory-container .card:hover .action-btn-round {
  background: var(--europe-red);
  transform: scale(1.05);
}

.europe-inventory-container .action-btn-round svg {
  width: 24px;
  height: 24px;
}

/* Responsiveness */
@media (max-width: 1100px) {
  .europe-inventory-container .inventory-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .europe-inventory-container .navigator-header { flex-direction: column; padding: 40px; text-align: center; border-radius: 40px; }
  .europe-inventory-container .header-right { margin: 30px 0 0 0; width: 100%; }
  .europe-inventory-container .search-wrapper { width: 100%; }
  .europe-inventory-container .inventory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .europe-inventory-container .inventory-grid { grid-template-columns: 1fr; }
  .europe-inventory-container .header-title { font-size: 32px !important; }
}

.europe-inventory-container .no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  font-size: 20px;
  color: #94a3b8;
  font-weight: 500;
}
