/* ===== iJAM MUSIC PLAYER - UTILITY CLASSES ===== */

/* ===== FLEXBOX UTILITIES ===== */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

/* ===== ALIGNMENT UTILITIES ===== */
.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-end {
  align-items: flex-end;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-sb {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around;
}

/* ===== SPACING UTILITIES ===== */
.padding-10 {
  padding: 10px !important;
}

.padding-20 {
  padding: 20px !important;
}

.margin-10 {
  margin: 10px !important;
}

.margin-20 {
  margin: 20px !important;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

/* ===== TEXT UTILITIES ===== */
.text-center {
  text-align: center;
}

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

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

.font-bold {
  font-weight: bold;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

/* ===== DISPLAY UTILITIES ===== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.invisible {
  visibility: hidden;
}

/* ===== POSITION UTILITIES ===== */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

/* ===== SIZE UTILITIES ===== */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-auto {
  width: auto;
}

.h-auto {
  height: auto;
}

/* ===== BORDER UTILITIES ===== */
.border {
  border: 1px solid var(--border-color);
}

.border-none {
  border: none;
}

.rounded {
  border-radius: 8px;
}

.rounded-full {
  border-radius: 50%;
}

/* ===== BACKGROUND UTILITIES ===== */
.bg-transparent {
  background: transparent;
}

.bg-primary {
  background: var(--primary-color);
}

.bg-secondary {
  background: var(--secondary-color);
}

/* ===== CURSOR UTILITIES ===== */
.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

/* ===== OVERFLOW UTILITIES ===== */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

/* ===== Z-INDEX UTILITIES ===== */
.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-50 {
  z-index: 50;
}

.z-100 {
  z-index: 100;
}

/* ===== ACCESSIBILITY UTILITIES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== TRANSITION UTILITIES ===== */
.transition {
  transition: all 0.3s ease;
}

.transition-fast {
  transition: all 0.15s ease;
}

.transition-slow {
  transition: all 0.5s ease;
}

/* ===== HOVER EFFECTS ===== */
.hover-scale:hover {
  transform: scale(1.05);
}

.hover-opacity:hover {
  opacity: 0.8;
}

.hover-bg:hover {
  background: var(--hover-bg);
}

/* ===== SHADOW UTILITIES ===== */
.shadow-sm {
  box-shadow: 0 1px 2px var(--shadow-color);
}

.shadow {
  box-shadow: 0 4px 8px var(--shadow-color);
}

.shadow-lg {
  box-shadow: 0 8px 16px var(--shadow-color);
}

.shadow-xl {
  box-shadow: 0 12px 24px var(--shadow-color);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
  .md-hidden {
    display: none !important;
  }
  
  .md-visible {
    display: block !important;
  }
  
  .md-flex {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .sm-hidden {
    display: none !important;
  }
  
  .sm-visible {
    display: block !important;
  }
  
  .sm-flex {
    display: flex !important;
  }
  
  .sm-text-center {
    text-align: center !important;
  }
}
