﻿body {
}

 
* {
    font-family: "Inter", sans-serif;
}

::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

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

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid #3b82f6;
        border-radius: 50%;
        border-right-color: transparent;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Styles */
.modal {
    transition: all 0.3s ease;
}

    .modal.show {
        display: flex !important;
    }

.modal-content {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .btn:active {
        transform: translateY(0);
    }

    .btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transition: all 0.3s ease;
        transform: translate(-50%, -50%);
    }

    .btn:active::before {
        width: 100%;
        height: 100%;
    }

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

    .notification.show {
        transform: translateX(0);
    }

    .notification.success {
        background: #10b981;
    }

    .notification.error {
        background: #ef4444;
    }

    .notification.warning {
        background: #f59e0b;
    }

    .notification.info {
        background: #3b82f6;
    }

/* Navigation Active State */
.nav-item.active {
    background: #f3f7fa;
    color: #00294d;
    font-weight: 600;
}

    .nav-item.active i {
        color: #1d4ed8;
    }

/* Custom Form Controls */
.form-control {
    transition: all 0.3s ease;
}

    .form-control:focus {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    }

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

        #sidebar.mobile-open {
            transform: translateX(0);
        }

    #main-section {
        margin-left: 0;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

        .mobile-overlay.show {
            opacity: 1;
            visibility: visible;
        }
}


.nav-item.flex.items-center.px-4.py-3.rounded-xl.mb-2.cursor-pointer.transition-all.activess {
    background: #f3f7fa;
}

.form-label {
    font-weight: 500;
    color: #00294d;
}

.required:after {
    content: '*';
    color: #e11d48;
    margin-left: 4px;
}

.tag-variant {
    background: #e1f5ed;
    color: #00a651;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid #00a651;
    transition: all 0.2s ease;
}

    .tag-variant:hover {
        background: #00a651;
        color: white;
    }

    .tag-variant i {
        margin-left: 0.5rem;
        cursor: pointer;
        padding: 0.125rem;
        border-radius: 50%;
        transition: all 0.2s ease;
    }

        .tag-variant i:hover {
            background: rgba(255, 255, 255, 0.2);
        }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

.tab-button {
    transition: all 0.3s ease;
}

    .tab-button.active {
        background-color: #00a651;
        color: white;
    }

    .tab-button:not(.active):hover {
        background-color: #e1f5ed;
        color: #00a651;
    }

.progress-bar {
    transition: width 0.3s ease;
}

 