* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 30px;
}

.main-container {
  max-width: 700px;
  margin: 0 auto;
}

.header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.form-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-container label {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
}

.btn-register {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
  margin-top: 10px;
}

.btn-register:hover {
  transform: translateY(-2px);
}

.view-btn-container {
  text-align: center;
  margin-top: 20px;
}

.btn-view {
  padding: 12px 40px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-view:hover {
  transform: translateY(-2px);
}

.table-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.table-container h3 {
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

#message {
  margin: 10px 0;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.success {
  background: #d4edda;
  color: #155724;
  display: block !important;
}

.error {
  background: #f8d7da;
  color: #721c24;
  display: block !important;
}