/* =========================================
   PREMIUM AESTHETICS (CityCell Elite & RepaSaaS PRO)
   Focus: Glassmorphism, Gradients, and Micro-animations
   ========================================= */

:root {
    /* --- EXTENDED PREMIUM PALETTE --- */
    --elite-blue: #2563eb;
    --elite-blue-glow: rgba(37, 99, 235, 0.4);
    --elite-orange: #f59e0b;
    --elite-orange-glow: rgba(245, 158, 11, 0.4);

    /* Surface Colors (Glass Bases) */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Animation Durations */
    --anim-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --anim-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --primary-gradient: linear-gradient(135deg, #D31628 0%, #A1111E 100%);
    --secondary-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* --- 0. UTILITIES (To remove inline styles) --- */
.flex-1 {
    flex: 1;
}

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

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

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.gap-4 {
    gap: 4px;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.mt-2 {
    margin-top: 2px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-6 {
    margin-top: 6px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-4 {
    margin-bottom: 4px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-w-300 {
    min-width: 300px;
}

.text-xs {
    font-size: 0.7rem;
}

.text-sm {
    font-size: 0.8rem;
}

.text-base {
    font-size: 1rem;
}

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

.font-black {
    font-weight: 900;
}

.text-muted {
    color: #64748b;
}

.text-help {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.7;
    display: block;
}

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

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

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

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.px-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.mr-8 {
    margin-right: 8px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.pos-rel {
    position: relative;
}

.pos-abs {
    position: absolute;
}

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

.flex-gap-10 {
    display: flex;
    gap: 10px;
}

.flex-gap-15 {
    display: flex;
    gap: 15px;
}

.h-38 {
    height: 38px;
}

.h-44 {
    height: 44px;
}

.h-50 {
    height: 50px;
}

.rounded-50 {
    border-radius: 50px;
}

.rounded-20 {
    border-radius: 20px;
}

.rounded-12 {
    border-radius: 12px;
}

.nowrap {
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.max-w-400 {
    max-width: 400px;
}

.max-w-500 {
    max-width: 500px;
}

.p-30 {
    padding: 30px;
}

.p-0 {
    padding: 0 !important;
}

.overflow-hidden {
    overflow: hidden;
}

.modal-icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.h-full {
    height: 100% !important;
}

.w-full {
    width: 100% !important;
}

.w-32 {
    width: 32px !important;
}

.h-32 {
    height: 32px !important;
}

.w-40 {
    width: 40px !important;
}

.h-40 {
    height: 40px !important;
}

.w-80 {
    width: 80px !important;
}

.h-44 {
    height: 44px !important;
}

.h-45 {
    height: 45px !important;
}

.h-48 {
    height: 48px !important;
}

.min-h-80 {
    min-height: 80px !important;
}

.grid-cols-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
}

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

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

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

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-05 {
    opacity: 0.05 !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-24 {
    padding: 24px !important;
}

.p-4 {
    padding: 1rem !important;
}

.p-10 {
    padding: 10px !important;
}

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

.p-25 {
    padding: 25px !important;
}

.p-35 {
    padding: 35px !important;
}

.m-0 {
    margin: 0 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

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

.mb-25 {
    margin-bottom: 25px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.gap-5 {
    gap: 5px !important;
}

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

.gap-12 {
    gap: 12px !important;
}

.gap-15 {
    gap: 15px !important;
}

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

.gap-25 {
    gap: 25px !important;
}

.font-400 {
    font-weight: 400 !important;
}

.font-500 {
    font-weight: 500 !important;
}

.font-600 {
    font-weight: 600 !important;
}

.font-700 {
    font-weight: 700 !important;
}

.font-800 {
    font-weight: 800 !important;
}

.font-850 {
    font-weight: 850 !important;
}

.font-900 {
    font-weight: 900 !important;
}

.font-950 {
    font-weight: 950 !important;
}

.ls-neg-05 {
    letter-spacing: -0.5px !important;
}

.ls-01 {
    letter-spacing: 0.1em !important;
}

.ls-015 {
    letter-spacing: 0.15em !important;
}

.uppercase {
    text-transform: uppercase !important;
}

.text-muted {
    color: #64748b !important;
}

.text-light-muted {
    color: #94a3b8 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-info {
    color: #3b82f6 !important;
}

.bg-white {
    background: white !important;
}

.bg-muted {
    background: #f8fafc !important;
}

.rounded-8 {
    border-radius: 8px !important;
}

.rounded-10 {
    border-radius: 10px !important;
}

.rounded-15 {
    border-radius: 15px !important;
}

.rounded-18 {
    border-radius: 18px !important;
}

.rounded-14 {
    border-radius: 14px !important;
}

.rounded-24 {
    border-radius: 24px !important;
}

.rounded-pill {
    border-radius: 9999px !important;
}

.border {
    border: 1px solid var(--border) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--border) !important;
}

.no-border {
    border: none !important;
}

/* --- 1. GLASSMORPHISM UTILITIES --- */
.glass-premium {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
}

.glass-modal {
    background: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* --- 2. PREMIUM GRADIENTS --- */
.grad-text-premium {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grad-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

.grad-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.grad-red {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
}

.grad-slate {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* --- 3. MICRO-ANIMATIONS & HOVER EFFECTS --- */
.hover-lift {
    transition: transform var(--anim-fast), box-shadow var(--anim-fast) !important;
}

.hover-lift:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1) !important;
}

.hover-glow-blue:hover {
    box-shadow: 0 0 20px var(--elite-blue-glow) !important;
    border-color: var(--elite-blue) !important;
}

.hover-glow-orange:hover {
    box-shadow: 0 0 20px var(--elite-orange-glow) !important;
    border-color: var(--elite-orange) !important;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp var(--anim-slow) forwards;
}

/* Shimmer Loading Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer-effect {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* --- 4. SCROLLBARS --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: background 0.3s;
}

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

