/* ============================
   UTILITY CLASSES ADDITIONS
   ============================ */

/* Display utilities */
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-none { display: none !important; }

@media (min-width: 768px) {
  .d-md-block { display: block !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-grid { display: grid !important; }
  .d-md-none { display: none !important; }
}

/* Text utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

.text-bold { font-weight: 700 !important; }
.text-semibold { font-weight: 600 !important; }
.text-medium { font-weight: 500 !important; }
.text-regular { font-weight: 400 !important; }

.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }

.text-truncate {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Color utilities */
.text-accent { color: var(--accent) !important; }
.text-accent-2 { color: var(--accent-2) !important; }
.text-muted { color: var(--muted) !important; }
.text-light { color: var(--text) !important; }
.text-dark { color: #0b0b0b !important; }

.bg-accent { background-color: var(--accent) !important; }
.bg-accent-2 { background-color: var(--accent-2) !important; }
.bg-muted { background-color: var(--muted) !important; }
.bg-light { background-color: var(--text) !important; }
.bg-dark { background-color: var(--bg) !important; }

/* Spacing utilities */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }

.m-4 { margin: 4px !important; }
.mt-4 { margin-top: 4px !important; }
.mr-4 { margin-right: 4px !important; }
.mb-4 { margin-bottom: 4px !important; }
.ml-4 { margin-left: 4px !important; }

.m-8 { margin: 8px !important; }
.mt-8 { margin-top: 8px !important; }
.mr-8 { margin-right: 8px !important; }
.mb-8 { margin-bottom: 8px !important; }
.ml-8 { margin-left: 8px !important; }

.m-16 { margin: 16px !important; }
.mt-16 { margin-top: 16px !important; }
.mr-16 { margin-right: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.ml-16 { margin-left: 16px !important; }

.m-24 { margin: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.mr-24 { margin-right: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.ml-24 { margin-left: 24px !important; }

.m-32 { margin: 32px !important; }
.mt-32 { margin-top: 32px !important; }
.mr-32 { margin-right: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.ml-32 { margin-left: 32px !important; }

.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-0 { padding-left: 0 !important; }

.p-4 { padding: 4px !important; }
.pt-4 { padding-top: 4px !important; }
.pr-4 { padding-right: 4px !important; }
.pb-4 { padding-bottom: 4px !important; }
.pl-4 { padding-left: 4px !important; }

.p-8 { padding: 8px !important; }
.pt-8 { padding-top: 8px !important; }
.pr-8 { padding-right: 8px !important; }
.pb-8 { padding-bottom: 8px !important; }
.pl-8 { padding-left: 8px !important; }

.p-16 { padding: 16px !important; }
.pt-16 { padding-top: 16px !important; }
.pr-16 { padding-right: 16px !important; }
.pb-16 { padding-bottom: 16px !important; }
.pl-16 { padding-left: 16px !important; }

.p-24 { padding: 24px !important; }
.pt-24 { padding-top: 24px !important; }
.pr-24 { padding-right: 24px !important; }
.pb-24 { padding-bottom: 24px !important; }
.pl-24 { padding-left: 24px !important; }

.p-32 { padding: 32px !important; }
.pt-32 { padding-top: 32px !important; }
.pr-32 { padding-right: 32px !important; }
.pb-32 { padding-bottom: 32px !important; }
.pl-32 { padding-left: 32px !important; }

/* Border utilities */
.border-0 { border: 0 !important; }
.border-top-0 { border-top: 0 !important; }
.border-right-0 { border-right: 0 !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-left-0 { border-left: 0 !important; }

.border-1 { border: 1px solid var(--border) !important; }
.border-top-1 { border-top: 1px solid var(--border) !important; }
.border-right-1 { border-right: 1px solid var(--border) !important; }
.border-bottom-1 { border-bottom: 1px solid var(--border) !important; }
.border-left-1 { border-left: 1px solid var(--border) !important; }

.border-gold { border-color: var(--accent) !important; }
.border-muted { border-color: var(--muted) !important; }
.border-light { border-color: var(--text) !important; }

.rounded-sm { border-radius: var(--r-sm) !important; }
.rounded-md { border-radius: var(--r-md) !important; }
.rounded-lg { border-radius: var(--r-lg) !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }

/* Shadow utilities */
.shadow-sm { box-shadow: var(--shadow-soft) !important; }
.shadow-md { box-shadow: var(--shadow-medium) !important; }
.shadow-lg { box-shadow: var(--shadow-deep) !important; }
.shadow-gold { box-shadow: var(--shadow-gold) !important; }
.shadow-none { box-shadow: none !important; }

/* Position utilities */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }

.top-50 { top: 50% !important; }
.right-50 { right: 50% !important; }
.bottom-50 { bottom: 50% !important; }
.left-50 { left: 50% !important; }

.translate-middle {
  transform: translate(-50%, -50%) !important;
}
.translate-middle-x {
  transform: translateX(-50%) !important;
}
.translate-middle-y {
  transform: translateY(-50%) !important;
}

/* Flex utilities */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-wrap-reverse { flex-wrap: wrap-reverse !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.align-content-start { align-content: flex-start !important; }
.align-content-end { align-content: flex-end !important; }
.align-content-center { align-content: center !important; }
.align-content-between { align-content: space-between !important; }
.align-content-around { align-content: space-around !important; }
.align-content-stretch { align-content: stretch !important; }

.align-self-auto { align-self: auto !important; }
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch { align-self: stretch !important; }

.flex-fill { flex: 1 1 auto !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }

/* Grid utilities */
.grid-1 { grid-template-columns: 1fr !important; }
.grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-4 { grid-template-columns: repeat(4, 1fr) !important; }

.gap-0 { gap: 0 !important; }
.gap-4 { gap: 4px !important; }
.gap-8 { gap: 8px !important; }
.gap-12 { gap: 12px !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* Width & Height utilities */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

.mw-100 { max-width: 100% !important; }
.mh-100 { max-height: 100% !important; }

.vw-100 { width: 100vw !important; }
.vh-100 { height: 100vh !important; }

.min-vw-100 { min-width: 100vw !important; }
.min-vh-100 { min-height: 100vh !important; }

/* Visibility utilities */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* Opacity utilities */
.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* Cursor utilities */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.cursor-help { cursor: help !important; }
.cursor-move { cursor: move !important; }

/* User select utilities */
.user-select-all { user-select: all !important; }
.user-select-auto { user-select: auto !important; }
.user-select-none { user-select: none !important; }

/* Overflow utilities */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }

.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-y-hidden { overflow-y: hidden !important; }
.overflow-x-visible { overflow-x: visible !important; }
.overflow-y-visible { overflow-y: visible !important; }
.overflow-x-scroll { overflow-x: scroll !important; }
.overflow-y-scroll { overflow-y: scroll !important; }

/* Z-index utilities */
.z-n1 { z-index: -1 !important; }
.z-0 { z-index: 0 !important; }
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }
.z-3 { z-index: 3 !important; }
.z-10 { z-index: 10 !important; }
.z-100 { z-index: 100 !important; }
.z-1000 { z-index: 1000 !important; }
.z-max { z-index: 9999 !important; }

/* Print utilities */
@media print {
  .d-print-block { display: block !important; }
  .d-print-inline { display: inline !important; }
  .d-print-inline-block { display: inline-block !important; }
  .d-print-flex { display: flex !important; }
  .d-print-grid { display: grid !important; }
  .d-print-none { display: none !important; }
}