
.max-w-7xl {
    max-width: 80rem;
}

.max-w-4xl {
    max-width: 56rem;
}

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

.p-6 {
    padding: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.p-3 {
    padding: 0.75rem;
}

.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.p-1 {
    padding: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-1 {
    gap: 0.25rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

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

.flex-1 {
    flex: 1 1 0%;
}

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

.items-center {
    align-items: center;
}

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

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

.shrink-0 {
    flex-shrink: 0;
}

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

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.w-full {
    width: 100%;
}

.w-5 {
    width: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.w-10 {
    width: 2.5rem;
}

.w-8 {
    width: 2rem;
}

.h-5 {
    height: 1.25rem;
}

.h-4 {
    height: 1rem;
}

.h-10 {
    height: 2.5rem;
}

.h-8 {
    height: 2rem;
}

.min-w-0 {
    min-width: 0;
}

.max-w-96 {
    max-width: 24rem;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

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

.break-words {
    overflow-wrap: break-word;
}

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

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

/* ==========================================
   3. COLORS — BACKGROUNDS
   ========================================== */

.bg-slate-950 {
    background-color: #020617;
}

.bg-slate-900 {
    background-color: #0f172a;
}

.bg-slate-800\/50 {
    background-color: rgba(30, 41, 59, 0.5);
}

.bg-slate-800\/30 {
    background-color: rgba(30, 41, 59, 0.3);
}

.bg-slate-800 {
    background-color: #1e293b;
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-indigo-500\/15 {
    background-color: rgba(99, 102, 241, 0.15);
}

.bg-indigo-500\/20 {
    background-color: rgba(99, 102, 241, 0.2);
}

.bg-amber-500\/15 {
    background-color: rgba(245, 158, 11, 0.15);
}

.bg-rose-500\/15 {
    background-color: rgba(244, 63, 94, 0.15);
}

.bg-rose-500\/10 {
    background-color: rgba(244, 63, 94, 0.1);
}

.bg-emerald-500\/15 {
    background-color: rgba(16, 185, 129, 0.15);
}

.bg-purple-500\/15 {
    background-color: rgba(168, 85, 247, 0.15);
}

.bg-blue-500\/15 {
    background-color: rgba(59, 130, 246, 0.15);
}

.bg-orange-500\/15 {
    background-color: rgba(249, 115, 22, 0.15);
}

.bg-slate-500\/15 {
    background-color: rgba(100, 116, 139, 0.15);
}

.bg-black\/60 {
    background-color: rgba(0, 0, 0, 0.6);
}

.bg-transparent {
    background-color: transparent;
}

/* ==========================================
   4. COLORS — TEXT
   ========================================== */

.text-slate-100 {
    color: #f1f5f9;
}

.text-slate-200 {
    color: #e2e8f0;
}

.text-slate-300 {
    color: #cbd5e1;
}

.text-slate-400 {
    color: #94a3b8;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

.text-white {
    color: #ffffff;
}

.text-indigo-400 {
    color: #818cf8;
}

.text-indigo-300 {
    color: #a5b4fc;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-rose-400 {
    color: #fb7185;
}

.text-rose-300 {
    color: #fda4af;
}

.text-emerald-400 {
    color: #34d399;
}

.text-purple-400 {
    color: #c084fc;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-orange-400 {
    color: #fb923c;
}

/* ==========================================
   5. BORDERS
   ========================================== */

.border {
    border-width: 1px;
    border-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-none {
    border: none;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/5 {
    border-color: rgba(255, 255, 255, 0.05);
}

.border-white\/03 {
    border-color: rgba(255, 255, 255, 0.03);
}

.border-indigo-500\/30 {
    border-color: rgba(99, 102, 241, 0.3);
}

.border-rose-500\/30 {
    border-color: rgba(244, 63, 94, 0.3);
}

.border-rose-500\/20 {
    border-color: rgba(244, 63, 94, 0.2);
}

.border-purple-500\/30 {
    border-color: rgba(168, 85, 247, 0.3);
}

.border-dashed {
    border-style: dashed;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded {
    border-radius: 0.25rem;
}

/* ==========================================
   6. TYPOGRAPHY
   ========================================== */

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

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

.font-semibold {
    font-weight: 600;
}

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

.uppercase {
    text-transform: uppercase;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-none {
    line-height: 1;
}

.underline {
    text-decoration: underline;
}

/* ==========================================
   7. GRADIENTS & SPECIAL BACKGROUNDS
   ========================================== */

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-indigo-500 {
    --tw-gradient-from: #6366f1;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(99, 102, 241, 0));
}

.via-violet-500 {
    --tw-gradient-stops: var(--tw-gradient-from), #8b5cf6, var(--tw-gradient-to, rgba(139, 92, 246, 0));
}

.to-violet-500 {
    --tw-gradient-to: #8b5cf6;
}

.to-cyan-500 {
    --tw-gradient-to: #06b6d4;
}

/* ==========================================
   8. SHADOWS
   ========================================== */

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-indigo-500\/30 {
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3), 0 4px 6px -2px rgba(99, 102, 241, 0.15);
}

/* ==========================================
   9. EFFECTS
   ========================================== */

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ==========================================
   10. INTERACTIVE STATES
   ========================================== */

.cursor-pointer {
    cursor: pointer;
}

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

.hover\:bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hover\:bg-white\/10:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hover\:bg-rose-500\/25:hover {
    background-color: rgba(244, 63, 94, 0.25);
}

.hover\:bg-purple-500\/25:hover {
    background-color: rgba(168, 85, 247, 0.25);
}

.hover\:-translate-y-0\.5:hover {
    transform: translateY(-0.125rem);
}

.hover\:text-indigo-300:hover {
    color: #a5b4fc;
}

.hover\:text-slate-200:hover {
    color: #e2e8f0;
}

.hover\:text-rose-300:hover {
    color: #fda4af;
}

.hover\:text-slate-500:hover {
    color: #64748b;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-indigo-500\/40:hover {
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4), 0 10px 10px -5px rgba(99, 102, 241, 0.2);
}

.hover\:brightness-110:hover {
    filter: brightness(1.1);
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

.active\:scale-\[0\.98\]:active {
    transform: scale(0.98);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

/* ==========================================
   11. DISABLED STATES
   ========================================== */

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

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

/* ==========================================
   12. ANIMATIONS
   ========================================== */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================
   13. TABLE STYLES
   ========================================== */

.w-full {
    width: 100%;
}

.border-collapse {
    border-collapse: collapse;
}

thead {
    background-color: #1e293b;
}

tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================
   14. FORM ELEMENTS
   ========================================== */

input[type="text"],
input[type="file"],
textarea,
select {
    font-family: inherit;
}

input::placeholder,
textarea::placeholder {
    color: #475569;
}

select {
    appearance: none;
    -webkit-appearance: none;
}

select option {
    background-color: #1e293b;
    color: #e2e8f0;
}

/* ==========================================
   15. MODAL SPECIFIC
   ========================================== */

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

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

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.max-w-lg {
    max-width: 32rem;
}

.max-h-\[90vh\] {
    max-height: 90vh;
}

/* ==========================================
   16. RESPONSIVE
   ========================================== */

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:items-center {
        align-items: center;
    }

    .sm\:justify-between {
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .md\:p-8 {
        padding: 2rem;
    }

    .md\:p-10 {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:p-10 {
        padding: 2.5rem;
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ==========================================
   17. SCROLLBAR STYLING
   ========================================== */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   18. FOCUS STATES
   ========================================== */

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6366f1;
}

/* ==========================================
   19. RESIZE
   ========================================== */

.resize-none {
    resize: none;
}

/* ==========================================
   20. APPEARANCE
   ========================================== */

.appearance-none {
    appearance: none;
    -webkit-appearance: none;
}

.hidden {
    display: none;
}

/* ==========================================
   21. INLINE-BLOCK
   ========================================== */

.inline-block {
    display: inline-block;
}

/* ==========================================
   22. LINK STYLES
   ========================================== */

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

/* ==========================================
   23. BUTTON RESET
   ========================================== */

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

button:disabled {
    cursor: not-allowed;
}