/* Custom Color Override for Bootstrap Components */
/* Primary Green Theme */

/* Buttons */
.btn-primary {
    background-color: rgba(37, 79, 16, 1) !important;
    border-color: rgba(37, 79, 16, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: rgba(151, 160, 102, 1) !important;
    border-color: rgba(151, 160, 102, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.btn-success {
    background-color: rgba(37, 79, 16, 1) !important;
    border-color: rgba(37, 79, 16, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: rgba(151, 160, 102, 1) !important;
    border-color: rgba(151, 160, 102, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.btn-warning {
    background-color: rgba(151, 160, 102, 1) !important;
    border-color: rgba(151, 160, 102, 1) !important;
    color: rgba(37, 79, 16, 1) !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: rgba(37, 79, 16, 1) !important;
    border-color: rgba(37, 79, 16, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.btn-danger {
    background-color: rgba(151, 160, 102, 1) !important;
    border-color: rgba(151, 160, 102, 1) !important;
    color: rgba(37, 79, 16, 1) !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: rgba(37, 79, 16, 1) !important;
    border-color: rgba(37, 79, 16, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

/* Badges */
.badge.bg-success {
    background-color: rgba(37, 79, 16, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.badge.bg-danger {
    background-color: rgba(151, 160, 102, 1) !important;
    color: rgba(37, 79, 16, 1) !important;
}

.badge.bg-primary {
    background-color: rgba(37, 79, 16, 1) !important;
    color: rgba(239, 241, 232, 1) !important;
}

.badge.bg-warning {
    background-color: rgba(151, 160, 102, 1) !important;
    color: rgba(37, 79, 16, 1) !important;
}

/* Form Controls */
.form-control:focus {
    border-color: rgba(37, 79, 16, 1) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 79, 16, 0.25) !important;
}

.form-select:focus {
    border-color: rgba(37, 79, 16, 1) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 79, 16, 0.25) !important;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(151, 160, 102, 0.1) !important;
}

.table-bordered {
    border-color: rgba(151, 160, 102, 1) !important;
}

.table-bordered th,
.table-bordered td {
    border-color: rgba(151, 160, 102, 1) !important;
}

/* Cards */
.card {
    background-color: rgba(239, 241, 232, 1) !important;
    border-color: rgba(151, 160, 102, 1) !important;
}

.card-header {
    background-color: rgba(151, 160, 102, 1) !important;
    border-bottom-color: rgba(37, 79, 16, 1) !important;
    color: rgba(37, 79, 16, 1) !important;
}

/* Modal */
.modal-header {
    background-color: rgba(151, 160, 102, 1) !important;
    border-bottom-color: rgba(37, 79, 16, 1) !important;
    color: rgba(37, 79, 16, 1) !important;
}

.modal-footer {
    background-color: rgba(239, 241, 232, 1) !important;
    border-top-color: rgba(151, 160, 102, 1) !important;
}

/* Links */
a {
    color: rgba(37, 79, 16, 1) !important;
}

a:hover {
    color: rgba(151, 160, 102, 1) !important;
}

/* Text Colors */
.text-primary {
    color: rgba(37, 79, 16, 1) !important;
}

.text-success {
    color: rgba(37, 79, 16, 1) !important;
}

.text-warning {
    color: rgba(151, 160, 102, 1) !important;
}

.text-danger {
    color: rgba(151, 160, 102, 1) !important;
}

/* Background Colors */
.bg-primary {
    background-color: rgba(37, 79, 16, 1) !important;
}

.bg-success {
    background-color: rgba(37, 79, 16, 1) !important;
}

.bg-warning {
    background-color: rgba(151, 160, 102, 1) !important;
}

.bg-danger {
    background-color: rgba(151, 160, 102, 1) !important;
}

/* Custom utility classes */
.bg-light-green {
    background-color: rgba(239, 241, 232, 1) !important;
}

.bg-medium-green {
    background-color: rgba(151, 160, 102, 1) !important;
}

.bg-dark-green {
    background-color: rgba(37, 79, 16, 1) !important;
}

.text-light-green {
    color: rgba(239, 241, 232, 1) !important;
}

.text-medium-green {
    color: rgba(151, 160, 102, 1) !important;
}

.text-dark-green {
    color: rgba(37, 79, 16, 1) !important;
}

.border-light-green {
    border-color: rgba(151, 160, 102, 1) !important;
}

.border-dark-green {
    border-color: rgba(37, 79, 16, 1) !important;
}


