/* Custom styles for SaaS Template */

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading animations */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

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

/* Custom button hover effects */
.btn-primary {
    @apply bg-indigo-600 text-white px-4 py-2 rounded-md hover:bg-indigo-700 transition-colors;
}

.btn-secondary {
    @apply bg-gray-200 text-gray-800 px-4 py-2 rounded-md hover:bg-gray-300 transition-colors;
}

/* Card styles */
.card {
    @apply bg-white rounded-lg shadow-md p-6;
}

/* Form input focus styles */
input:focus,
textarea:focus,
select:focus {
    @apply ring-2 ring-indigo-500 border-indigo-500;
}

/* Toast notifications (for future use) */
.toast {
    @apply fixed bottom-4 right-4 bg-white rounded-lg shadow-lg p-4 max-w-sm z-50;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Utility classes */
.text-balance {
    text-wrap: balance;
}
