* {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Focus ring custom color */
.focus\:ring-\[\#2563eb\]:focus {
    --tw-ring-color: #2563eb;
}

/* Tab transitions */
.tab-btn {
    position: relative;
}

/* Upload area drag state */
.drag-over {
    border-color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.05) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
    .max-w-\[1280px\] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Ensure images don't break layout */
img {
    max-width: 100%;
    height: auto;
}

/* Dropdown animation */
#user-dropdown {
    animation: fadeIn 0.1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar tooltip positioning fix */
.group:hover .absolute {
    z-index: 100;
}

/* Custom form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select {
    background-color: white;
    color: #1e293b;
}

input::placeholder {
    color: #94a3b8;
}

/* Branding preview specific styles */
#logo-browser-preview,
#favicon-browser-preview {
    transition: all 0.2s ease-in-out;
}

/* Active state for sidebar items */
.bg-blue-50 {
    background-color: rgba(37, 99, 235, 0.08);
}