﻿
:root,
[data-bs-theme=light] {
    --falcon-card-gradient: linear-gradient(-45deg, #1ca70c, #40c72b);
}

.bg-card-gradient {
  background-image: var(--falcon-card-gradient);
  background-position: center;
}


.btn-primary, .tox .tox-menu__footer .tox-button:last-child,
.tox .tox-dialog__footer .tox-button:last-child {
    --falcon-btn-color: #fff;
    --falcon-btn-bg: #1ca70c;
    --falcon-btn-border-color: #1ca70c;
    --falcon-btn-hover-color: #fff;
    --falcon-btn-hover-bg: #168008;
    --falcon-btn-hover-border-color: #126306;
    --falcon-btn-focus-shadow-rgb: 28, 167, 12;
    --falcon-btn-active-color: #fff;
    --falcon-btn-active-bg: #126306;
    --falcon-btn-active-border-color: #0f5705;
    --falcon-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --falcon-btn-disabled-color: #fff;
    --falcon-btn-disabled-bg: #1ca70c;
    --falcon-btn-disabled-border-color: #1ca70c;
}

/*a {
    color: rgba(var(--falcon-primary-rgb), var(--falcon-text-opacity)) !important;
    text-decoration: none;
}*/

.text-green {
    color: #00d27a !important;
}

.text-dark-green {
    color: #1ca70c !important;
}

.bg-green {
    background-color: #00d27a !important;
}

.text-lightgreen {
    color: #24d70f !important;
}

.btn-success-link a {
    color: #00d27a !important;
}

    .btn-success-link a:hover {
        color: #fff !important;
    }


.link a {
    padding: 5px;
    text-decoration: none;
    color: #1ca70c !important;
    box-shadow: inset 0 -1px 0 rgba(36, 215, 15, 1); /* #24d70f with 50% opacity */
    transition: color .3s ease-out;
    border-radius: 5px
}

    .link a:hover {
        padding: 5px;
        box-shadow: none;
        color: #1ca70c !important;
        box-shadow: inset 0 -1px 0 rgba(36, 215, 15, 1); /* #24d70f with 50% opacity */
    }

/* Remove autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* Firefox */
input:-moz-autofill,
input:-moz-autofill:hover,
input:-moz-autofill:focus,
input:-moz-autofill:active {
    background-color: white !important;
    color: #000 !important;
}


.cursor-pointer {
    cursor: pointer !important;
}


.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link {
    /* Add transition for smooth color change */
    transition: color 0.3s ease-in-out;
}

    .sidebar-wrapper .sidebar-menu > .nav-item > .nav-link.active:not(:hover) {
        color: #24d70f;
    }

    .sidebar-wrapper .sidebar-menu > .nav-item > .nav-link:hover {
        color: #24d70f;
    }

.sidebar-brand {
    justify-content: left;
}

.required::after {
    content: " *";
    color: red;
}

