/* =============================================================================
 * cs-app-new - Custom Styles
 * =============================================================================
 * Generated by: Caucasus Systems CS-Application Wizard
 * Template: Monolithic Flask Application
 * ============================================================================= */

/* Root Variables */
:root {
    --cs-primary: #6366f1;
    --cs-primary-dark: #4f46e5;
    --cs-secondary: #64748b;
    --cs-success: #22c55e;
    --cs-danger: #ef4444;
    --cs-warning: #f59e0b;
    --cs-info: #3b82f6;
}

/* Body */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8fafc;
}

/* Main Content */
main {
    flex: 1;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
}

/* Cards */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Feature Icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tables */
.table code {
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Footer */
footer {
    border-top: 1px solid #e2e8f0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--cs-primary);
    border-color: var(--cs-primary);
}

.btn-primary:hover {
    background-color: var(--cs-primary-dark);
    border-color: var(--cs-primary-dark);
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

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

.fade-in {
    animation: fadeIn 0.3s ease-out;
}
