/**
 * Nietos AI - Modern Admin Styles
 * Based on Brand Guidelines - Midnight Core Palette
 */

/* Import Google Fonts - Must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Ysabeau+Office:wght@300;400;500;600;700&family=Literata:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* CSS Custom Properties - Brand Colors */
:root {
  /* Midnight Core Palette - Foundational Surfaces */
  --nietos-base: #4433A6;
  --nietos-contrast: #79F3B1;
  --nietos-accent-1: #5644BC;
  --nietos-accent-2: #372696;
  --nietos-accent-3: #251D51;
  --nietos-accent-5: #E8B7FF;
  --nietos-overlay: rgba(121, 243, 177, 0.2);

  /* Text Colors */
  --nietos-text-primary: #79F3B1;
  --nietos-text-secondary: #E8B7FF;
  --nietos-text-tertiary: #94A3B8;
  --nietos-text-inverted: #251D51;

  /* Semantic Colors */
  --nietos-success: #10B981;
  --nietos-warning: #F59E0B;
  --nietos-danger: #EF4444;
  --nietos-info: #06B6D4;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing - Updated to match brand guidelines */
  --spacing-20: 8px;
  --spacing-30: 16px;
  --spacing-40: 24px;
  --spacing-50: 40px;
  --spacing-60: 56px;
  --spacing-70: 72px;
  --spacing-80: 96px;

  /* Legacy spacing for backward compatibility */
  --spacing-xs: 8px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 56px;

  /* Border Radius - No rounding per brand guidelines */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
}

/* Typography - Brand Guidelines: Ysabeau Office for UI, Literata for headings */
/* Only apply to our admin pages, not entire WordPress admin */
.nietos-ai-admin-page,
.nietos-ai-admin-page * {
  font-family: 'Ysabeau Office', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

/* Heading styles using Literata */
.nietos-ai-admin-page h1,
.nietos-ai-admin-page h2,
.nietos-ai-admin-page h3,
.nietos-ai-page-header h1 {
  font-family: 'Literata', 'Times New Roman', serif;
  font-weight: bold;
  letter-spacing: -0.01em;
}

/* Override WordPress Admin Default Styles */
.nietos-ai-admin-page {
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
  margin: -20px -20px 0 -12px;
  padding: var(--spacing-60) var(--spacing-50);
  min-height: calc(100vh - 32px);
  position: relative;
}

/* Subtle decorative orbs in background */
.nietos-ai-admin-page::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(121, 243, 177, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.nietos-ai-admin-page::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232, 183, 255, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.nietos-ai-admin-page > * {
  position: relative;
  z-index: 1;
}

/* Modern Page Header - Subtle brand accent */
.nietos-ai-page-header {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(232, 183, 255, 0.05) 100%);
  color: #0F172A;
  padding: var(--spacing-60);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-50);
  box-shadow: 0 1px 3px rgba(68, 51, 166, 0.15);
  border-left: 6px solid var(--nietos-contrast);
  display: flex;
  align-items: center;
  gap: var(--spacing-40);
}

.nietos-ai-page-header svg {
  flex-shrink: 0;
}

.nietos-ai-page-header > div {
  flex: 1;
}

.nietos-ai-page-header h1 {
  color: var(--nietos-base);
  font-size: 40px;
  margin: 0 0 var(--spacing-30) 0;
  line-height: 1.15;
}

.nietos-ai-page-header p {
  color: var(--nietos-accent-2);
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
  font-family: 'Ysabeau Office', sans-serif;
}

/* Modern Cards - Clean with subtle accent */
.nietos-ai-card {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(232, 183, 255, 0.03) 100%);
  border: 1px solid rgba(232, 183, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-40);
  margin-bottom: var(--spacing-40);
  box-shadow: 0 1px 3px rgba(68, 51, 166, 0.08);
  transition: all var(--transition-base);
}

.nietos-ai-card:hover {
  box-shadow: 0 4px 12px rgba(68, 51, 166, 0.12);
  border-color: rgba(121, 243, 177, 0.3);
}

.nietos-ai-card h2 {
  color: var(--nietos-base);
  font-size: 32px;
  margin: 0 0 var(--spacing-40) 0;
  line-height: 1.2;
}

.nietos-ai-card h3 {
  color: var(--nietos-base);
  font-size: 24px;
  margin: var(--spacing-50) 0 var(--spacing-30) 0;
  line-height: 1.25;
  border-bottom: 2px solid rgba(121, 243, 177, 0.2);
  padding-bottom: var(--spacing-20);
}

/* Settings Form */
.nietos-ai-form-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: var(--spacing-lg);
}

.nietos-ai-form-table tr {
  border-bottom: 1px solid #E2E8F0;
}

