﻿:root,
[data-bs-theme=light] {
    --lms-theme-green: #4a9b32;
    --lms-theme-light-green: #81bb42;
    --lms-theme-bg-light-green: rgba(127, 200, 107, 0.16);
}

body {
    background-color: #fff;
}
/* Required Class */
.required::after {
    content: "*";
    color: red;
    font-size: 1em;
    vertical-align: super; /* Make the asterisk appear as a superscript */
}

/* Optional Class */
.optional::after {
    content: " (optional)";
    font-style: italic;
    font-size: 0.8em;
    color: #939191;
}

.form-switch .form-check-input {
    margin-left: 0px !important;
}

.modal-confirm {
    color: #636363;
    width: 400px;
}

    .modal-confirm .modal-content {
        padding: 20px;
        border-radius: 5px;
        border: none;
        text-align: center;
        font-size: 14px;
    }

    .modal-confirm .modal-header {
        border-bottom: none;
        position: relative;
    }

    .modal-confirm h4 {
        text-align: center;
        font-size: 26px;
        margin: 30px 0 -10px;
    }

    .modal-confirm .close {
        position: absolute;
        top: -5px;
        right: -2px;
    }

    .modal-confirm .modal-body {
        color: #999;
    }

    .modal-confirm .modal-footer {
        border: none;
        text-align: center;
        border-radius: 5px;
        font-size: 13px;
        padding: 10px 15px 25px;
    }

        .modal-confirm .modal-footer a {
            color: #999;
        }

    .modal-confirm .icon-box {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        border-radius: 50%;
        z-index: 9;
        text-align: center;
        border: 3px solid #f15e5e;
    }

        .modal-confirm .icon-box i {
            color: #f15e5e;
            font-size: 46px;
            display: inline-block;
            margin-top: 13px;
        }


.form-select {
    background-color: rgb(255, 255, 255) !important;
}


.lms-cursor-pointer {
    cursor: pointer !important;
}

.datepicker {
    z-index: 1075 !important;
}

