/* Base Monospace Text */
.text-monospace { font-family: "Courier New", monospace !important; }

/* Text Alignment */
.text-justify { text-align: justify !important; }
.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }

/* For '.text-truncate', you would have to write CSS specific to its intended functionality */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Text Alignment */
@media (min-width: 576px) {
  .text-sm-left { text-align: left !important; }
  .text-sm-right { text-align: right !important; }
  .text-sm-center { text-align: center !important; }
}

@media (min-width: 768px) {
  .text-md-left { text-align: left !important; }
  .text-md-right { text-align: right !important; }
  .text-md-center { text-align: center !important; }
}

@media (min-width: 992px) {
  .text-lg-left { text-align: left !important; }
  .text-lg-right { text-align: right !important; }
  .text-lg-center { text-align: center !important; }
}

@media (min-width: 1200px) {
  .text-xl-left { text-align: left !important; }
  .text-xl-right { text-align: right !important; }
  .text-xl-center { text-align: center !important; }
}

@media (min-width: 1400px) {
  .text-xxl-left { text-align: left !important; }
  .text-xxl-right { text-align: right !important; }
  .text-xxl-center { text-align: center !important; }
}

/* Text Transformation */
.text-lowercase { text-transform: lowercase !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Font Weight and Italic Styles */
.font-weight-light { font-weight: 300 !important; }
.font-weight-lighter { font-weight: 200 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-bolder { font-weight: 900 !important; }
.font-italic { font-style: italic !important; }

/* Text Color */
.text-white { color: #fff !important; }
.text-body { color: #212529 !important; }
.text-muted { color: #6c757d !important; }

.text-black-50 { color: rgba(0, 0, 0, .5) !important; }
.text-white-50 { color: rgba(255, 255, 255, .5) !important; }

/* Theme Color Variants - Example: Assuming $theme-colors has { primary: blue, secondary: gray } */
.text-primary { color: #007bff !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }
.text-light { color: #f8f9fa !important; }
.text-dark { color: #343a40 !important; }

/* Miscellaneous */
.text-hide {
  /* Simplified example, Bootstrap will use specific mixins */
  font: 0/0 a;
  color: transparent !important;
  text-shadow: none !important;
  background-color: transparent !important;
  border: 0 !important;
}

.text-decoration-none { text-decoration: none !important; }

.text-break {
  word-break: break-word !important;
  word-wrap: break-word !important; /* Fallback */
}

/* Reset */
.text-reset { color: inherit !important; }