/* src/styles.scss */
:root,
body[data-theme=dark] {
  --theme-bg: #0d1120;
  --theme-bg-alt: #0d1120;
  --theme-surface: #161b30;
  --theme-surface-2: #1e2440;
  --theme-surface-soft: rgba(22, 27, 48, 0.92);
  --theme-text: #efe6d3;
  --theme-text-muted: #c9bfa9;
  --theme-accent: #c9a24b;
  --theme-accent-soft: #8f7a45;
  --theme-danger: #b8412f;
  --theme-success: #67b07f;
  --theme-info: #7fa6bd;
  --theme-warning: #c9a24b;
  --theme-copper: #a9764a;
  --theme-line: rgba(201, 162, 75, 0.22);
  --theme-line-soft: rgba(201, 162, 75, 0.12);
  --theme-shadow: rgba(0, 0, 0, 0.30);
  --theme-input-bg: #0d1120;
  --theme-grid-line: rgba(201, 162, 75, 0.035);
  --theme-grid-line-2: rgba(201, 162, 75, 0.028);
  --theme-radius-card: 0;
  --theme-radius-control: 0;
}
body[data-theme=light] {
  --theme-bg: #f5eddd;
  --theme-bg-alt: #efe2c9;
  --theme-surface: #fffaf0;
  --theme-surface-2: #f3e8d2;
  --theme-surface-soft: rgba(255, 250, 240, 0.92);
  --theme-text: #1d2433;
  --theme-text-muted: #665b49;
  --theme-accent: #a87922;
  --theme-accent-soft: #8b6b35;
  --theme-danger: #a9412f;
  --theme-success: #2f8f55;
  --theme-info: #2f72c7;
  --theme-warning: #b98122;
  --theme-copper: #996a42;
  --theme-line: rgba(168, 121, 34, 0.28);
  --theme-line-soft: rgba(168, 121, 34, 0.14);
  --theme-shadow: rgba(92, 65, 25, 0.15);
  --theme-input-bg: #fffdf7;
  --theme-grid-line: rgba(168, 121, 34, 0.08);
  --theme-grid-line-2: rgba(168, 121, 34, 0.06);
  --theme-radius-card: 8px;
  --theme-radius-control: 6px;
}
body[data-theme=hora] {
  --theme-bg: #f7f8fa;
  --theme-bg-alt: #ffffff;
  --theme-surface: #ffffff;
  --theme-surface-2: #f8fafc;
  --theme-surface-soft: rgba(255, 255, 255, 0.96);
  --theme-text: #111827;
  --theme-text-muted: #5f6673;
  --theme-accent: #d8643a;
  --theme-accent-soft: #ad4f32;
  --theme-danger: #dc3f3f;
  --theme-success: #24a35a;
  --theme-info: #2f7de1;
  --theme-warning: #e2a235;
  --theme-copper: #b5693a;
  --theme-line: rgba(17, 24, 39, 0.1);
  --theme-line-soft: rgba(17, 24, 39, 0.07);
  --theme-shadow: rgba(15, 23, 42, 0.08);
  --theme-input-bg: #ffffff;
  --theme-grid-line: transparent;
  --theme-grid-line-2: transparent;
  --theme-radius-card: 8px;
  --theme-radius-control: 6px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family:
    "Inter",
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--theme-text, #212121);
  background: var(--theme-bg, #FAFAFA);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Inter",
    "Segoe UI",
    sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.875rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
p {
  margin-bottom: 1rem;
  color: #616161;
}
a {
  color: #7E3BA8;
  text-decoration: none;
  transition: color 300ms ease-in-out;
}
a:hover {
  color: #9C4EE0;
}
a:focus {
  outline: 2px solid #7E3BA8;
  outline-offset: 2px;
}
button {
  font-family:
    "Inter",
    "Segoe UI",
    sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  transition: all 300ms ease-in-out;
}
button:focus {
  outline: 2px solid #7E3BA8;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary {
  background: #7E3BA8;
  color: #FFFFFF;
  padding: 0.5rem 1.5rem;
}
.btn-primary:hover:not(:disabled) {
  background: #6A2E8F;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-secondary {
  background: #F5F5F5;
  color: #212121;
  padding: 0.5rem 1.5rem;
  border: 1px solid #BDBDBD;
}
.btn-secondary:hover:not(:disabled) {
  background: #F0F0F0;
  border-color: #9E9E9E;
}
.btn-outline {
  background: transparent;
  color: #7E3BA8;
  border: 2px solid #7E3BA8;
  padding: calc(0.5rem - 2px) calc(1.5rem - 2px);
}
.btn-outline:hover:not(:disabled) {
  background: rgba(126, 59, 168, 0.1);
}
input,
textarea,
select {
  font-family:
    "Inter",
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #BDBDBD;
  border-radius: 0.5rem;
  transition: border-color box-shadow ease-in-out;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #7E3BA8;
  box-shadow: 0 0 0 3px rgba(126, 59, 168, 0.1);
}
input:disabled,
textarea:disabled,
select:disabled {
  background: #F0F0F0;
  cursor: not-allowed;
}
label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #424242;
  font-size: 0.875rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.text-center {
  text-align: center;
}
.text-muted {
  color: #757575;
}
.text-primary {
  color: #7E3BA8;
}
.text-success {
  color: #4CAF50;
}
.text-warning {
  color: #FF9800;
}
.text-error {
  color: #F44336;
}
.mt-0 {
  margin-top: 0;
}
.mt-sm {
  margin-top: 0.5rem;
}
.mt-md {
  margin-top: 1rem;
}
.mt-lg {
  margin-top: 1.5rem;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-sm {
  margin-bottom: 0.5rem;
}
.mb-md {
  margin-bottom: 1rem;
}
.mb-lg {
  margin-bottom: 1.5rem;
}
.p-0 {
  padding: 0;
}
.p-sm {
  padding: 0.5rem;
}
.p-md {
  padding: 1rem;
}
.p-lg {
  padding: 1.5rem;
}
:root {
  --icon-gold: #b7791f;
  --icon-muted: #757575;
  --icon-danger: #f44336;
  --icon-success: #4caf50;
}
.icon-sm {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}
.icon-md {
  width: 2rem;
  height: 2rem;
  font-size: 2rem;
}
.icon-lg {
  width: 3rem;
  height: 3rem;
  font-size: 3rem;
}
.icon-gold {
  color: var(--icon-gold, #b7791f);
}
.icon-muted {
  color: var(--icon-muted, #757575);
}
.icon-danger {
  color: var(--icon-danger, #f44336);
}
.icon-success {
  color: var(--icon-success, #4caf50);
}
@media (min-width: 640px) {
  .hidden-mobile {
    display: none;
  }
}
@media (min-width: 768px) {
  .hidden-tablet {
    display: none;
  }
}
@media (min-width: 1024px) {
  .hidden-desktop {
    display: none;
  }
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
  background: #9E9E9E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #757575;
}
body.pdf-mode .form-section,
body.pdf-mode .generate-btn,
body.pdf-mode .toolbar {
  display: none !important;
}
body.pdf-mode .kundali-layout {
  background: white !important;
}
body.pdf-mode app-root {
  background: white !important;
  color: black !important;
}
body.pdf-mode {
  background: white !important;
}
html,
body,
app-root {
  min-height: 100%;
  background: var(--theme-bg, #0d1120);
}
body {
  transition: background 180ms ease, color 180ms ease;
}
body:not(.pdf-mode) app-root {
  display: block;
  color: var(--theme-text);
}
body:not(.pdf-mode) input,
body:not(.pdf-mode) select,
body:not(.pdf-mode) textarea {
  color: var(--theme-text);
  background: var(--theme-input-bg);
  border-color: var(--theme-line);
}
body:not(.pdf-mode) input::placeholder,
body:not(.pdf-mode) textarea::placeholder {
  color: color-mix(in srgb, var(--theme-text-muted) 62%, transparent);
}

/* angular:styles/global:styles */
