/* 
  Typography Styles
  Defines consistent text styling across the application
*/

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--clr-light-a0);
}

/* Heading styles */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-block-start: 0;
  font-weight: var(--font-semibold);
  line-height: 1.2;
  color: var(--clr-light-a0);
}

h1, .h1 {
  font-size: var(--text-4xl);
}

h2, .h2 {
  font-size: var(--text-3xl);
}

h3, .h3 {
  font-size: var(--text-2xl);
}

h4, .h4 {
  font-size: var(--text-xl);
}

h5, .h5 {
  font-size: var(--text-lg);
}

h6, .h6 {
  font-size: var(--text-base);
}

/* Text sizes */
.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-base {
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-4xl {
  font-size: var(--text-4xl);
}

/* Font weights */
.font-normal {
  font-weight: var(--font-normal);
}

.font-medium {
  font-weight: var(--font-medium);
}

.font-semibold {
  font-weight: var(--font-semibold);
}

.font-bold {
  font-weight: var(--font-bold);
}

/* Line heights */
.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-normal {
  line-height: 1.5;
}

.leading-loose {
  line-height: 1.75;
}

/* Text alignment */
.text-start {
  text-align: start;
}

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

.text-end {
  text-align: end;
}

/* Text transforms */
.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

/* Text decoration */
.underline {
  text-decoration: underline;
}

.line-through {
  text-decoration: line-through;
}

.no-underline {
  text-decoration: none;
}

/* Text colors */
.text-secondary {
  color: var(--clr-primary-a0);
}

.text-success {
  color: var(--color-success);
}

.text-danger {
  color: var(--color-danger);
}

.text-success-light {
  color: var(--clr-primary-a30);
}

.text-danger-light {
  color: var(--color-danger);
  opacity: 0.6;
}

.text-warning {
  color: var(--color-warning);
}

.text-info {
  color: var(--clr-primary-a0);
}

.text-white {
  color: var(--clr-white-a0);
}

.text-black {
  color: var(--clr-dark-a0);
}

.text-gray {
  color: var(--clr-surface-a50);
}

.text-muted {
  color: var(--clr-surface-a50);
}

/* Text truncation */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Text wrapping */
.whitespace-normal {
  white-space: normal;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre {
  white-space: pre;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.whitespace-pre-line {
  white-space: pre-line;
}

.break-all {
  word-break: break-all;
}

.break-words {
  word-wrap: break-word;
}

/* Lists */
.list-none {
  list-style-type: none;
  padding-inline-start: 0;
}

.list-disc {
  list-style-type: disc;
  padding-inline-start: 1.25em;
}

.list-decimal {
  list-style-type: decimal;
  padding-inline-start: 1.25em;
}

.text-subtle {
  color: var(--clr-surface-a50) !important;
}