body {
    font-family: system-ui, 'Inter', sans-serif;
    font-size: 14px;
}


[x-cloak] {
    display: none !important;
}

.sortable-fallback {
    opacity: 0.8 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
}

.slide-item.sortable-ghost {
    background-color: #4f46e5;
    opacity: 0.5;
}

.slide-item.sortable-chosen {
    background-color: #e0e7ff;
}


.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .glass-nav {
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.dark .glass-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(to right, #4f46e5, #9333ea, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .text-gradient {
    background: linear-gradient(to right, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-glow {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
    opacity: 0.9;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4f46e5, #7c3aed, #ec4899);
    z-index: -2;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
    opacity: 0.6;
}


.select2-container .select2-selection--single {
    height: 42px !important;
    border-radius: 0.5rem !important;

    border-color: #e2e8f0 !important;

    background-color: rgba(255, 255, 255, 0.5);
    display: flex !important;
    align-items: center;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 1rem !important;

    padding-right: 2rem !important;
    line-height: normal !important;
    color: #0f172a !important;

}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 0.5rem !important;
}

.select2-dropdown {
    border-radius: 0.5rem !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 0.375rem !important;
    border-color: #e2e8f0 !important;
    padding: 0.5rem !important;
}

/* Swiper Gallery Styles */
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 65vw;
    /* Reduced from 800px to fit better */
    max-width: 1000px;
    height: auto;
    max-height: 80vh;
    /* Ensure it fits vertically */
    aspect-ratio: 16/9;
    /* transition: all 0.3s ease; */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: transparent;
}

@media (max-width: 1024px) {
    .swiper-slide {
        width: 80vw;
        height: auto;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 90vw;
        height: auto;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}