* {
  box-sizing: border-box;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 850px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

h1, h2 {
  text-align: center;
  margin-bottom: 15px;
}

.form-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

input {
  padding: 10px;
  border: none;
  border-radius: 8px;
  width: 30%;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

button {
  background: #00b894;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

button:hover {
  background: #019874;
}

button.danger {
  background: #d63031;
}

button.danger:hover {
  background: #b12728;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  min-width: 400px;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.console {
  background: rgba(0, 0, 0, 0.5);
  min-height: 80px;
  border-radius: 10px;
  padding: 10px;
  overflow-y: auto;
  max-height: 150px;
  font-family: monospace;
  font-size: 0.9rem;
  margin-top: 10px;
}

@media (max-width: 768px) {
  input {
    width: 100%;
  }

  button {
    width: 100%;
  }

  .container {
    padding: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  table {
    font-size: 0.9rem;
  }
}
