@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: #E6E6FA;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* App Container */
.app {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Heading */
h1 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 22px;
  text-align: center;
}

/* Controls */
.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

select,
button {
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  flex: 1;
}

/* Select */
select {
  background: #F8F8FF;
  color: #333333;
  border: 1px solid rgba(51, 51, 51, 0.2);
}

/* Button */
button {
  background: #0E3D0E;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

button:hover {
  background: #A4863D;
  transform: translateY(-2px);
}

/* State text */
.state {
  text-align: center;
  font-size: 0.85rem;
  margin: 14px 0;
  color: rgba(51, 51, 51, 0.7);
}

/* Repository Card */
.repo {
  background: #F8F8FF;
  padding: 18px;
  border-radius: 14px;
  margin-top: 18px;
  border-left: 4px solid #A4863D;
}

/* Repo Title */
.repo h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Repo Description */
.repo p {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: rgba(51, 51, 51, 0.85);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stats span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #0E3D0E;
}

/* GitHub Link */
.repo a {
  display: inline-block;
  margin-bottom: 12px;
  color: #0E3D0E;
  font-weight: 500;
  text-decoration: none;
}

.repo a:hover {
  text-decoration: underline;
}

/* Hidden */
.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 480px) {
  .app {
    padding: 20px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .stats {
    flex-direction: column;
    gap: 6px;
  }
}
