/* ========================================
   PORSCHE ELECTRIC UTILITIES
   ======================================== */

/* ===== SPACING ===== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--s-2); }
.mt-2 { margin-top: var(--s-4); }
.mt-3 { margin-top: var(--s-6); }
.mt-4 { margin-top: var(--s-8); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--s-2); }
.mb-2 { margin-bottom: var(--s-4); }
.mb-3 { margin-bottom: var(--s-6); }
.mb-4 { margin-bottom: var(--s-8); }

.p-0 { padding: 0; }
.p-1 { padding: var(--s-2); }
.p-2 { padding: var(--s-4); }
.p-3 { padding: var(--s-6); }
.p-4 { padding: var(--s-8); }

.mx-auto { margin-left: auto; margin-right: auto; }

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

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-inverse { color: var(--text-inverse); }
.text-accent { color: var(--electric); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }

.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-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.font-light { font-weight: var(--fw-light); }
.font-normal { font-weight: var(--fw-regular); }
.font-medium { font-weight: var(--fw-medium); }
.font-semibold { font-weight: var(--fw-semibold); }
.font-bold { font-weight: var(--fw-bold); }

.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.uppercase { text-transform: uppercase; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== DISPLAY ===== */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* ===== BORDERS ===== */
.border { border: 1px solid var(--border-default); }
.border-t { border-top: 1px solid var(--border-subtle); }
.border-b { border-bottom: 1px solid var(--border-subtle); }
.border-none { border: none; }

.rounded { border-radius: var(--r-md); }
.rounded-lg { border-radius: var(--r-lg); }
.rounded-xl { border-radius: var(--r-xl); }
.rounded-full { border-radius: var(--r-full); }

/* ===== BACKGROUND ===== */
.bg-surface-0 { background: var(--surface-0); }
.bg-surface-1 { background: var(--surface-1); }
.bg-surface-2 { background: var(--surface-2); }
.bg-surface-3 { background: var(--surface-3); }
.bg-electric { background: var(--electric-gradient); }

/* ===== SHADOW ===== */
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }
.shadow-glow { box-shadow: var(--shadow-glow); }

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

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

/* ===== TRANSITION ===== */
.transition { transition: all var(--duration-normal) var(--ease-out); }
.transition-fast { transition: all var(--duration-fast) var(--ease-out); }

/* ===== OPACITY ===== */
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
