body {
  font-family: monospace, monospace;
  background: #f4f6f8;
  margin: 0;
  padding: 2rem;
  color: #333;
  font-size: 18px;
}

.container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  box-sizing: border-box;
}

h1 {
  text-align: center;
  color: #2c3e50;
  font-family: monospace, monospace;
}


input[type="text"] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: monospace, monospace;
  font-size: 1.1rem;
  width: 100%;
  box-sizing: border-box;
}


button {
  margin-top: 1rem;
  width: 100%;
  padding: 1.2rem;
  background: #0066cc;
  color: #fff;
  font-family: monospace, monospace;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

button:hover {
  background: #004999;
}


.response-box {
  margin-top: 2rem;
  background: #eef;
  padding: 1.2rem;
  border-radius: 8px;
  min-height: 50px;
  white-space: pre-wrap;
  font-size: 1.08rem;
  word-break: break-word;
}

label {
  font-family: monospace, monospace;
  font-weight: bold;
  margin-top: 1rem;
  display: block;
}

select {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: monospace, monospace;
  font-size: 1rem;
}


select#questionDropdown {
  width: 100%;
  padding: 1.1rem;
  border-radius: 8px;
  border: 1px solid #0066cc;
  font-size: 1.1rem;
  background: #f8fbff;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.07);
  transition: border-color 0.2s;
}

footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

footer a {
  margin: 0 1rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

footer hr {
  margin-bottom: 1rem;
}

.github-section {
  padding: 1rem 0;
}

.project-info {
  margin-bottom: 1rem;
  color: #444;
  font-size: 0.95rem;
}

.project-info a {
  color: #0066cc;
  text-decoration: none;
  margin: 0;
  font-weight: 600;
  border-bottom: 1px dotted #0066cc;
}

.project-info a:hover {
  color: #004999;
  border-bottom: 1px solid #004999;
}

.github-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.github-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #2ea44f;
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.github-button:hover {
  background: #2c974b;
}

.clone-command {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9rem;
  color: #444;
  user-select: all;
}


.custom-dropdown {
  position: relative;
  width: 100%;
  margin-bottom: 0.5rem;
  font-family: monospace, monospace;
}

.dropdown-selected {
  padding: 1.1rem;
  border-radius: 16px;
  border: 1.5px solid #0066cc;
  background: linear-gradient(135deg, #f8fbff 80%, #eaf3ff 100%);
  color: #2c3e50;
  font-size: 1.12rem;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.09);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-dropdown.open .dropdown-selected {
  border-color: #004999;
  box-shadow: 0 0 0 2px #b3d1ff;
}


.dropdown-options {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 102, 204, 0.13);
  border: 1px solid #e0eafc;
  z-index: 10;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
}

.dropdown-options li {
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  color: #2c3e50;
  cursor: pointer;
  border-radius: 12px;
  margin: 0.2rem 0.5rem;
  transition: background 0.15s, color 0.15s;
}

.dropdown-options li:hover,
.dropdown-options li:focus {
  background: #eaf3ff;
  color: #0066cc;
}


@media (max-width: 700px) {
  body {
    padding: 0.5rem;
    font-size: 16px;
  }

  .container {
    max-width: 100vw;
    border-radius: 0;
    padding: 1rem 0.2rem;
    min-height: 100vh;
    box-shadow: none;
  }

  input[type="text"],
  select,
  .dropdown-selected {
    font-size: 1rem;
    padding: 1rem;
  }

  button {
    font-size: 1rem;
    padding: 1rem;
  }

  .dropdown-options li {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }

  .response-box {
    font-size: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0.5rem 0.1rem;
  }

  input[type="text"],
  select,
  .dropdown-selected {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  button {
    font-size: 0.95rem;
    padding: 0.7rem;
  }

  .dropdown-options li {
    font-size: 0.95rem;
    padding: 0.7rem 0.7rem;
  }

  .response-box {
    font-size: 0.95rem;
    padding: 0.7rem;
  }
}
