/* Custom styles for AI Consultant Assistant */
/* Using HSL format for color variables as requested */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.3s ease;
}

/* Body and layout improvements */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Card enhancements */
.card {
    transition: var(--transition-smooth);
    border-radius: 0.75rem;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Form styling improvements */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Button animations */
.btn {
    transition: var(--transition-smooth);
}

.btn:hover {
    transform: translateY(-1px);
}

/* Badge spacing */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
}

/* Icon styling */
.fas, .far {
    color: inherit;
}

/* Navbar brand enhancement */
.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Alert improvements */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Loading state for forms */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Hero section styling */
.display-4 {
    font-weight: 700;
}

.lead {
    font-size: 1.1rem;
}

/* List styling improvements */
.list-unstyled li {
    margin-bottom: 0.25rem;
}

/* Footer styling */
footer {
    margin-top: auto;
}

/* Animation for success alerts */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert {
    animation: slideInDown 0.5s ease-out;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-light);
}
