.text-justify {
    text-align: justify !important;
}

.card-footer {
    border-top: 1px dashed rgba(0, 0, 0, 0.125) !important;
    padding: 0.75rem 1rem !important;
}

.glossary-terms-header-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
}

/* Term tags badges */
.glossary-terms-term-tags .badge {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem !important;
    }



    .glossary-terms-term-header .badge {
        margin-top: 0.5rem;
    }

    .card-footer {
        padding: 0.75rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Filter margin */
    .glossary-terms-search-wrapper,
    .glossary-terms-category-wrapper,
    .glossary-terms-status-wrapper {
        margin-bottom: 1rem !important;
    }

    .btn-group {
        flex-wrap: wrap;
    }

    .btn-group .btn {
        flex: 1 1 auto;
        white-space: nowrap;
    }

    .modal-dialog {
        margin: 1rem !important;
    }

    .glossary-terms-benefit-item {
        padding: 8px !important;
    }

    .glossary-terms-benefit-item p {
        font-size: 0.9rem !important;
    }
}

/* Progress bar */
.progress {
    border-radius: 1rem !important;
    background-color: #e9ecef !important;
}

.progress-bar {
    border-radius: 1rem !important;
    transition: width 0.6s ease !important;
}

/* Modal */
.glossary-terms-modal-content {
    border-radius: 15px !important;
}

.modal-header {
    border-bottom: 2px solid #f8f9fa !important;
}

.modal-footer {
    border-top: 2px solid #f8f9fa !important;
}

/* Benefit items */
.glossary-terms-benefit-item {
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.glossary-terms-benefit-item:hover {
    background-color: #f8f9fa;
}

.glossary-terms-benefit-item h6 {
    margin-bottom: 10px;
}

.glossary-terms-benefit-item p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Empty state */
.glossary-terms-empty-state i {
    font-size: 3rem;
}