﻿
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #64748b;
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: black;
    --gray-light: #e2e8f0;
    --gray-dark: #475569;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(10px);
    --dark-primary: #818cf8;
    --dark-secondary: #94a3b8;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-text: #f8fafc;
    --dark-border: #334155;
    --sidebar-width: 280px;
    --sidebar-collapsed: 80px;
    --top-navbar-height: 70px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.dark-mode {
    --primary: var(--dark-primary);
    --secondary: var(--dark-secondary);
    --light: var(--dark-bg);
    --white: var(--dark-surface);
    --gray: var(--dark-secondary);
    --gray-light: var(--dark-border);
    --gray-dark: var(--dark-text);
}

body {
    background-color: white !important;
}
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.3s ease-out;
}
.animate-fade-in {
    animation: fade-in 0.2s ease-out;
}
[b-uy2foibxu9] table tr td {
    width: 100px !important;
}
.dropdown-menu[data-bs-popper] {
    top: 100%;
    margin-top: var(--bs-dropdown-spacer);
    right: 10px !important;
}
.quickgrid .column {
    padding: 0 !important;
}

/* Adjust column margins */
.quickgrid .column {
    margin: 0 !important; /* Remove margin */
}
.scrollable-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    position: relative;
}

.table th, .table td {
    text-align: left;
    white-space: nowrap; /* Prevent text wrapping */
}

    .table th:last-child, .table td:last-child {
        background-color: #f8f9fa; /* Optional: Highlight the sticky column */
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for visual separation */
    }
.my-table td, .my-table th {
    padding: 0; /* Removes padding */
    margin: 0; /* Removes margin */
}
.custom-select {
    appearance: none;
    background-color: #f9fafb; /* Light gray background */
    border: 1px solid #d1d5db; /* Border color */
    border-radius: 8px; /* Rounded corners */
    padding: 8px 16px;
    font-size: 1rem;
    color: #374151; /* Text color */
    transition: all 0.3s ease-in-out;
    outline: none;
    cursor: pointer;
    width: auto;
}


@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}
    .custom-select::after {
        content: '▼';
        position: absolute;
        right: 10px;
        pointer-events: none;
    }

    /* Hover and focus effects */
    .custom-select:hover {
        background-color: #e5e7eb;
        border-color: #9ca3af; 
    }

    .custom-select:focus {
        background-color: #fff;
        border-color: #2563eb; 
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
    }

    /* Option styles */
    .custom-select option {
        background-color: #f9fafb; 
        color: #374151; 
        padding: 8px;
    }

        /* Selected option style */
        .custom-select option:checked {
            background-color: #2563eb; 
            color: #fff;
        }

    .custom-select::-ms-expand {
        display: none; 
    }
.quickgrid {
    border-spacing: 0 !important; /* Remove spacing between cells */
}

[b-uy2foibxu9] table tr td {
    width: auto !important; /* Override any previous width settings */
}

.nav-link {
    color: inherit !important; /* Inherit the color from the parent element */
}

    .nav-link:hover {
        color: white !important; /* Inherit the color from the parent element */
        background-color: darkseagreen !important;
    }

    .nav-link.active {
        color: white !important; /* Ensure active link also inherits the color */
        background-color: darkseagreen !important;
    }

.tooltip1 {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

    .tooltip1 .tooltiptext {
        visibility: hidden;
        min-width: 150px;
        background-color: #141b2d;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 7px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -60px;
        margin-bottom: 10px;
        text-overflow: ellipsis;
    }
    .tooltip1 .tooltiptextBottom {
        visibility: hidden;
        min-width: 120px;
        background-color: #141b2d;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 7px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        bottom: 0px;
        left: 50%;
        margin-left: -60px;
        margin-bottom: 10px;
        text-overflow:ellipsis;
    }
    .tooltip1:hover .tooltiptextBottom {
        visibility: visible;
    }
    .tooltip1:hover .tooltiptext {
        visibility: visible;
    }
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e0e0e0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.linkStyle {
    color: white !important;
    text-decoration: none;
    padding: 4px 6px 6px 4px !important;
    border: 1px solid #FFCC00;
    border-radius: 5px;
}

.center-loader {
    margin-left: auto;
    margin-right: auto;
    padding: 150px 0;
    z-index: 100;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    background-color: black;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #4CAF50;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
        background-color: red;
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }


/* Button Loader */
.lds-dual-ring {
    display: inline-block;
    width: 16px;
    height: 16px;
}

    .lds-dual-ring:after {
        content: ' ';
        display: block;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 3px solid #fff;
        border-color: #fff transparent #fff transparent;
        animation: lds-dual-ring 1.2s linear infinite;
    }


@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

::deep tbody tr {
    width: 150px,
    /* background-color: rgba(0,0,0,0.04); */
}

.form-control input[type="text"]:focus {
    outline: none;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}
