* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f4c81 0%, #1e6fb7 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #0b4a82 0%, #1473c8 100%);
  color: white;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.header h1 {
  font-size: 2em;
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header p {
  font-size: 0.95em;
  opacity: 0.95;
  font-weight: 400;
  margin: 0;
}

.site-logo {
  height: 56px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.content {
  padding: 40px;
}

.content h2 {
  color: #333;
  margin-bottom: 25px;
  font-size: 2em;
  font-weight: 300;
}

.content h3 {
  color: #667eea;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 400;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 1.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1em;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

button:active {
  transform: translateY(0);
}

a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.error {
  background: #fee;
  color: #c33;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #c33;
  font-weight: 500;
}

.success {
  background: #efe;
  color: #3c3;
  padding: 15px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #3c3;
  font-weight: 500;
}

.nav {
  padding: 20px 40px;
  background: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #764ba2;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

table tr:hover {
  background: #f8f9fa;
}

table a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

table a:hover {
  color: #764ba2;
  text-decoration: underline;
}

.info-box {
  background: #f0f4ff;
  border-left: 4px solid #667eea;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 4px;
  color: #333;
  line-height: 1.6;
}

.welcome {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-logout {
  background: #e74c3c;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-left: 10px;
}

.btn-logout:hover {
  background: #c0392b;
}

.verify-result {
  margin-top: 30px;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.verify-valid {
  background: #e8f5e9;
  border: 2px solid #4caf50;
}

.verify-valid h3 {
  color: #2e7d32;
  font-size: 2em;
  margin-bottom: 20px;
}

.verify-invalid {
  background: #ffebee;
  border: 2px solid #f44336;
}

.verify-invalid h3 {
  color: #c62828;
  font-size: 2em;
  margin-bottom: 20px;
}

.detail-line {
  margin: 10px 0;
  font-size: 1.1em;
  color: #333;
}

.detail-line strong {
  color: #667eea;
  font-weight: 600;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8em;
  }
  .content {
    padding: 20px;
  }
  .nav {
    flex-direction: column;
    gap: 10px;
  }
  table {
    font-size: 0.9em;
  }
  table th,
  table td {
    padding: 10px;
  }
}
