.admin-page {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
}

.admin-page * {
  box-sizing: border-box;
}

.admin-login-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  padding: 40px;
  margin-top: 40px;
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.admin-login-container:hover {
  transform: translateY(-5px);
}

.admin-logo-section {
  text-align: center;
  margin-bottom: 30px;
}

.admin-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.signInLogo {
  width: 60px;
  height: auto;
}

.admin-brand-name {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-brand-subtitle {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-badge {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 600;
  margin: 20px auto;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.admin-form-group {
  margin-bottom: 25px;
  position: relative;
}

.admin-form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.admin-form-group input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

.admin-form-group input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.admin-password-toggle {
  position: absolute;
  right: 15px;
  top: 43px;
  cursor: pointer;
  color: #666;
  font-size: 18px;
  user-select: none;
}

.admin-password-toggle:hover {
  color: #667eea;
}

.admin-remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 14px;
}

.admin-remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
}

.admin-forgot-password {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.admin-forgot-password:hover {
  color: #764ba2;
  text-decoration: underline;
}

.admin-login-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.admin-login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.admin-login-btn:active {
  transform: translateY(-1px);
}

.registerLink {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}

.admin-login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.admin-login-btn:hover::before {
  left: 100%;
}

.admin-security-notice {
  text-align: center;
  margin-top: 25px;
  padding: 15px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 10px;
  border-left: 4px solid #ffc107;
}

.admin-security-notice p {
  color: #856404;
  font-size: 13px;
  margin: 0;
}

.admin-loading {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-left: 10px;
}

.loginDisabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #721c24;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #dc3545;
  font-size: 14px;
  display: none;
}

@media (max-width: 480px) {
  .admin-login-container {
    padding: 30px 25px;
    margin: 10px;
  }

  .admin-brand-name {
    font-size: 24px;
  }
}
