/* Custom styles beyond Tailwind CSS */

/* Add a subtle transition effect for all elements */
* {
    transition: all 0.2s ease;
}

/* Add a subtle transition effect to form inputs */
input {
    transition: all 0.3s ease;
}

/* Add a subtle hover effect to the login form */
form:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* Custom focus styles */
*:focus {
    outline: none;
}

/* Sidebar navigation hover effects */
.bg-sidebar a:hover {
    transform: translateX(5px);
}

/* Workflow diagram box hover effects */
.bg-datasource:hover, .bg-transform:hover, .bg-validate:hover, .bg-destination:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Chart bar animations */
.bg-blue-500.rounded-t-md {
    transition: height 1s ease-out;
}

/* Status indicator hover effects */
td span {
    transition: transform 0.2s ease;
}

td span:hover {
    transform: scale(1.1);
}

/* Add some depth to cards */
.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .flex-1 {
        flex-direction: column;
    }
    
    .bg-sidebar {
        width: 100%;
        height: auto;
    }
    
    .bg-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bg-sidebar li {
        margin: 0 5px;
    }
}
