.neo-card.card {
    .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .card-header-title .neo-icon {
            margin-right: 0.5rem;
        }

        .card-header-right-section {
            display: inline-flex;
            align-items: center;
            margin: -10px 0;

            .card-expand-indicator {
                margin-left: 0.5rem;
            }
        }
    }

    &.card-collapsible {
        .card-header {
            &:hover {       
                cursor: pointer;
            }
        }
    }

    .card-footer {
        border-top: 0;
        background-color: inherit;
    }
    
    .card-body {
        &:has(+ .card-footer) {
            border-bottom: 0;
        }
    }

    &.card--with-description {
        .card-header {
            border-bottom: 1px solid $offGrey;
            .card-header-title {
                display: flex;
                align-items: center;

                .neo-icon {
                    margin-right: 1rem;
                }
            }
        }
        
        .card-title-description {
            font-size: 14px;
            line-height: 1.2;
            margin-top: 0.25rem;
            font-weight: normal;
            color: $text-muted;
        }
    }
}