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

/* Sizing */
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.w-auto { width: auto; }
.w-1px { width: 1px; }
.w-50px { width: 50px; }
.w-60px { width: 60px; }
.w-120px { width: 120px; }
.w-150px { width: 150px; }
.w-200px { width: 200px; }
.min-w-120px { min-width: 120px; }
.max-w-200px { max-width: 200px; }
.max-w-800 { max-width: 800px; }

.h-10px { height: 10px; }
.h-12px { height: 12px; }
.h-24px { height: 24px; }
.h-150px { height: 150px; }
.h-350px { height: 350px; }
.max-h-200px { max-height: 200px; }

/* Grid */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-smtp-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}

@media (max-width: 992px) {
    .grid-2-cols,
    .grid-smtp-layout {
        grid-template-columns: 1fr;
    }
}

/* Typography */
.text-xs { font-size: 12px; }
.text-sm-lg { font-size: 0.9rem; }
.text-6xl { font-size: 64px; }
.line-height-relaxed { line-height: 1.7; }
.leading-tight { line-height: 1.2; }
.tracking-wide { letter-spacing: 1px; }
.text-uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.no-underline { text-decoration: none; }
.hover\:underline:hover { text-decoration: underline; }

/* Colors */
.text-primary { color: var(--primary-light); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.bg-tertiary { background-color: var(--bg-tertiary); }
.bg-email-preview { background: #f4f4f4; }

/* Spacing */
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mr-1 { margin-right: 8px; }
.mr-2 { margin-right: 16px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }
.ml-1 { margin-left: 8px; }
.ml-2 { margin-left: 16px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 { margin-top: 24px; margin-bottom: 24px; }
.py-4 { padding-top: 24px; padding-bottom: 24px; }
.pb-2 { padding-bottom: 8px; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.gap-5 { gap: 32px; }
.gap-6 { gap: 48px; }

/* Flexbox */
.d-flex { display: flex; }
.d-block { display: block; }
.flex-1 { flex: 1; }
.align-center, .items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }

/* Borders */
.border-0 { border: none !important; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-color { border-color: var(--border-color); }
.border-primary-bg { border-color: var(--bg-primary); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-bottom-lg { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* Misc */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.opacity-70 { opacity: 0.7; }
.shadow-md { box-shadow: var(--shadow-md); }