.nietos-ai-form-table tr:last-child {
  border-bottom: none;
}

.nietos-ai-form-table th {
  text-align: left;
  padding: var(--spacing-30) var(--spacing-30) var(--spacing-30) 0;
  color: #0F172A;
  vertical-align: top;
  width: 200px;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-form-table td {
  padding: var(--spacing-30) 0;
}

.nietos-ai-form-table label {
  color: #0F172A;
  font-size: 18px;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-form-table .description {
  display: block;
  margin-top: var(--spacing-20);
  color: #475569;
  font-size: 18px;
  line-height: 1.5;
  font-family: 'Ysabeau Office', sans-serif;
}

/* Modern Inputs - Clean design */
.nietos-ai-input,
input[type="text"].nietos-ai-input,
input[type="password"].nietos-ai-input,
input[type="number"].nietos-ai-input,
select.nietos-ai-input,
textarea.nietos-ai-input {
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 18px;
  font-family: 'Ysabeau Office', sans-serif;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  max-width: 400px;
}

.nietos-ai-input:focus,
input[type="text"].nietos-ai-input:focus,
input[type="password"].nietos-ai-input:focus,
input[type="number"].nietos-ai-input:focus,
select.nietos-ai-input:focus,
textarea.nietos-ai-input:focus {
  border-color: var(--nietos-contrast);
  outline: none;
  box-shadow: 0 0 0 3px rgba(121, 243, 177, 0.15);
}

.nietos-ai-input:disabled {
  background-color: #F8FAFC;
  color: #94A3B8;
  cursor: not-allowed;
}

/* Modern Buttons - Brand Guidelines: Literata font, uppercase, no rounding */
.nietos-ai-button,
.nietos-ai-button-primary,
.nietos-ai-button-secondary,
.nietos-ai-button-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-20);
  padding: 16px 24px;
  border-radius: 0;
  font-family: 'Literata', serif;
  font-size: 18px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  line-height: 1.5;
}

.nietos-ai-button-primary {
  background: var(--nietos-base);
  color: #FFFFFF;
  font-weight: bold;
}

.nietos-ai-button-primary:hover:not(:disabled) {
  background: var(--nietos-accent-2);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
}

.nietos-ai-button-primary:active:not(:disabled) {
  transform: translateY(0);
}

.nietos-ai-button-secondary {
  background: transparent;
  color: var(--nietos-base);
  border: 1px solid var(--nietos-base);
  font-weight: bold;
}

.nietos-ai-button-secondary:hover:not(:disabled) {
  background: var(--nietos-base);
  color: #FFFFFF;
}

.nietos-ai-button-danger {
  background: var(--nietos-danger);
  color: #FFFFFF;
}

.nietos-ai-button-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.nietos-ai-button:disabled,
.nietos-ai-button-primary:disabled,
.nietos-ai-button-secondary:disabled,
.nietos-ai-button-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Modern Notices */
.nietos-ai-notice {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  border-left: 4px solid;
}

.nietos-ai-notice-success {
  background: rgba(16, 185, 129, 0.1);
  border-left-color: var(--nietos-success);
  color: #065f46;
}

.nietos-ai-notice-warning {
  background: rgba(68, 51, 166, 0.05);
  border-left-color: var(--nietos-base);
  color: var(--nietos-accent-3);
}

.nietos-ai-notice-error {
  background: rgba(239, 68, 68, 0.1);
  border-left-color: var(--nietos-danger);
  color: #991b1b;
}

.nietos-ai-notice-info {
  background: rgba(6, 182, 212, 0.1);
  border-left-color: var(--nietos-contrast);
  color: #164e63;
}

.nietos-ai-notice strong {
  font-weight: 600;
}

/* Getting Started Section - Mint accent */
.nietos-ai-getting-started {
  background: linear-gradient(135deg, rgba(121, 243, 177, 0.12) 0%, rgba(121, 243, 177, 0.05) 100%);
  padding: var(--spacing-40);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(121, 243, 177, 0.3);
  box-shadow: 0 2px 8px rgba(121, 243, 177, 0.1);
}

.nietos-ai-getting-started ol {
  margin: var(--spacing-30) 0;
  padding-left: var(--spacing-40);
  color: #0F172A;
}

.nietos-ai-getting-started li {
  margin-bottom: var(--spacing-20);
  color: #475569;
  line-height: 1.6;
  font-family: 'Ysabeau Office', sans-serif;
  font-size: 18px;
}

