/* Shared login look for front-end and wp-login */
:root {
  --qg-primary: #f97316; /* QikVI primary orange */
  --qg-primary-light: #ffedd5; /* QikVI light orange */
  --qg-secondary: #000000; /* QikVI secondary black */
  --qg-bg: #0b0f17; /* Background */
  --qg-card: #111827; /* Card background */
  --qg-border: #2b3445; /* Border color */
  --qg-text: #e5e7eb; /* Text color */
  --qg-muted: #9ca3af; /* Muted text */
  --qg-radius: 16px; /* Border radius */
  --qg-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); /* Box shadow */
  --qg-focus: 0 0 0 4px rgba(249, 115, 22, 0.35); /* Focus outline */
}

html, body {
  height: 100%;
}

body.qikvi-gate, body.login {
  background: radial-gradient(1200px 800px at 15% -10%, rgba(249, 115, 22, 0.15), transparent 60%),
              radial-gradient(1000px 700px at 110% 10%, rgba(255, 237, 213, 0.18), transparent 55%),
              var(--qg-bg);
  color: var(--qg-text);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  margin: 0;
}

/* Helper Classes */
.qg-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qg-center {
  text-align: center;
}

.qg-rounded {
  border-radius: var(--qg-radius);
}

.qg-shadow {
  box-shadow: var(--qg-shadow);
}

.qg-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.qg-btn-primary {
  background: var(--qg-primary);
  color: #fff;
}

.qg-btn-primary:hover {
  background: #d65e0e;
  transform: translateY(-2px);
}

.qg-btn-secondary {
  background: var(--qg-secondary);
  color: #fff;
}

.qg-btn-secondary:hover {
  background: #333;
  transform: translateY(-2px);
}

.qg-link {
  color: var(--qg-primary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.qg-link:hover {
  color: #d65e0e;
}

/* Card Design */
.qg-wrap {
  min-height: 100vh;
  padding: 1.5rem;
}

.qg-card {
  background: var(--qg-card);
  color: var(--qg-text);
  border: 1px solid var(--qg-border);
  border-radius: var(--qg-radius);
  box-shadow: var(--qg-shadow);
  padding: 2rem;
  max-width: 420px;
  margin: auto;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.qg-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--qg-primary);
}

.qg-lead {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--qg-muted);
}

.qg-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Form Styles */
.qg-form label {
  color: var(--qg-muted);
  font-size: 0.9rem;
}

.qg-form input[type="text"],
.qg-form input[type="password"],
body.login .input {
  width: 100%;
  background: #0f172a;
  border: 1px solid var(--qg-border);
  border-radius: 10px;
  color: var(--qg-text);
  padding: 0.8rem 0.9rem;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.qg-form input:focus,
body.login .input:focus {
  border-color: var(--qg-primary);
  box-shadow: var(--qg-focus);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}