@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap";

/* src/styles.css */
:root {
  --bg-base: #020617;
  --bg-surface: #0F172A;
  --bg-elevated: #1E293B;
  --bg-hover: #334155;
  --border: #334155;
  --border-subtle: #1E293B;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-subtle: rgba(14, 165, 233, 0.1);
  --accent-text: #38bdf8;
  --success: #22c55e;
  --success-subtle: rgba(34, 197, 94, 0.1);
  --warning: #f59e0b;
  --warning-subtle: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-subtle: rgba(239, 68, 68, 0.1);
  --info: #3b82f6;
  --info-subtle: rgba(59, 130, 246, 0.1);
  --font-sans:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
* {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slide-up {
  animation: slideUpFade 0.2s ease-out forwards;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
}
th {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}
td {
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
tr:last-child td {
  border-bottom: none;
}
@media (hover: hover) and (pointer: fine) {
  tr:hover td {
    background: var(--bg-hover);
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.badge.success {
  background: var(--success-subtle);
  color: var(--success);
}
.badge.warning {
  background: var(--warning-subtle);
  color: var(--warning);
}
.badge.danger {
  background: var(--danger-subtle);
  color: var(--danger);
}
.badge.info {
  background: var(--info-subtle);
  color: var(--info);
}
.badge.secondary {
  background: var(--bg-elevated);
  color: var(--text-secondary);
}
.btn-glass-primary,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--accent);
  border: 1px solid transparent;
  color: #020617;
  cursor: pointer;
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-glass-primary:hover:not(:disabled),
  .btn-primary:hover:not(:disabled) {
    background: var(--accent-hover);
  }
}
.btn-glass-primary:active:not(:disabled),
.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-glass-primary:disabled,
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-glass-primary svg,
.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.btn-glass-danger,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--danger-subtle);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
  cursor: pointer;
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-glass-danger:hover:not(:disabled),
  .btn-danger:hover:not(:disabled) {
    background: var(--danger);
    color: #fff;
  }
}
.btn-glass-danger:disabled,
.btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-glass-secondary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-glass-secondary:hover:not(:disabled),
  .btn-secondary:hover:not(:disabled) {
    background: var(--bg-hover);
    border-color: var(--text-muted);
  }
}
.btn-glass-secondary:active:not(:disabled),
.btn-secondary:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-glass-secondary:disabled,
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-glass-icon,
.btn-icon {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-glass-icon:hover,
  .btn-icon:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
  }
  .btn-glass-icon.danger:hover,
  .btn-icon.danger:hover {
    background: var(--danger-subtle);
    color: var(--danger);
    border-color: var(--danger);
  }
}
.glass-input,
.form-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--bg-base);
  border: 1px solid var(--border);
  color: var(--text-primary);
  transition: border-color 0.15s ease;
  outline: none;
}
.glass-input:focus,
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}
.glass-input::placeholder,
.form-input::placeholder {
  color: var(--text-muted);
}
.glass-input:disabled,
.form-input:disabled {
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: not-allowed;
}
.glass-input.with-icon,
.form-input.with-icon {
  padding-left: 36px;
}
select.glass-input,
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}
select.glass-input option,
select.form-input option {
  background: var(--bg-surface);
  color: var(--text-primary);
}
.glass-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}
.glass-input-icon {
  position: absolute;
  left: 12px;
  top: 9px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.glass-input:focus + .glass-input-icon,
.form-input:focus + .glass-input-icon {
  color: var(--accent);
}
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-group {
  margin-bottom: 16px;
}
.glass-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, 0.8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 5vh 16px;
  overflow-y: auto;
}
.glass-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto 4vh auto;
  box-shadow: var(--shadow-lg);
  animation: slideUpFade 0.2s ease-out;
}
.glass-modal.modal-lg {
  max-width: 1000px;
}
.glass-modal.modal-xl {
  max-width: 1200px;
}
.glass-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.glass-modal-header h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.glass-modal-close {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  padding: 4px;
  border-radius: var(--radius);
}
.glass-modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-color: var(--border);
}
.glass-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.glass-panel,
.surface-card,
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  background: transparent;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  width: 100%;
}
.empty-state-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.empty-state-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
.empty-state h3 {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}
.empty-state p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  max-width: 280px;
  line-height: 1.5;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.page-subtitle {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 2px;
  margin-bottom: 0;
}
.page-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 600px) {
  .page-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .page-actions > * {
    flex: 1 1 auto;
    width: 100%;
  }
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.saas-toggle {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}
.saas-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.saas-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-elevated);
  transition: 0.2s;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.saas-toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text-muted);
  transition: 0.2s ease;
  border-radius: 50%;
}
.saas-toggle input:checked + .saas-toggle-slider {
  background-color: var(--accent);
  border-color: var(--accent);
}
.saas-toggle input:checked + .saas-toggle-slider:before {
  transform: translateX(16px);
  background-color: #020617;
}
.saas-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.saas-tabs::-webkit-scrollbar {
  display: none;
}
.saas-tabs button {
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.saas-tabs button:hover {
  color: var(--text-primary);
}
.saas-tabs button.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert.success {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.alert.error {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.alert.warning {
  background: var(--warning-subtle);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
@media (max-width: 600px) {
  .btn-glass-icon,
  .btn-icon {
    width: 44px !important;
    height: 44px !important;
  }
  .glass-input,
  .form-input,
  select.glass-input,
  select.form-input {
    min-height: 48px !important;
    font-size: 16px !important;
  }
  .glass-modal-overlay {
    padding: 0;
    align-items: stretch;
  }
  .glass-modal {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    min-height: 100dvh;
    margin: 0 !important;
    overflow-y: auto;
    border: none !important;
    display: flex;
    flex-direction: column;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom)) 20px !important;
  }
  .glass-modal-header {
    margin-bottom: 24px;
    padding-top: env(safe-area-inset-top);
  }
  .glass-modal-footer {
    margin-top: auto !important;
    padding-top: 16px;
  }
}
.desktop-only-view {
  display: block;
}
.mobile-only-view {
  display: none;
}
@media (max-width: 768px) {
  .desktop-only-view {
    display: none !important;
  }
  .mobile-only-view {
    display: block !important;
  }
  .mobile-data-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-sm);
  }
  .mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
  }
  .mobile-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
  }
  .mobile-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-card-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
  }
  .mobile-card-field .field-label {
    color: var(--text-muted);
    font-weight: 500;
  }
  .mobile-card-field .field-value {
    color: var(--text-secondary);
    font-weight: 500;
  }
  .mobile-card-field .field-value.mono {
    font-family: var(--font-mono);
  }
  .mobile-card-actions {
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    justify-content: flex-end;
  }
  .btn-primary-mobile {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: var(--accent-text);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
  }
  .btn-primary-mobile:active {
    background: rgba(14, 165, 233, 0.15);
  }
  .btn-danger-mobile {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
  }
  .btn-danger-mobile:active {
    background: rgba(239, 68, 68, 0.15);
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