/* Chat Interface Modern Styles - Clean and readable */
.nietos-ai-chat-wrapper {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 250px);
  min-height: 600px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nietos-ai-chat-header {
  padding: var(--spacing-40);
  border-bottom: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nietos-ai-chat-header h2 {
  margin: 0;
  font-size: 18px;
  color: var(--nietos-base);
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-chat-header .context-info {
  margin: var(--spacing-20) 0 0;
  font-size: 14px;
  color: #475569;
}

.nietos-ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-40);
  background: #FFFFFF;
}

.nietos-ai-message {
  display: flex;
  margin-bottom: var(--spacing-md);
}

.nietos-ai-message-user {
  justify-content: flex-end;
}

.nietos-ai-message-assistant {
  justify-content: flex-start;
}

.nietos-ai-message-content {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 18px;
  line-height: 1.6;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-message-user .nietos-ai-message-content {
  background: linear-gradient(135deg, var(--nietos-base) 0%, var(--nietos-accent-1) 100%);
  color: var(--nietos-contrast);
  border-bottom-right-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(68, 51, 166, 0.2);
  border: 1px solid var(--nietos-accent-1);
}

.nietos-ai-message-assistant .nietos-ai-message-content {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(232, 183, 255, 0.05) 100%);
  color: #0F172A;
  border-bottom-left-radius: var(--radius-sm);
  border: 1px solid rgba(232, 183, 255, 0.2);
}

.nietos-ai-message-content a {
  color: inherit;
  text-decoration: underline;
}

.nietos-ai-message-user .nietos-ai-message-content a {
  color: rgba(255, 255, 255, 0.9);
}

.nietos-ai-message-assistant .nietos-ai-message-content a {
  color: var(--nietos-base);
}

.nietos-ai-message-timestamp {
  font-size: 16px;
  margin-top: var(--spacing-xs);
  opacity: 0.7;
}

.nietos-ai-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background: #FFFFFF;
  position: relative;
}

.nietos-ai-empty-state::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(68, 51, 166, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(86, 68, 188, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.nietos-ai-empty-state > * {
  position: relative;
  z-index: 1;
}

.nietos-ai-empty-state-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--nietos-base) 0%, var(--nietos-accent-1) 100%);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: var(--spacing-50);
  box-shadow: 0 4px 12px rgba(68, 51, 166, 0.15);
  border: 1px solid rgba(68, 51, 166, 0.1);
}

.nietos-ai-empty-state h3 {
  color: var(--nietos-base);
  font-size: 24px;
  margin: 0 0 var(--spacing-30) 0;
  font-family: 'Literata', serif;
}

.nietos-ai-empty-state-subtitle {
  color: #475569;
  font-size: 16px;
  margin: 0 0 var(--spacing-50) 0;
  max-width: 500px;
  line-height: 1.6;
  text-align: center;
  font-family: 'Ysabeau Office', sans-serif;
}


.nietos-ai-loading-indicator {
  display: flex;
  justify-content: flex-start;
  margin-bottom: var(--spacing-md);
}

.nietos-ai-loading-content {
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: var(--spacing-20);
  color: #475569;
  font-size: 18px;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-loading-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nietos-ai-loading-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--nietos-base);
  animation: nietos-dot-bounce 1.4s infinite ease-in-out both;
}

.nietos-ai-loading-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.nietos-ai-loading-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes nietos-dot-bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.nietos-ai-chat-input-wrapper {
  display: flex;
  gap: var(--spacing-30);
  padding: var(--spacing-40);
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.nietos-ai-chat-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  resize: none;
  font-family: 'Ysabeau Office', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  background: #FFFFFF;
  color: #0F172A;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nietos-ai-chat-input:focus {
  border-color: var(--nietos-base);
  outline: none;
  box-shadow: 0 0 0 3px rgba(68, 51, 166, 0.1);
}

/* Responsive Design */
@media (max-width: 782px) {
  .nietos-ai-admin-page {
    margin: -10px -10px 0 -10px;
    padding: var(--spacing-lg);
  }

  .nietos-ai-page-header {
    padding: var(--spacing-lg);
  }

  .nietos-ai-page-header h1 {
    font-size: 24px;
  }

  .nietos-ai-message-content {
    max-width: 85%;
  }

  .nietos-ai-form-table th {
    display: block;
    width: 100%;
    padding-bottom: var(--spacing-xs);
  }

  .nietos-ai-form-table td {
    display: block;
    width: 100%;
  }

  .nietos-ai-input,
  input[type="text"].nietos-ai-input,
  input[type="password"].nietos-ai-input,
  input[type="number"].nietos-ai-input,
  select.nietos-ai-input {
    max-width: 100%;
  }

  .nietos-ai-empty-state {
    padding: var(--spacing-lg);
  }

  .nietos-ai-empty-state h3 {
    font-size: 20px;
  }

  .nietos-ai-empty-state-subtitle {
    font-size: 18px;
  }

  .nietos-ai-empty-state-icon {
    width: 72px;
    height: 72px;
  }

  .nietos-ai-empty-state-icon svg {
    width: 42px;
    height: 42px;
    border-radius: 24px;
  }
}

