:root {
  --primary: #ee4343;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #1e293b;
  --light: #f8fafc;
}

* { font-family: 'Inter', sans-serif; }

body {
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  min-height: 100vh;
  color: #fff;
}

.container { max-width: 650px; margin-top: 60px; }

.card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }

h1 {
  font-weight: 700;
  font-size: 2.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  background: linear-gradient(to right, #fff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.input-group {
  margin: 1.5rem 0;
  height: 56px;
}

.form-control {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.1rem;
  border-radius: 1rem 0 0 1rem;
  padding: 0 1.2rem;
}
.form-control::placeholder { color: rgba(255,255,255,0.7); }
.form-control:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.3);
  color: white;
}

.btn-check {
  background: var(--primary);
  border: none;
  border-radius: 0 1rem 1rem 0;
  font-weight: 600;
  padding: 0 1.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-check:hover {
  background: #3b5bdb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.5);
}

.btn-check .text,
.btn-check .loading {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-check .loading {
  display: none;
  color: #fff;
  font-size: 0.9rem;
}

.spinner {
  width: 18px; height: 18px;
  border: 2px solid #ffffff40;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal-content {
  border-radius: 1.2rem;
  border: none;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header {
  border: none;
  padding: 1.5rem 1.5rem 0;
  text-align: center;
}
.modal-title {
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal-body {
  padding: 1rem 1.5rem 2rem;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.6;
}

.uy-tin { background: linear-gradient(135deg, #10b981, #34d399); color: white; }
.trung-binh { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #1f2937; }
.doc-hai { background: linear-gradient(135deg, #ef4444, #f87171); color: white; }

.icon-lg {
  font-size: 2.5rem;
  animation: bounce 1.5s infinite;
}

.logo-shield {
  width: 64px;
  height: 72px;
  margin: 0 auto 1rem;
  background: url("data:image/svg+xml,%3Csvg width='64' height='72' viewBox='0 0 64 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CradialGradient id='glow' cx='0.5' cy='0.3' r='0.8'%3E%3Cstop offset='0%' stop-color='%2320e3b2'/%3E%3Cstop offset='100%' stop-color='%23059c68'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M32 6L56 14V36C56 54 42 66 32 68C22 66 8 54 8 36V14L32 6Z' fill='url(%23glow)' stroke='%2300ffd5' stroke-width='2'/%3E%3Cpath d='M24 36L30 42L40 30' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  filter: drop-shadow(0 4px 10px rgba(0,255,213,0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-shield:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(0,255,213,0.5));
}


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}