* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  color: #333;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  font-size: 1.1em;
}

.actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
}

.btn-success {
  background: #48bb78;
  color: white;
}

.btn-success:hover {
  background: #38a169;
}

.status {
  flex: 1;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
}

.status.success {
  background: #c6f6d5;
  color: #22543d;
  border: 2px solid #48bb78;
}

.status.error {
  background: #fed7d7;
  color: #742a2a;
  border: 2px solid #f56565;
}

.status.info {
  background: #bee3f8;
  color: #2c5282;
  border: 2px solid #4299e1;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: #f7fafc;
}

tbody tr:last-child {
  border-bottom: none;
}

td {
  padding: 16px;
  color: #2d3748;
}

td:first-child {
  font-weight: 600;
  color: #667eea;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.info-box {
  background: #f7fafc;
  border-left: 4px solid #667eea;
  padding: 20px;
  border-radius: 8px;
}

.info-box h3 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  color: #4a5568;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.info-box li:before {
  content: "•";
  color: #667eea;
  font-weight: bold;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: 2px;
}

.info-box code {
  background: #edf2f7;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #d53f8c;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  h1 {
    font-size: 1.8em;
  }

  .actions {
    flex-direction: column;
  }

  .status {
    width: 100%;
  }

  table {
    font-size: 14px;
  }

  th, td {
    padding: 12px 8px;
  }
}