.btn {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

    .btn:hover {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

.btn-success {
    background-color: var(--lms-theme-green) !important;
    border-color: var(--lms-theme-green) !important;
}

    .btn-success:hover {
        background-color: var(--lms-theme-green) !important;
        border-color: var(--lms-theme-green) !important;
    }

.btn-outline-success {
    color: var(--lms-theme-green) !important;
    border-color: var(--lms-theme-green) !important;
    background: transparent;
}

    .btn-check:focus + .btn-outline-success, .btn-outline-success:focus {
        color: var(--lms-theme-light-green) !important;
        background-color: var(--lms-theme-green) !important;
        border-color: var(--lms-theme-green) !important;
    }

    .btn-outline-success:hover {
        background-color: var(--lms-theme-green) !important;
        border-color: var(--lms-theme-green) !important;
    }

    .btn-outline-success.active, .btn-outline-success.dropdown-toggle.show {
        background-color: var(--lms-theme-green) !important;
        border-color: var(--lms-theme-green) !important;
    }

a {
    color: var(--lms-theme-green);
}

    a:hover {
        color: var(--lms-theme-light-green);
    }

.form-control:focus,
.form-select:focus {
    border-color: var(--lms-theme-green) !important
}

.form-check-input:checked {
    background-color: var(--lms-theme-green) !important;
    border-color: var(--lms-theme-green) !important;
    box-shadow: none !important;
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: var(--lms-theme-green) !important;
    border-color: var(--lms-theme-green) !important;
    box-shadow: none !important;
}

.input-group:focus-within {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-color: var(--lms-theme-green) !important;
}

.input-group:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-color: var(--lms-theme-green) !important;
}

.input-group:focus-within .form-control, .input-group:focus-within .input-group-text {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-color: var(--lms-theme-green) !important;
}

.bg-menu-theme .menu-inner > .menu-item.active::before {
    background: var(--lms-theme-green) !important;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link, .bg-menu-theme.menu-horizontal .menu-inner > .menu-item.active > .menu-sub > .menu-item.active:not(:has(.menu-sub)) > .menu-link {
    color: var(--lms-theme-green) !important;
    background-color: var(--lms-theme-bg-light-green) !important;
}

.bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle)::before {
    background-color: var(--lms-theme-green) !important;
}

.bg-footer-theme .footer-link {
    color: var(--lms-theme-green) !important;
}

    .bg-footer-theme .footer-link:hover {
        color: var(--lms-theme-light-green) !important;
    }

.initials-avatar {
    background-color: var(--lms-theme-light-green) !important;
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-transform: uppercase;
}

.text-overflow-ellipsis {
    text-overflow: ellipsis !important;
}

.bg-success {
    background-color: var(--lms-theme-green) !important;
}

.bg-success-light {
    background-color: var(--lms-theme-light-green) !important;
}

.bg-success-lighter {
    background-color: var(--lms-theme-bg-light-green) !important;
}

.text-success {
    color: var(--lms-theme-green) !important;
}

.text-success-light {
    color: var(--lms-theme-light-green) !important;
}

.app-brand .layout-menu-toggle {
    background-color: var(--lms-theme-green) !important;
}

.page-item {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

    .page-item.active .page-link, .page-item.active .page-link:hover, .page-item.active .page-link:focus, .pagination li.active > a:not(.page-link), .pagination li.active > a:not(.page-link):hover, .pagination li.active > a:not(.page-link):focus {
        border-color: var(--lms-theme-green) !important;
        background-color: var(--lms-theme-green) !important;
    }

.bg-label-success {
    background-color: var(--lms-theme-bg-light-green) !important;
    color: var(--lms-theme-green) !important;
}

.toast {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.bg-success.toast, .bg-success.bs-toast {
    background-color: var(--lms-theme-green) !important;
}

    .bg-success.toast .toast-header .btn-close, .bg-success.bs-toast .toast-header .btn-close {
        background-color: var(--lms-theme-green) !important;
    }

.dropdown-item:not(.disabled).active, .dropdown-item:not(.disabled):active {
    background-color: var(--lms-theme-bg-light-green) !important;
    color: var(--lms-theme-green) !important;
}


#text-container {
    max-width: 500px; /* Set maximum width */
    overflow: hidden; /* Hide overflow */
}

    #text-container p {
        margin: 0; /* Reset margin */
    }


.select2-container--default.select2-container--focus .select2-selection, .select2-container--default.select2-container--open .select2-selection {
    border-color: var(--lms-theme-green) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--lms-theme-bg-light-green) !important;
    color: var(--lms-theme-green) !important;
}

.select2-dropdown {
    border: 1px solid var(--lms-theme-green) !important;
}

.select2-search__field:focus-visible {
    /*border: 1px solid var(--lms-theme-green) !important;*/
}


.barcode-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.barcode-item {
    flex: 1 1 3cm; /* Fixed size for each bar code */
    height: 2cm;
    max-width: 3cm;
    padding: 0;
    margin: 0;
    text-align: center;
}

    .barcode-item h4 {
        font-size: 8px;
        margin: 0;
        line-height: 1.1;
    }

@media print {
    @page {
        size: portrait;
        margin: 0;
    }

    body {
        margin: 0;
        padding: 0;
    }
}


@media (min-width: 768px) { /* lg breakpoint */
    .summary-card-for-border-end {
        border-right: 1px solid #dee2e6; /* Default border color */
    }
}

.nav-link.active {
    color: var(--lms-theme-green) !important;
}

.buy-now .btn-buy-now {
    bottom: 4rem;
}

.hero {
    width: 100%;
    min-height: 70vh;
    position: relative;
    padding: 50px 20px 50px 20px;
    display: flex;
    align-items: center;
    background-color: var(--lms-theme-bg-light-green);
}

.enroll-btn {
    box-shadow: var(--lms-theme-green) 0px 1px 15px 1px !important;
}

/* Custom alert style for green theme */
.alert-custom {
    background-color: #28a745; /* Green background */
    color: white; /* White text for contrast */
    border-color: #218838; /* Slightly darker green for the border */
}

    .alert-custom a {
        color: #d4edda; /* Lighter green color for links */
        text-decoration:underline;
    }

        .alert-custom a:hover {
            color: #ffffff; /* White color on hover for links */
        }

    .alert-custom .bx-link-external {
        color: #ffffff; /* Link icon color */
    }
