:root{
  --bg:#f3f6fb; --card:#ffffff; --muted:#6b7280; --accent:#2563eb;
  --shadow:0 6px 18px rgba(15,23,42,0.08); --radius:12px; --gap:16px;
}

body{
  font-family: Arial, sans-serif; margin:0; padding:32px;
  background: linear-gradient(180deg, #e9f1ff 0%, var(--bg) 60%);
}

.container{
  max-width:960px; margin:0 auto; padding:28px;
  border-radius:16px; background:rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

#input{
  width:100%; padding:12px; font-size:16px; border-radius:10px; margin-bottom:16px;
  border:1px solid rgba(0,0,0,0.1); outline:none;
}

#input:focus{
  border-color: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.country-list{
  display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.country-item{
  display:flex; gap:12px; padding:10px; background:var(--card);
  border-radius:10px; cursor:pointer; align-items:center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.country-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}

.country-item img{ width:52px; height:36px; object-fit:cover; border-radius:6px; }

.country-name{ font-weight:600; font-size:15px; }
.country-meta{ font-size:13px; color:var(--muted); }

.country-card{
  display:grid; grid-template-columns:160px 1fr; gap:18px; padding:18px;
  background:var(--card); border-radius:12px; box-shadow: var(--shadow);
}

.card-flag{
  width:160px; height:110px; border-radius:10px; overflow:hidden;
  background:#eef5ff; display:flex; align-items:center; justify-content:center;
}

.card-flag img{ width:100%; height:100%; object-fit:cover; }

.card-info h2{ margin:0 0 6px; font-size:20px; }
.card-info p{ margin:6px 0; font-size:15px; color:#0b1220; }
.card-info p small{ color:var(--muted); font-size:13px; }

.empty-note{ color:var(--muted); font-size:14px; text-align:center; padding:12px 0; }
