/* Custom utility classes for EuroDriveToUA */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #27ae60;
    --secondary: #2c3e50;
    --accent: #e74c3c;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Animations */
@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-in {
    animation: slideInUp 0.5s ease-out forwards;
}

/* Chat Widget Custom Styles */
#chatWindow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#chatMessages::-webkit-scrollbar {
    width: 4px;
}

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

#chatMessages::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

/* Form focus ring custom color */
input:focus, select:focus, textarea:focus {
    border-color: var(--primary) !important;
}

/* Hide scrollbar for admin panel */
#adminPanel::-webkit-scrollbar {
    display: none;
}
#adminPanel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Button Hover Effects */
.btn-primary-hover {
    transition: all 0.3s ease;
}
.btn-primary-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2);
}

/* Car Card Hover */
.car-card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.car-card-shadow:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