/* Setup Required Screen */
.nietos-ai-setup-required {
  text-align: center;
  padding: var(--spacing-2xl);
}

.nietos-ai-setup-required .nietos-ai-notice {
  max-width: 600px;
  margin: var(--spacing-xl) auto;
  text-align: left;
}

/* Premium Banner - Lavender accent */
.nietos-ai-premium-banner {
  background: linear-gradient(135deg, rgba(232, 183, 255, 0.15) 0%, rgba(232, 183, 255, 0.05) 100%);
  border: 1px solid rgba(232, 183, 255, 0.3);
  border-left: 6px solid var(--nietos-accent-5);
  border-radius: var(--radius-lg);
  padding: var(--spacing-40);
  margin-bottom: var(--spacing-40);
  box-shadow: 0 2px 8px rgba(232, 183, 255, 0.15);
}

.nietos-ai-premium-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-30);
}

.nietos-ai-premium-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(68, 51, 166, 0.1);
  border-radius: 0;
  color: var(--nietos-base);
  border: 1px solid rgba(68, 51, 166, 0.2);
}

.nietos-ai-premium-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.nietos-ai-premium-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-20);
}

.nietos-ai-premium-text strong {
  color: var(--nietos-base);
  font-size: 18px;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-premium-text span {
  color: #475569;
  font-size: 18px;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-premium-button {
  padding: 10px 20px;
  background: var(--nietos-base);
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-family: 'Literata', serif;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nietos-ai-premium-button:hover {
  background: var(--nietos-accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
  color: #FFFFFF;
}

@media (max-width: 782px) {
  .nietos-ai-premium-content {
    flex-direction: column;
    text-align: center;
  }

  .nietos-ai-premium-button {
    width: 100%;
  }
}

/* Premium Features Box - Subtle violet accent */
.nietos-ai-premium-features-box {
  margin-top: var(--spacing-50);
  padding: var(--spacing-40);
  background: linear-gradient(135deg, rgba(68, 51, 166, 0.08) 0%, rgba(86, 68, 188, 0.05) 100%);
  border: 1px solid rgba(68, 51, 166, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(68, 51, 166, 0.12);
  position: relative;
}

/* Small mint glow accent */
.nietos-ai-premium-features-box::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(121, 243, 177, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.nietos-ai-premium-features-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-30);
  margin-bottom: var(--spacing-40);
}

.nietos-ai-premium-features-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nietos-base) 0%, var(--nietos-accent-1) 100%);
  border-radius: 0;
  color: #FFFFFF;
  border: 1px solid rgba(68, 51, 166, 0.2);
}

.nietos-ai-premium-features-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.nietos-ai-premium-features-header h3 {
  margin: 0;
  color: var(--nietos-base);
  font-size: 24px;
  font-family: 'Literata', serif;
}

.nietos-ai-premium-features-list {
  list-style: none;
  margin: 0 0 var(--spacing-50) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-30);
}

.nietos-ai-premium-features-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-30);
  color: #0F172A;
  font-size: 16px;
  line-height: 1.6;
  font-family: 'Ysabeau Office', sans-serif;
}

.nietos-ai-premium-features-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--nietos-base);
  stroke-width: 2.5;
  fill: none;
}

.nietos-ai-premium-features-list li span {
  flex: 1;
  color: #475569;
}

.nietos-ai-premium-features-box .nietos-ai-button {
  display: inline-flex;
  padding: 12px 24px;
  font-size: 15px;
}

/* Animations */
@keyframes nietos-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nietos-ai-card,
.nietos-ai-message {
  animation: nietos-fade-in var(--transition-base) ease-out;
}

/* WordPress Admin Menu Icon - Custom SVG styling */
#adminmenu #toplevel_page_nietos-ai .wp-menu-image img {
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  transform: scale(1.3);
  transform-origin: center;
}

#adminmenu #toplevel_page_nietos-ai:hover .wp-menu-image img,
#adminmenu #toplevel_page_nietos-ai.current .wp-menu-image img {
  opacity: 1;
}

/* Make the SVG icon white in dark admin theme */
#adminmenu #toplevel_page_nietos-ai .wp-menu-image img {
  filter: brightness(0) invert(1);
}

/* Brand color when active or hovered */
#adminmenu #toplevel_page_nietos-ai:hover .wp-menu-image img,
#adminmenu #toplevel_page_nietos-ai.current .wp-menu-image img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(1573%) hue-rotate(232deg) brightness(91%) contrast(92%);
}
